# CVE-2026-139774: accel/amdxdna: Fix possible use-after-free when freeing device BO

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-11-30T13:37:52.682Z
- Modified: 2026-11-30T14:20:10.477Z
- 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.

(As written by CVE List.)

## Affected

- 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 *)

## References

- <https://git.kernel.org/stable/c/c5b28fa97ba089db6a892e2af4bc6200ce451723>
- <https://git.kernel.org/stable/c/6a1f6cb7593aebcdb4f9022410622128fb23b1a1>

## Sources

- CVE List: [CVE-2026-139774](https://www.cve.org/CVERecord?id=CVE-2026-139774), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139774](https://nvd.nist.gov/vuln/detail/CVE-2026-139774), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139774 · Whole record: https://cve.day/CVE-2026-139774.json · Rebuilt by cve.day 2026-11-30T14:33:42.584Z
