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: 5.5 Medium
EPSS: < 1% Very Low
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 5.5, EPSS < 1%. The vulnerability is not listed in CISA KEV. The flaw can be exercised locally by any process with access to a render node, without requiring elevated privileges. Exploitation results in kernel fault and system crash. No indication from the advisory that the fault provides privilege escalation or arbitrary code execution.

Generated by OpenCVE AI on September 30, 2026 at 13:14 UTC.

Remediation

No solution or workaround provided in the CVE record.

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 30, 2026 at 13:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 30 Sep 2026 07:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
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


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 : Awaiting Analysis

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

Modified: 2026-09-30T14:10:59.253

Link: CVE-2026-98145

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-98145 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T13:15:19Z

Weaknesses