Linux
accel/amdxdna: Hold mm structure across iommu_sva_unbind_device()
In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Hold mm structure across iommu_sva_unbind_device() Some tests trigger a crash in iommu_sva_unbind_device() due to accessing iommu_mm after the associated mm structure has been freed. Fix this by taking an explicit reference to the mm structure after successfully binding the device, and releasing it only after the device is unbound. This ensures the mm remains valid for the entire SVA bind/unbind lifetime.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= be462c97b7dfd24999babe39cce3de224ebe1f80, < f6b4c1d98a7b8040d4d02e89425b3942016a2c2c
- >= be462c97b7dfd24999babe39cce3de224ebe1f80, < f31ccf6278132a35a652fe5eeac3941e1e912398
- >= be462c97b7dfd24999babe39cce3de224ebe1f80, < a9162439ad792afcddc04718408ec1380b7a5f63
Fixed in f6b4c1d98a7b8040d4d02e89425b3942016a2c2c, f31ccf6278132a35a652fe5eeac3941e1e912398, a9162439ad792afcddc04718408ec1380b7a5f63
- 6.14
Fixed in 0, 6.18.14, 6.19.4, 7.0
Mitigation
Upgrade Linux to f6b4c1d98a7b8040d4d02e89425b3942016a2c2c or f31ccf6278132a35a652fe5eeac3941e1e912398 or a9162439ad792afcddc04718408ec1380b7a5f63 or later.
Upgrade Linux to 0 or 6.18.14 or 6.19.4 or 7.0 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.