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

accel/amdxdna: reject a command chain that carries no commands

A chain whose command_count is zero passes the payload length check,
because struct_size(payload, data, 0) is just the header. The fill loop
then does not run, so offset stays zero and the request is submitted with
a zero-length buffer.

On firmware without AIE2_NPU_COMMAND that ends at the opcode check, since
op is still ERT_INVALID_CMD and aie2_get_chain_msg_op() answers
MSG_OP_MAX_OPCODE. aie2_get_npu_chain_msg_op() answers
MSG_OP_CHAIN_EXEC_NPU whatever it is given, so there the submission
continues to drm_clflush_virt_range(cmd_buf, 0), which reads the byte
before the buffer and faults on the vmap guard page. EXEC_CMD is
reachable by any process that can open the render node.

Reject the request instead.
Published: 2026-09-25
Score: n/a
EPSS: n/a
KEV: No
Impact: Denial of Service via kernel crash
Action: Apply patch
AI Analysis

Impact

Zero‑length command chains in the Linux AMDX DNA accelerator bypass the normal payload length check. The driver then submits a request with a buffer of length zero, causing the memory copy loop to skip entirely. When the firmware processes the empty command chain, it reads a byte immediately before the buffer and faults on the virtual memory guard page. An attacker who can open a render node can trigger this fault, leading to a kernel panic and a system crash.

Affected Systems

All Linux kernels that include the accel/amdxdna driver are potentially affected, regardless of vendor distribution. No specific version information is supplied; administrators should verify whether their deployed kernel contains the recent fix that rejects empty command chains, which has been incorporated in newer upstream releases.

Risk and Exploitability

The CVSS score is not provided, and the EPSS score is not available. The vulnerability is not listed in the CISA KEV catalog. The flaw can be exercised locally by any process with access to a render node, without requiring elevated privileges. Exploitation results in a kernel fault and system crash. There is no indication from the advisory that the fault provides privilege escalation or arbitrary code execution.

Generated by OpenCVE AI on September 25, 2026 at 12:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the AMDX DNA driver fix for empty command chains.
  • If a kernel upgrade cannot be performed immediately, restrict access to the render nodes (e.g., /dev/dri/render*) by setting file permissions to allow only privileged users or by applying SELinux/AppArmor rules.
  • Monitor vendor advisories for firmware or microcode updates that may address this issue on affected GPUs.

Generated by OpenCVE AI on September 25, 2026 at 12:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Fri, 25 Sep 2026 10:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: reject a command chain that carries no commands A chain whose command_count is zero passes the payload length check, because struct_size(payload, data, 0) is just the header. The fill loop then does not run, so offset stays zero and the request is submitted with a zero-length buffer. On firmware without AIE2_NPU_COMMAND that ends at the opcode check, since op is still ERT_INVALID_CMD and aie2_get_chain_msg_op() answers MSG_OP_MAX_OPCODE. aie2_get_npu_chain_msg_op() answers MSG_OP_CHAIN_EXEC_NPU whatever it is given, so there the submission continues to drm_clflush_virt_range(cmd_buf, 0), which reads the byte before the buffer and faults on the vmap guard page. EXEC_CMD is reachable by any process that can open the render node. Reject the request instead.
Title accel/amdxdna: reject a command chain that carries no commands
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-09-25T10:36:19.692Z

Reserved: 2026-09-25T10:25:14.319Z

Link: CVE-2026-98145

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:46.043

Modified: 2026-09-25T11:17:46.043

Link: CVE-2026-98145

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T15:00:17Z

Weaknesses
  • CWE-20

    Improper Input Validation