CVE-2026-98145·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.2.7
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.10% — in the bottom 1% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 7.1
Until: 7.2.7
Fixed in: 7.2.7
How to fix this CVE
Update your Linux kernel to version 7.2.7 or later to patch a denial-of-service vulnerability in the AMD XDNA accelerator driver. This fix prevents malicious or malformed command chains with zero commands from reaching the firmware and causing kernel faults. Users with AMD XDNA hardware and render node access should prioritize this update.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to check your current kernel version; versions 7.1.x through 7.2.6 are vulnerable
- Check if AMD XDNA hardware is present via 'lspci | grep -i amdxdna' or 'cat /proc/devices | grep amdxdna'
- Search kernel logs for 'aie2' or 'accel/amdxdna' errors: grep -i 'aie2\|amdxdna' /var/log/kern.log
- Verify the patch is applied by checking if kernel commit ed74e8d603df457bfcf16ed4f8f1660a1525759e is in your kernel build: grep -r 'ed74e8d603df' /boot/ 2>/dev/null || (cd /usr/src/linux && git log --oneline | grep ed74e8d)
FAQ
What is CVE-2026-98145?
This vulnerability in the Linux kernel AMD XDNA accelerator driver allows a local attacker with render node access to submit empty command chains that bypass validation checks and trigger a kernel fault through an out-of-bounds memory read operation.
Is CVE-2026-98145 being actively exploited?
No, this vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are documented.
What versions of Kernel are affected by CVE-2026-98145?
Linux kernel versions 7.1.0 through 7.2.6 are vulnerable. Kernel 7.2.7 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-98145?
Run 'uname -r' and verify your version is not in the 7.1.x–7.2.6 range. If you have AMD XDNA accelerators, also confirm 'lspci | grep -i amdxdna' returns results and you have render node permissions.
Does Defensia detect CVE-2026-98145?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-98145 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98145. Free for 1 server.
Get started free