accel/amdxdna: Fix possible use-after-free when freeing device BO
- CVE-2026-139774
- GHSA-xqgh-cx7r-gfg5
- EUVD-2026-139480
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.
Text from the CVE.org record.
Recommendation
Linux
- If you run a version from 6.18.57 to before 6.19update to 6.19 or laterMinor version change: check the release notes
Some affected versions have no stated fix.
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Linux
Affected versions Fixed in from 6.18.57 to before 6.19 6.19 7.2 none stated before 7.2: not affected none stated from 7.3.6 up to 7.3.*: not affected none stated from 7.4-rc1 onwards: not affected none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.