Linux kernel stmmac integer underflow in chain mode
CVE-2026-31649Critical
The jumbo_frm() function in the stmmac network driver performs an unsigned integer subtraction that can underflow when a packet has a small linear portion but large total length due to page fragments. This underflow produces a huge value that causes a loop to iterate hundreds of thousands of times, passing pointers far beyond the packet buffer to dma_map_single(). An attacker can craft a malicious packet to trigger this condition, resulting in arbitrary kernel memory being mapped to the DMA engine, which discloses kernel memory and potentially corrupts it on systems without an IOMMU.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Detail
Affected versions
- linux linux kernel: from 3.2.1, before 5.10.253
- linux linux kernel: from 5.11, before 5.15.203
- linux linux kernel: from 5.16, before 6.1.169
- linux linux kernel: from 6.2, before 6.6.135
- linux linux kernel: from 6.7, before 6.12.82
- linux linux kernel: from 6.13, before 6.18.23
- linux linux kernel: from 6.19, before 6.19.13
- linux linux kernel: 3.2
- linux linux kernel: 7.0
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP (opens in a new tab)