CVE-2026-139774
Not scored
accel/amdxdna: Fix possible use-after-free when freeing device BO
- Severity
- Not scored
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from dbc8fd7a03cbc0704e8e558a448015f620547a02 before c5b28fa97ba089db6a892e2af4bc6200ce451723, from dbc8fd7a03cbc0704e8e558a448015f620547a02 before 6a1f6cb7593aebcdb4f9022410622128fb23b1a1, 3f63f071bf82b44b9847b28ee9f3d98d973d327e, from 6.18.57 before 6.19, 7.2 Not affected: before 7.2, from 7.3.6 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139774 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-139774 changed 2026-11-30 | Public domain |