{"id":"CVE-2025-71308","summary":"accel/amdxdna: Fix potential NULL pointer dereference in context cleanup","details":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/amdxdna: Fix potential NULL pointer dereference in context cleanup\n\naie_destroy_context() is invoked during error handling in\naie2_create_context(). However, aie_destroy_context() assumes that the\ncontext's mailbox channel pointer is non-NULL. If mailbox channel\ncreation fails, the pointer remains NULL and calling aie_destroy_context()\ncan lead to a NULL pointer dereference.\n\nIn aie2_create_context(), replace aie_destroy_context() with a function\nwhich request firmware to remove the context created previously.","modified":"2026-07-08T08:12:44.267258277Z","published":"2026-05-27T12:15:02.207Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71308.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2611c9616cb52d3ed54a6095d72d18e645a6955a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/97f27573837ef96b4ba42af463cc800cab615c0e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71308.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71308"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"be462c97b7dfd24999babe39cce3de224ebe1f80"},{"fixed":"2611c9616cb52d3ed54a6095d72d18e645a6955a"},{"fixed":"97f27573837ef96b4ba42af463cc800cab615c0e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71308.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.14.0"},{"fixed":"6.19.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71308.json"}}],"schema_version":"1.7.5"}