accel/amdxdna: Fix iommu domain lifetime race during device removal
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 65e7e2b8d71b418439ebc68e80ed3e5a325375d6 and Kernel b4a0500fdf6e61a6c5f92ff2e61bc91578075803.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =7.1, >=ece3e8980907818c72dc9faa7bbaf40488ef1824 <65e7e2b8d71b418439ebc68e80ed3e5a325375d6, >=ece3e8980907818c72dc9faa7bbaf40488ef1824 <b4a0500fdf6e61a6c5f92ff2e61bc91578075803 | 65e7e2b8d71b418439ebc68e80ed3e5a325375d6, b4a0500fdf6e61a6c5f92ff2e61bc91578075803 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket