# CVE-2026-98324: dmaengine: pxa: fix double counting of the hw descriptors

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 3, 2026-11-29)
- **Published:** 2026-10-06T08:46:17.919Z
- **Modified:** 2026-10-19T10:18:34.593Z

## Who should check

- Anyone running Linux \>= 69050f8d6d075dc01af7a5f2f550a8067510366f, \< 1de93785f32b450e9eae1e4fcfb7d03eb49eb27e; \>= 69050f8d6d075dc01af7a5f2f550a8067510366f, \< f6504be006aa4bb4bd26285f410a885c17920d65
- Anyone running Linux 7.0

## Description

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.

## Affected and fixed versions

- Linux: \>= 69050f8d6d075dc01af7a5f2f550a8067510366f, \< 1de93785f32b450e9eae1e4fcfb7d03eb49eb27e; \>= 69050f8d6d075dc01af7a5f2f550a8067510366f, \< f6504be006aa4bb4bd26285f410a885c17920d65 (cvelist)
- Linux: 7.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98324. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98324.md
Affected: Linux >= 69050f8d6d075dc01af7a5f2f550a8067510366f, < 1de93785f32b450e9eae1e4fcfb7d03eb49eb27e; >= 69050f8d6d075dc01af7a5f2f550a8067510366f, < f6504be006aa4bb4bd26285f410a885c17920d65; Linux 7.0
Fixed in: Linux 1de93785f32b450e9eae1e4fcfb7d03eb49eb27e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98324 being exploited?

There is no confirmed exploitation: CVE-2026-98324 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2026-98324?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-98324?

Linux \>= 69050f8d6d075dc01af7a5f2f550a8067510366f, \< 1de93785f32b450e9eae1e4fcfb7d03eb49eb27e; \>= 69050f8d6d075dc01af7a5f2f550a8067510366f, \< f6504be006aa4bb4bd26285f410a885c17920d65; Linux 7.0.

### Is there a fix for CVE-2026-98324?

Yes. Fixed in Linux 1de93785f32b450e9eae1e4fcfb7d03eb49eb27e. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-98324?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/1de93785f32b450e9eae1e4fcfb7d03eb49eb27e>
- other: <https://git.kernel.org/stable/c/f6504be006aa4bb4bd26285f410a885c17920d65>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98324>

HTML: <https://flawdb.com/CVE-2026-98324> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98324>
