CVE-2025-71308

accel/amdxdna: Fix potential NULL pointer dereference in context cleanup

Published May 27, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A bug in the Linux kernel’s AMD XDNA acceleration module causes a potential NULL pointer dereference when the error cleanup routine is invoked for a context whose mailbox channel failed to be created. If the context cleanup routine assumes that the mailbox channel pointer is always non‑NULL, the failure of the pointer creation leads to a kernel dereference that can crash the system. The impact of this flaw is a system crash and denial of service. The issue is a classic case of a NULL pointer dereference (CWE‑476) and would be exploitable only in scenarios where attacker‑controlled code or configurations can trigger a failed context creation inside the kernel.

Affected Systems

The flaw resides in the Linux kernel, specifically the accel/amdxdna subsystem. Any system running a kernel that includes the unpatched accel/amdxdna code is affected; the CNA vendors list simply references the Linux operating system. No precise version range is supplied in the CVE record, but the fix is present in the kernel commits referenced in the advisory (sha‑s 2611c9616cb5… and 97f27573837e…).

Risk and Exploitability

The CVSS score is 5.5, and the EPSS score of less than 1% indicates a very low but nonzero probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is local; an attacker with the ability to invoke the AMD XDNA context creation path inside the kernel (for example, a privileged application or a driver that loads the accel module) could trigger the faulty error handling. Because the flaw results in a NULL pointer dereference during kernel cleanup, the most immediate risk is a kernel panic that disrupts availability. Without a publicly detailed exploit, the attack is considered targeted against systems using the affected kernel module.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that includes the accel/amdxdna fix (commit 2611c9616cb5 or 97f27573837e).
  • Reboot the system to activate the new kernel and ensure the recent commits are loaded.
  • Temporarily unload or block the accel/amdxdna module until the patch is applied, if immediate reboot is not possible.

Generated by OpenCVE AI on August 12, 2026 at 00:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title accel/amdxdna: Fix potential NULL pointer dereference in context cleanup
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 15, 2026, 10:06 AM
Reserved
May 8, 2026, 1:14 PM
Status
Modified
Published
May 27, 2026, 2:16 PM
Modified
Oct 15, 2026, 11:17 AM
Severity
Public date
May 27, 2026, 12:00 AM