CVE-2026-98146·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Remove __counted_by from struct amdxdna_cmd_chain struct amdxdna_cmd_chain contains a flexible array annotated with __counted_by(command_count). Since the structure is stored in shared AMDXDNA_BO_SHARE memory, userspace can modify command_count concurrently. If command_count is changed to zero, the bounds check generated from __counted_by may fail and trigger a kernel panic. Remove __counted_by to avoid relying on the userspace-controlled command_count for the flexible array bounds check.
- 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.1% — 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: 6.19
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 resolve this vulnerability in the AMDXDNA driver. The issue stems from unsafe reliance on userspace-controlled data for kernel memory bounds checking, which has been corrected in the patched version. Prioritize this update for systems running AMD accelerator hardware to prevent potential kernel panics.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with `uname -r` and compare against the affected range 6.19 to 7.2.6
- Step 2: Verify if AMDXDNA driver is loaded by running `lsmod | grep amdxdna` or `grep amdxdna /proc/modules`
- Step 3: Search kernel logs for panic indicators with `sudo journalctl -p err --since='24 hours ago' | grep -i 'kernel panic\|amdxdna\|bounds'`
- Step 4: After patching, confirm the new kernel is active with `uname -r` and that no __counted_by bounds check warnings appear in `dmesg | tail -50`
FAQ
What is CVE-2026-98146?
This vulnerability allows userspace applications to trigger kernel panic by modifying a flexible array size parameter in shared AMDXDNA GPU driver memory. The kernel was using untrusted userspace data to enforce memory bounds checks, creating a denial-of-service condition.
Is CVE-2026-98146 being actively exploited?
No, this vulnerability is not listed as actively exploited in the CISA Known Exploited Vulnerabilities catalog, and no public exploit code is available.
What versions of Kernel are affected by CVE-2026-98146?
Linux kernel versions 6.19 through 7.2.6 are vulnerable. Systems running kernel 7.2.7 or later are patched.
How do I check if my server is vulnerable to CVE-2026-98146?
Run `uname -r` to get your kernel version and `lsmod | grep amdxdna` to confirm the affected driver is present. If your kernel is between 6.19 and 7.2.6 and amdxdna is loaded, you are vulnerable.
Does Defensia detect CVE-2026-98146?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-98146 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-98146. Free for 1 server.
Get started free