CVE-2026-98242: Linux Kernel - Integer Overflow
- Cve: CVE-2026-98242
- Name: Linux Kernel - Integer Overflow
- 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.
- Impact: Attackers can cause memory corruption or unexpected behavior due to integer overflow in DMA buffer handling.
- Remediation: Update to the latest Linux kernel version containing the fix for dma-buf integer overflow.
- Vulnerability type: integer_overflow
- Requirement type: none
- Labels source: projectdiscovery
- Cvss vector: N/A
- Epss score: 0.00155
- Epss percentile: 0.04632
- Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published at: 2026-10-06T09:18:12Z
- Age in days: 49
- Modified at: 2026-10-19T10:18:25Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-98242
- Nvd status: received
- Checked, none or zero: vulnerability impact, cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, severity, cvss score, hackerone
References
| Url | Source | Tags |
|---|---|---|
| https://git.kernel.org/stable/c/6b98fd7106d4e486f432664893dcd4d6fa3a9693 | nvd | |
| https://git.kernel.org/stable/c/b344ca94e8cc85796f16ea25e2e5a8e0303fe813 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | >= 6.19, < 7.3; >= 6.19, < 7.2.8 | no | cna | /v1/products/linux/linux_kernel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | cna_commit, commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports