# CVE-2026-98298: dmaengine: mmp\_pdma: fix wrong sg length in mmp\_pdma\_prep\_slave\_sg()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-10-06T08:45:56.417Z
- **Modified:** 2026-10-19T10:18:31.620Z

## Who should check

- Anyone running Linux \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< f448a5f5bd10d792440a1b08cf2e8f311767032d; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< 2148db529f082d6e3ca95413bf943442f4ef30cc; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< d920c07aa6d89ec11afdb6976aafaee9563a5234; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< 4a33886057e6d127555efb022879c583e966acc5; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< 88a505330eb06128f7ce79a4c5e4832b7601b3d1; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< bae65e4925928f77824ca0103122e2ed20ef5802; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< 54ccc01012a240476edf641bf1a2b8bff54fe6ae; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< 075bc7b1d3dde5ed43fbaabbc1a69f09b7fc3a47
- Anyone running Linux 3.7

## Description

In the Linux kernel, the following vulnerability has been resolved:

dmaengine: mmp\_pdma: fix wrong sg length in mmp\_pdma\_prep\_slave\_sg()

In mmp\_pdma\_prep\_slave\_sg(), for\_each\_sg() iterates the scatterlist
putting each entry into 'sg', but the entry length is read from 'sgl'
(the list head) instead of 'sg' (the current entry):

    for\_each\_sg(sgl, sg, sg\_len, i) {
        addr = sg\_dma\_address(sg);
        avail = sg\_dma\_len(sgl);   /\* should be 'sg' \*/

Consequently 'avail' is always the length of the first entry. For
multi-sg lists this causes out-of-bounds reads when a later entry is
shorter than the first, and silent data loss when it is longer.
Single-sg or uniformly-sized lists happen to mask the issue.

## Affected and fixed versions

- Linux: \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< f448a5f5bd10d792440a1b08cf2e8f311767032d; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< 2148db529f082d6e3ca95413bf943442f4ef30cc; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< d920c07aa6d89ec11afdb6976aafaee9563a5234; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< 4a33886057e6d127555efb022879c583e966acc5; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< 88a505330eb06128f7ce79a4c5e4832b7601b3d1; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< bae65e4925928f77824ca0103122e2ed20ef5802; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< 54ccc01012a240476edf641bf1a2b8bff54fe6ae; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< 075bc7b1d3dde5ed43fbaabbc1a69f09b7fc3a47 (cvelist)
- Linux: 3.7 (cvelist)

## Mitigation

- Upgrade Linux to 075bc7b1d3dde5ed43fbaabbc1a69f09b7fc3a47 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98298.md
Affected: Linux >= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, < f448a5f5bd10d792440a1b08cf2e8f311767032d; >= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, < 2148db529f082d6e3ca95413bf943442f4ef30cc; >= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, < d920c07aa6d89ec11afdb6976aafaee9563a5234; >= c8acd6aa6bed3c0fd789820…
Fixed in: Linux 2148db529f082d6e3ca95413bf943442f4ef30cc, Linux 4a33886057e6d127555efb022879c583e966acc5, Linux 88a505330eb06128f7ce79a4c5e4832b7601b3d1, Linux 54ccc01012a240476edf641bf1a2b8bff54fe6ae, Linux 075bc7b1d3dde5ed43fbaabbc1a69f09b7fc3a47

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-98298 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< f448a5f5bd10d792440a1b08cf2e8f311767032d; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< 2148db529f082d6e3ca95413bf943442f4ef30cc; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< d920c07aa6d89ec11afdb6976aafaee9563a5234; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< 4a33886057e6d127555efb022879c583e966acc5; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< 88a505330eb06128f7ce79a4c5e4832b7601b3d1; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< bae65e4925928f77824ca0103122e2ed20ef5802; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< 54ccc01012a240476edf641bf1a2b8bff54fe6ae; \>= c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, \< 075bc7b1d3dde5ed43fbaabbc1a69f09b7fc3a47; Linux 3.7.

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

Yes. Fixed in Linux 2148db529f082d6e3ca95413bf943442f4ef30cc, Linux 4a33886057e6d127555efb022879c583e966acc5, Linux 88a505330eb06128f7ce79a4c5e4832b7601b3d1, Linux 54ccc01012a240476edf641bf1a2b8bff54fe6ae, Linux 075bc7b1d3dde5ed43fbaabbc1a69f09b7fc3a47. Upgrade Linux to 075bc7b1d3dde5ed43fbaabbc1a69f09b7fc3a47 or later.

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

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/f448a5f5bd10d792440a1b08cf2e8f311767032d>
- other: <https://git.kernel.org/stable/c/2148db529f082d6e3ca95413bf943442f4ef30cc>
- other: <https://git.kernel.org/stable/c/d920c07aa6d89ec11afdb6976aafaee9563a5234>
- other: <https://git.kernel.org/stable/c/4a33886057e6d127555efb022879c583e966acc5>
- other: <https://git.kernel.org/stable/c/88a505330eb06128f7ce79a4c5e4832b7601b3d1>
- other: <https://git.kernel.org/stable/c/bae65e4925928f77824ca0103122e2ed20ef5802>
- other: <https://git.kernel.org/stable/c/54ccc01012a240476edf641bf1a2b8bff54fe6ae>
- other: <https://git.kernel.org/stable/c/075bc7b1d3dde5ed43fbaabbc1a69f09b7fc3a47>

## 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-98298>

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