accel/amdxdna: Fix possible use-after-free when freeing device BO
Summary
| CVE | CVE-2026-139774 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:20:10 UTC |
| Updated | 2026-11-30 14:20:10 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
accel/amdxdna: Fix possible use-after-free when freeing device BO
When the DRM file descriptor is closed, amdxdna_client_cleanup() frees
the client structure. If device BOs are still alive, freeing them may
access abo->client and result in a use-after-free.
Move amdxdna_gem_heap_free(), which accesses abo->client, before clearing
abo->client in the BO close callback. Also track the heap BOs referenced
by device BOs so they can be accessed without dereferencing abo->client. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected dbc8fd7a03cbc0704e8e558a448015f620547a02 c5b28fa97ba089db6a892e2af4bc6200ce451723 git |
Not specified |
| CNA |
Linux |
Linux |
affected dbc8fd7a03cbc0704e8e558a448015f620547a02 6a1f6cb7593aebcdb4f9022410622128fb23b1a1 git |
Not specified |
| CNA |
Linux |
Linux |
affected 3f63f071bf82b44b9847b28ee9f3d98d973d327e git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.18.57 6.19 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 7.2 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.2 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/c5b28fa97ba089db6a892e2af4bc6200ce451723 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/6a1f6cb7593aebcdb4f9022410622128fb23b1a1 |
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.