Linux kernel packet socket TOCTOU race on mmap'd vnet_hdr
CVE-2026-31700High
In the Linux kernel's packet socket implementation, when PACKET_VNET_HDR is enabled, the tpacket_snd() function validates a virtual network header that points directly into a memory-mapped ring buffer shared with userspace. An attacker with local access can modify the header fields between the kernel's validation and its use, bypassing safety checks. The attacker needs to run concurrent code that can access the shared memory buffer whilst the kernel is processing the packet.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Detail
Affected versions
- linux linux kernel: from 4.6, before 6.6.136
- linux linux kernel: from 6.7, before 6.12.84
- linux linux kernel: from 6.13, before 6.18.25
- linux linux kernel: from 6.19, before 7.0.2
- linux linux kernel: 7.1
Reports naming this CVE2 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP (opens in a new tab)· All CISA Advisories
Siemens SIMATIC S7-1500 TM MFP (opens in a new tab)