accel/amdxdna: Fix potential deadlock in BO open and close callbacks
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
accel/amdxdna: Fix potential deadlock in BO open and close callbacks
In amdxdna_gem_obj_open(), abo->lock is held when calling amdxdna_gem_add_bo_usage(), which then acquires client->mm_lock.
However, the heap update path may acquire these locks in the reverse order, creating a potential deadlock.
Fix this by saving the client pointer locally before acquiring abo->lock, and releasing abo->lock before calling amdxdna_gem_add_bo_usage().
Apply the same change to amdxdna_gem_obj_close().
| Product | Versions |
|---|---|
| Linux Linux | 1f513a3ec3a945efb30c963681ac32ac7b99928b to before d2d4408e6d980ceddd2c801d85ca60dbac4e6835 Affected1f513a3ec3a945efb30c963681ac32ac7b99928b to before 1bc13a9d9366d68ebf7aa12137b362d539b4f0d0 Affected |
| Linux Linux | 7.1 Affectedbefore 7.1 Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.