What’s Vulnerable › Vulnerabilities
CVE-2025-71308: accel/amdxdna: Fix potential NULL pointer dereference in context cleanup
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-27 · updated 2026-10-15
- Weakness: CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Fix potential NULL pointer dereference in context cleanup aie_destroy_context() is invoked during error handling in aie2_create_context(). However, aie_destroy_context() assumes that the context's mailbox channel pointer is non-NULL. If mailbox channel creation fails, the pointer remains NULL and calling aie_destroy_context() can lead to a NULL pointer dereference. In aie2_create_context(), replace aie_destroy_context() with a function which request firmware to remove the context created previously.
Affected products
- Linux kernel: from 6.14 before 6.19.4 — fixed in 6.19.4
How to fix
Upgrade to a fixed version: Linux kernel 6.19.4. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2611c9616cb52d3ed54a6095d72d18e645a6955a
- https://git.kernel.org/stable/c/97f27573837ef96b4ba42af463cc800cab615c0e
- https://git.kernel.org/stable/c/b569ff8a1bc1bcd4fdc6fd334604a654f61237a1
Get alerted when CVE-2025-71308 or the next vulnerability affects your stack