accel/amdxdna: Fix potential amdxdna_umap lifetime race
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 14f172eff9c19f8043a9858845f33cd034f3a41e, Kernel 267809e2c56fbea486f7250c8a4acddcc3c54dc5, Kernel 91e8109ecffb925b6202d2737384df285b195bfb and 2 more.
In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Fix potential amdxdna_umap lifetime race amdxdna_umap_release() calls the blocking mmu_interval_notifier_remove() before removing the object from abo->mem.umap_list. If aie2_populate_range() runs concurrently, it may obtain a reference to an amdxdna_umap that is being released, leading to a potential use-after-free. Use kref_get_unless_zero() in aie2_populate_range() when acquiring a reference. If the reference count has already dropped to zero, release is in progress and the entry is skipped.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.16, >=e486147c912f653ef4b60a6c7dbd4168a4c56a9f <14f172eff9c19f8043a9858845f33cd034f3a41e, >=e486147c912f653ef4b60a6c7dbd4168a4c56a9f <267809e2c56fbea486f7250c8a4acddcc3c54dc5, >=e486147c912f653ef4b60a6c7dbd4168a4c56a9f <91e8109ecffb925b6202d2737384df285b195bfb | 14f172eff9c19f8043a9858845f33cd034f3a41e, 267809e2c56fbea486f7250c8a4acddcc3c54dc5, 91e8109ecffb925b6202d2737384df285b195bfb |
| linux-kernel: Kernel | >=6.16.0 <6.18.40, >=6.19.0 <7.1.5 | 6.18.40, 7.1.5 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket