CVE-2026-98242
dma-buf: Fix silent overflow for phys vec to sgt
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 3aa31a8bb11e47c0ff2b306988d1756b810c1c3c, < 6b98fd7106d4e486f432664893dcd4d6fa3a9693; >= 3aa31a8bb11e47c0ff2b306988d1756b810c1c3c, < b344ca94e8cc85796f16ea25e2e5a8e0303fe813
- Anyone running Linux 6.19
Vulnerability facts
- Affected
- Linux >= 3aa31a8bb11e47c0ff2b306988d1756b810c1c3c, < 6b98fd7106d4e486f432664893dcd4d6fa3a9693; >= 3aa31a8bb11e47c0ff2b306988d1756b810c1c3c, < b344ca94e8cc85796f16ea25e2e5a8e0303fe813; Linux 6.19
- Fixed in
- Linux 6b98fd7106d4e486f432664893dcd4d6fa3a9693
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.20% chance of exploitation in 30 days (percentile 5, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: dma-buf: Fix silent overflow for phys vec to sgt In case MMIO size is bigger than 4G and peer2peer DMA goes through host bridge, we trigger a code path that assigns the total linked IOVA (which is greater than 4G) to mapped_len. Previously, `mapped_len` was declared as 32-bit `unsigned int`. When accumulating `size_t` lengths, this leads to a silent wrap-around. This truncation causes truncated lengths to be passed to functions like `fill_sg_entry()`. Fix this by changing `mapped_len` to `size_t` (64-bit). While at it, fix similar potential overflow issues in `calc_sg_nents` by using `check_add_overflow()` for `nents` and using `unsigned int` for the loop iterator in `fill_sg_entry` to match.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98242. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98242.md Affected: Linux >= 3aa31a8bb11e47c0ff2b306988d1756b810c1c3c, < 6b98fd7106d4e486f432664893dcd4d6fa3a9693; >= 3aa31a8bb11e47c0ff2b306988d1756b810c1c3c, < b344ca94e8cc85796f16ea25e2e5a8e0303fe813; Linux 6.19 Fixed in: Linux 6b98fd7106d4e486f432664893dcd4d6fa3a9693 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.
References
FAQ
Is CVE-2026-98242 being exploited?
There is no confirmed exploitation: CVE-2026-98242 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98242?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98242?
Linux >= 3aa31a8bb11e47c0ff2b306988d1756b810c1c3c, < 6b98fd7106d4e486f432664893dcd4d6fa3a9693; >= 3aa31a8bb11e47c0ff2b306988d1756b810c1c3c, < b344ca94e8cc85796f16ea25e2e5a8e0303fe813; Linux 6.19.
Is there a fix for CVE-2026-98242?
Yes. Fixed in Linux 6b98fd7106d4e486f432664893dcd4d6fa3a9693. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-98242?
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.