CVE-2026-98145
Received Received - Intake

Buffer Overflow in Linux Kernel AMDXDNA Driver

Vulnerability report for CVE-2026-98145, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-25

Last updated on: 2026-09-25

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-25
Last Modified
2026-09-25
Generated
2026-09-25
AI Q&A
2026-09-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves a flaw in the amdxdna driver where a command chain with zero commands bypasses checks and submits a request with a zero-length buffer. This leads to a fault when the firmware processes the invalid command, potentially causing system instability or crashes.

Detection Guidance

This vulnerability is specific to the Linux kernel's amdxdna driver and requires kernel-level inspection. Check for crashes or faults in the amdxdna driver logs or kernel messages. Look for processes accessing the render node with invalid commands. Commands like dmesg | grep amdxdna or journalctl -k | grep amdxdna may help identify issues.

Impact Analysis

An attacker with access to the render node could exploit this to cause a system crash or trigger undefined behavior, potentially leading to denial-of-service or privilege escalation. It may also expose memory contents or corrupt kernel memory.

Mitigation Strategies

Update the Linux kernel to the latest patched version that includes the fix for this vulnerability. If immediate patching is not possible, restrict access to the render node to untrusted users to prevent exploitation. Monitor kernel logs for suspicious activity related to the amdxdna driver.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-98145. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart