Description
In the Linux kernel, the following vulnerability has been resolved:

accel/amdxdna: reject user command submission without a command BO

amdxdna_drm_submit_execbuf() passes the user-supplied command BO handle
straight into amdxdna_cmd_submit() with drv_cmd == NULL. When the handle
is AMDXDNA_INVALID_BO_HANDLE (0), the block that fetches job->cmd_bo is
skipped, leaving it NULL, and no check rejects it on the user path (the
!job->cmd_bo guard lives inside the != INVALID branch).

The job is then armed and pushed to the DRM scheduler.
aie2_sched_job_run() takes the drv_cmd == NULL path and calls
amdxdna_cmd_set_state(job->cmd_bo) -> amdxdna_gem_vmap(NULL) ->
to_gobj(NULL)->dev, a NULL pointer dereference in the drm_sched worker.
A process with access to the accel node on a system with a probed AMD NPU
can trigger a kernel oops with a single AMDXDNA_EXEC_CMD ioctl
(cmd_handles = 0).

Only internal driver commands (SYNC_DEBUG_BO / ATTACH_DEBUG_BO)
legitimately pass AMDXDNA_INVALID_BO_HANDLE, and they always set drv_cmd.
Reject the invalid handle for user submissions (drv_cmd == NULL) at the
submit choke point so every user path is covered.

Found by 0sec automated security-research tooling (https://0sec.ai).
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A null‑pointer dereference occurs in the Linux kernel AMD NPU driver when a user submits an EXEC_CMD ioctl with a command buffer handle of AMDXDNA_INVALID_BO_HANDLE (0) and no driver command. The driver fails to reject this invalid handle during the user submission path, causing the job to be queued with a NULL cmd_bo. Later scheduler processing dereferences the NULL pointer, leading to a kernel oops and a crash of the operating system. This loss of control allows a local attacker who can open the accelerator device node to trigger a denial of service. The weakness is a missing validation of user input, resulting in a null‑pointer dereference.

Affected Systems

The kernel module affected is accel/amdxdna, part of the Linux kernel for AMD NPU devices. Any Linux kernel that loads this module and exposes the accelerator device node (e.g., /dev/dri/render*) may be impacted. No specific kernel version is given; the vulnerability applies to all kernels containing the affected code. Systems that do not load the amdxdna module or lack AMD NPU hardware are not affected.

Risk and Exploitability

The CVSS score of 5.5 indicates a moderate impact. EPSS <1% shows a very low probability of exploitation. The vulnerability can be triggered by a local user with access to the accelerator device node; no privilege escalation beyond the current user privileges is required. Although the attacker can cause a kernel crash, the impact is limited to the local machine and is mitigated by restricting device node access or disabling the driver. The vulnerability is not listed in the CISA KEV catalog.

Generated by OpenCVE AI on August 18, 2026 at 04:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the fix for the unchecked command buffer handle in the AMD NPU driver.
  • If an immediate kernel update is unavailable, isolate or remove the AMD NPU device by disabling the amdxdna kernel module or by applying udev rules that prevent user access to the device node.
  • Restrict the device node’s file permissions so that only privileged users (e.g., root or members of a dedicated render group) can invoke IOCTLs on the accelerator device.

Generated by OpenCVE AI on August 18, 2026 at 04:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 03:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-459
CWE-690

Tue, 18 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sat, 15 Aug 2026 08:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-459
CWE-690

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: reject user command submission without a command BO amdxdna_drm_submit_execbuf() passes the user-supplied command BO handle straight into amdxdna_cmd_submit() with drv_cmd == NULL. When the handle is AMDXDNA_INVALID_BO_HANDLE (0), the block that fetches job->cmd_bo is skipped, leaving it NULL, and no check rejects it on the user path (the !job->cmd_bo guard lives inside the != INVALID branch). The job is then armed and pushed to the DRM scheduler. aie2_sched_job_run() takes the drv_cmd == NULL path and calls amdxdna_cmd_set_state(job->cmd_bo) -> amdxdna_gem_vmap(NULL) -> to_gobj(NULL)->dev, a NULL pointer dereference in the drm_sched worker. A process with access to the accel node on a system with a probed AMD NPU can trigger a kernel oops with a single AMDXDNA_EXEC_CMD ioctl (cmd_handles = 0). Only internal driver commands (SYNC_DEBUG_BO / ATTACH_DEBUG_BO) legitimately pass AMDXDNA_INVALID_BO_HANDLE, and they always set drv_cmd. Reject the invalid handle for user submissions (drv_cmd == NULL) at the submit choke point so every user path is covered. Found by 0sec automated security-research tooling (https://0sec.ai).
Title accel/amdxdna: reject user command submission without a command BO
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-08-17T05:08:02.275Z

Reserved: 2026-08-09T03:40:39.905Z

Link: CVE-2026-72091

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:23.180

Modified: 2026-08-17T06:18:08.050

Link: CVE-2026-72091

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72091 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T05:00:09Z

Weaknesses