accel/amdxdna: Fix potential deadlock in BO open and close callbacks
Summary
| CVE | CVE-2026-139701 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:20:00 UTC |
| Updated | 2026-11-30 14:20:00 UTC |
| 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(). |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 1f513a3ec3a945efb30c963681ac32ac7b99928b d2d4408e6d980ceddd2c801d85ca60dbac4e6835 git |
Not specified |
| CNA |
Linux |
Linux |
affected 1f513a3ec3a945efb30c963681ac32ac7b99928b 1bc13a9d9366d68ebf7aa12137b362d539b4f0d0 git |
Not specified |
| CNA |
Linux |
Linux |
affected 7.1 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.1 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/d2d4408e6d980ceddd2c801d85ca60dbac4e6835 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/1bc13a9d9366d68ebf7aa12137b362d539b4f0d0 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.