CVE-2026-98298
dmaengine: mmp_pdma: fix wrong sg length in mmp_pdma_prep_slave_sg()
Check your servers for CVE-2026-98298
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98298 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.37% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, before f448a5f5bd10d792440a1b08cf2e8f311767032d affected from c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, before 2148db529f082d6e3ca95413bf943442f4ef30cc affected from c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, before d920c07aa6d89ec11afdb6976aafaee9563a5234 affected from c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, before 4a33886057e6d127555efb022879c583e966acc5 affected from c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, before 88a505330eb06128f7ce79a4c5e4832b7601b3d1 affected from c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, before bae65e4925928f77824ca0103122e2ed20ef5802 affected from c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, before 54ccc01012a240476edf641bf1a2b8bff54fe6ae affected from c8acd6aa6bed3c0fd7898202f4ebc534db9085f2, before 075bc7b1d3dde5ed43fbaabbc1a69f09b7fc3a47
Other versions: unaffected
|
| Linux |
affected 3.7 unaffected before 3.7 unaffected from 5.10.271 up to and including 5.10.* unaffected from 5.15.222 up to and including 5.15.* unaffected from 6.1.189 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.112 up to and including 6.12.* unaffected from 6.18.54 up to and including 6.18.* unaffected from 7.2.8 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98298 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98298
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98298
trivy image --scanners vuln IMAGE | grep CVE-2026-98298
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/f448a5f5bd10d792440a1b08cf2e8f311767032d git.kernel.org
- https://git.kernel.org/stable/c/2148db529f082d6e3ca95413bf943442f4ef30cc git.kernel.org
- https://git.kernel.org/stable/c/d920c07aa6d89ec11afdb6976aafaee9563a5234 git.kernel.org
- https://git.kernel.org/stable/c/4a33886057e6d127555efb022879c583e966acc5 git.kernel.org
- https://git.kernel.org/stable/c/88a505330eb06128f7ce79a4c5e4832b7601b3d1 git.kernel.org
- https://git.kernel.org/stable/c/bae65e4925928f77824ca0103122e2ed20ef5802 git.kernel.org
- https://git.kernel.org/stable/c/54ccc01012a240476edf641bf1a2b8bff54fe6ae git.kernel.org
- https://git.kernel.org/stable/c/075bc7b1d3dde5ed43fbaabbc1a69f09b7fc3a47 git.kernel.org
Source: the record CVE-2026-98298 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse