{"id":"CVE-2026-139774","summary":"accel/amdxdna: Fix possible use-after-free when freeing device BO","details":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/amdxdna: Fix possible use-after-free when freeing device BO\n\nWhen the DRM file descriptor is closed, amdxdna_client_cleanup() frees\nthe client structure. If device BOs are still alive, freeing them may\naccess abo-\u003eclient and result in a use-after-free.\n\nMove amdxdna_gem_heap_free(), which accesses abo-\u003eclient, before clearing\nabo-\u003eclient in the BO close callback. Also track the heap BOs referenced\nby device BOs so they can be accessed without dereferencing abo-\u003eclient.","modified":"2026-11-30T15:02:30.782544398Z","published":"2026-11-30T13:37:52.682Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139774.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6a1f6cb7593aebcdb4f9022410622128fb23b1a1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c5b28fa97ba089db6a892e2af4bc6200ce451723"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139774.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139774"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"dbc8fd7a03cbc0704e8e558a448015f620547a02"},{"fixed":"c5b28fa97ba089db6a892e2af4bc6200ce451723"},{"fixed":"6a1f6cb7593aebcdb4f9022410622128fb23b1a1"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3f63f071bf82b44b9847b28ee9f3d98d973d327e"}]}],"versions":["v6.18.66","v6.18.65","v6.18.64","v6.18.63","v6.18.62","v6.18.61","v6.18.60","v6.18.59","v6.18.58","v6.18.57"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139774.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.18.57"},{"fixed":"6.19"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139774.json"}}],"schema_version":"1.9.2"}