CVE-2026-98324·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: dmaengine: pxa: fix double counting of the hw descriptors pxad_alloc_desc() was converted from kzalloc(struct_size(sw_desc, hw_desc, nb_hw_desc), GFP_NOWAIT) to kzalloc_flex(), which sets the __counted_by() counter sw_desc->nb_desc itself - but only where the compiler has __builtin_counted_by_ref(), so from gcc 15.1 or clang 22.1 on. The loop below it still increments nb_desc, which makes it come out doubled there and correct elsewhere. nb_desc is what pxad_free_desc() iterates over and what set_updater_desc() indexes from, so set it explicitly and drop the increment. The error path has to lower it to the number of descriptors allocated so far, otherwise pxad_free_desc() would free entries that were never allocated.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.2.8, 7.3
- Published
How to fix this CVE
Update your Linux kernel to version 7.2.8 or later in the stable branch you currently run, or upgrade to mainline 7.3+. This vulnerability affects the DMA engine descriptor allocation logic, causing incorrect memory accounting in the pxa driver. If your distribution provides a patched kernel package, prioritize installing that over a manual kernel upgrade to maintain system stability and compatibility.
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 fixed versions 7.2.8 or 7.3+
- Step 2: Verify if pxa DMA driver is loaded by running `lsmod | grep pxa` (affects ARM-based systems and embedded hardware primarily)
- Step 3: Search kernel logs for DMA-related errors with `dmesg | grep -i 'dma\|pxa\|descriptor'` to identify potential descriptor allocation failures
- Step 4: After patching, confirm the kernel is running the fixed version with `uname -r` and check for absence of DMA allocation errors in `journalctl -b -p err`
FAQ
What is CVE-2026-98324?
This vulnerability involves a double-counting error in the Linux kernel's pxa DMA engine descriptor allocation routine. The bug causes the descriptor counter to be incremented twice in newer compiler versions, leading to incorrect memory accounting and potential resource exhaustion or use-after-free conditions.
Is CVE-2026-98324 being actively exploited?
No, this vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog and has no publicly available exploits. However, it still poses a reliability risk and should be patched as part of regular kernel maintenance.
What versions of Kernel are affected by CVE-2026-98324?
All kernel versions prior to 7.2.8 in stable branches and before 7.3 in mainline are vulnerable. Systems running older stable series (e.g., 7.1.x, 7.0.x) are affected unless backports are provided by your distribution.
How do I check if my server is vulnerable to CVE-2026-98324?
Run `uname -r` to get your kernel version. If it is older than 7.2.8 (stable) or 7.3 (mainline), and your system uses the pxa DMA driver (check with `lsmod | grep pxa`), your system is vulnerable.
Does Defensia detect CVE-2026-98324?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel package is installed on a monitored server, CVE-2026-98324 will appear in your dashboard with remediation steps specific to your distribution.
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-98324. Free for 1 server.
Get started free