CVE-2025-71308
Analyzed Analyzed - Analysis Complete

NULL Pointer Dereference in Linux Kernel AMD XDNA Driver

Vulnerability report for CVE-2025-71308, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-05-27

Last updated on: 2026-06-25

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-05-27
Last Modified
2026-06-25
Generated
2026-07-06
AI Q&A
2026-05-27
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel From 6.14 (inc) to 6.19.4 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-476 The product dereferences a pointer that it expects to be valid but is NULL.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Mitigation Strategies

The vulnerability has been resolved in the Linux kernel by replacing the function aie_destroy_context() with a safer function that requests firmware to remove the context instead of assuming a non-NULL mailbox channel pointer.

To mitigate this vulnerability immediately, you should update your Linux kernel to the version that includes this fix.

Executive Summary

This vulnerability exists in the Linux kernel within the accel/amdxdna component. Specifically, the function aie_destroy_context() is called during error handling in aie2_create_context(). However, aie_destroy_context() assumes that the context's mailbox channel pointer is not NULL. If the mailbox channel creation fails, this pointer remains NULL, and calling aie_destroy_context() leads to a NULL pointer dereference, which can cause the kernel to crash or behave unexpectedly.

The fix involves replacing the call to aie_destroy_context() in aie2_create_context() with a function that requests firmware to remove the previously created context, avoiding the NULL pointer dereference.

Impact Analysis

This vulnerability can cause a NULL pointer dereference in the Linux kernel, which may lead to system crashes or instability. Such crashes can result in denial of service, affecting system availability and reliability.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-71308. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart