Linux
accel/amdxdna: Fix iommu domain lifetime race during device removal
In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Fix iommu domain lifetime race during device removal When force_iova mode is enabled, amdxdna_remove() frees xdna->domain. If amdxdna_gem_obj_free() is called after device removal, it may attempt to access xdna->domain, resulting in a use-after-free. Fix the race by adding freeing xdna->domain as a managed release action, so its lifetime is managed by DRM and remains valid until all managed resources are released.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= ece3e8980907818c72dc9faa7bbaf40488ef1824, < 65e7e2b8d71b418439ebc68e80ed3e5a325375d6
- >= ece3e8980907818c72dc9faa7bbaf40488ef1824, < b4a0500fdf6e61a6c5f92ff2e61bc91578075803
Fixed in 65e7e2b8d71b418439ebc68e80ed3e5a325375d6, b4a0500fdf6e61a6c5f92ff2e61bc91578075803
- 7.1
Fixed in 0, 7.1.5, 7.2
Mitigation
Upgrade Linux to 65e7e2b8d71b418439ebc68e80ed3e5a325375d6 or b4a0500fdf6e61a6c5f92ff2e61bc91578075803 or later.
Upgrade Linux to 0 or 7.1.5 or 7.2 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.