{"id":"CVE-2025-71308","aliases":["CVE-2025-71308"],"related":[],"kind":"vulnerability","state":"published","title":"accel/amdxdna: Fix potential NULL pointer dereference in context cleanup","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\naccel/amdxdna: Soluciona la posible desreferencia de puntero NULL en la limpieza de contexto\n\naie_destroy_context() es invocada durante el manejo de errores en aie2_create_context(). Sin embargo, aie_destroy_context() asume que el puntero del canal de buzón del contexto no es NULL. Si la creación del canal de buzón falla, el puntero permanece NULL y llamar a aie_destroy_context() puede llevar a una desreferencia de puntero NULL.\n\nEn aie2_create_context(), reemplace a aie_destroy_context() con una función que solicita al firmware que elimine el contexto creado previamente.","source":"nvd"}],"published":"2026-05-27T12:15:02.207Z","modified":"2026-10-15T11:17:17.217Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"be462c97b7dfd24999babe39cce3de224ebe1f80","fixed":"b569ff8a1bc1bcd4fdc6fd334604a654f61237a1","status":"affected"},{"type":"git","introduced":"be462c97b7dfd24999babe39cce3de224ebe1f80","fixed":"2611c9616cb52d3ed54a6095d72d18e645a6955a","status":"affected"},{"type":"git","introduced":"be462c97b7dfd24999babe39cce3de224ebe1f80","fixed":"97f27573837ef96b4ba42af463cc800cab615c0e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.4","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.14","fixed":"6.19.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b569ff8a1bc1bcd4fdc6fd334604a654f61237a1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2611c9616cb52d3ed54a6095d72d18e645a6955a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/97f27573837ef96b4ba42af463cc800cab615c0e","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-71308","url":"https://www.cve.org/CVERecord?id=CVE-2025-71308","licence":"CVE Terms of Use","modified":"2026-10-15T10:06:54.040Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-71308","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71308","licence":"Public domain","modified":"2026-10-15T11:17:17.217Z"}],"updatedAt":"2026-11-25T22:59:12.229Z","epss":{"score":0.00154,"percentile":0.04739,"date":"2026-12-01T12:00:22.000Z"}}