CVE-2026-98242
Last modified
CVE-2026-98242 is a vulnerability of currently unknown severity. 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..
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 Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 3aa31a8bb11e47c0ff2b306988d1756b810c1c3c, < 6b98fd7106d4e486f432664893dcd4d6fa3a9693; >= 3aa31a8bb11e47c0ff2b306988d1756b810c1c3c, < b344ca94e8cc85796f16ea25e2e5a8e0303fe813 |
| Linux | Linux | 6.19 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-98242?
How severe is CVE-2026-98242?
How do I fix CVE-2026-98242?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-98237In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98238In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98239In the Linux kernel, the following vulnerability has been re…8.1
- CVE-2026-9824Mattermost versions 11.7.x <= 11.7.2, 11.6.x <= 11.6.4, 10.1…4.3
- CVE-2026-98240In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98241In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-98243In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-98244In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98245In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98246In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98247In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98248In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-98242?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
