Linux
accel/amdxdna: Fix potential amdxdna_umap lifetime race
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= e486147c912f653ef4b60a6c7dbd4168a4c56a9f, < 267809e2c56fbea486f7250c8a4acddcc3c54dc5
- >= e486147c912f653ef4b60a6c7dbd4168a4c56a9f, < 91e8109ecffb925b6202d2737384df285b195bfb
- >= e486147c912f653ef4b60a6c7dbd4168a4c56a9f, < 14f172eff9c19f8043a9858845f33cd034f3a41e
Fixed in 267809e2c56fbea486f7250c8a4acddcc3c54dc5, 91e8109ecffb925b6202d2737384df285b195bfb, 14f172eff9c19f8043a9858845f33cd034f3a41e
- 6.16
Fixed in 0, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 267809e2c56fbea486f7250c8a4acddcc3c54dc5 or 91e8109ecffb925b6202d2737384df285b195bfb or 14f172eff9c19f8043a9858845f33cd034f3a41e or later.
Upgrade Linux to 0 or 6.18.40 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.