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.
Published: 2026-05-27
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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, EPSS, and KEV metrics are not published for this vulnerability, so the severity cannot be quantified from the available data. 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.

Generated by OpenCVE AI on May 27, 2026 at 16:13 UTC.

Remediation

No vendor fix or workaround currently provided.

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 May 27, 2026 at 16:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 27 May 2026 14:15:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-27T12:15:02.207Z

Reserved: 2026-05-08T13:14:33.088Z

Link: CVE-2025-71308

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-27T14:16:43.403

Modified: 2026-05-27T14:48:31.480

Link: CVE-2025-71308

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-27T16:15:05Z

Weaknesses

No weakness.