# CVE-2025-71308: accel/amdxdna: Fix potential NULL pointer dereference in context cleanup

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-05-27T12:15:02.207Z
- Modified: 2026-10-15T11:17:17.217Z
- Weaknesses: CWE-476
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from be462c97b7dfd24999babe39cce3de224ebe1f80 before b569ff8a1bc1bcd4fdc6fd334604a654f61237a1; from be462c97b7dfd24999babe39cce3de224ebe1f80 before 2611c9616cb52d3ed54a6095d72d18e645a6955a; from be462c97b7dfd24999babe39cce3de224ebe1f80 before 97f27573837ef96b4ba42af463cc800cab615c0e; 6.14 (not affected: before 6.14; from 6.18.57 up to 6.18.*; from 6.19.4 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.14 before 6.19.4

## References

- <https://git.kernel.org/stable/c/b569ff8a1bc1bcd4fdc6fd334604a654f61237a1>
- <https://git.kernel.org/stable/c/2611c9616cb52d3ed54a6095d72d18e645a6955a> (patch)
- <https://git.kernel.org/stable/c/97f27573837ef96b4ba42af463cc800cab615c0e> (patch)

## Sources

- CVE List: [CVE-2025-71308](https://www.cve.org/CVERecord?id=CVE-2025-71308), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-71308](https://nvd.nist.gov/vuln/detail/CVE-2025-71308), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-71308 · Whole record: https://cve.day/CVE-2025-71308.json · Rebuilt by cve.day 2026-11-25T22:59:12.229Z
