Skip to content
StratQuad

Threats

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
7.8
HIGH
EPSS score
0.00
Probability of exploitation in 30 days
EPSS percentile
1st
Share of scored CVEs at or below this one

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Daily EPSS score, 3 Nov to 14 Nov, source FIRST

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