Skip to main content
VulnerabilityPublished Updated

CVE-2026-31700: Linux kernel · net/packet: fix TOCTOU race on mmap'd vnet_hdr in tpacket_snd()

Affects Linux kernelSource CVE Database V5

0

Not known to be exploited · CVSS 7.8 High · fixed in 28324a3b62d9ce7f9bdd65a8ce63f382041d1b27 : patch Linux kernel soon.

Data as of 26 Oct 2026, 17:30 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 1% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CISA SSVC
Exploitation
No evidence of active exploitation and no public proof of concept
Automatable
Attackers cannot reliably automate steps 1–4 of the kill chain
Technical impact
Total control over the software or total information disclosure

CISA SSVC assessment, 2026-10-16.

Patch
Available – fixed in 28324a3b62d9ce7f9bdd65a8ce63f382041d1b27, 1490f82353bdabc09265a74e645b07f05cf4188e, 714aa973da8163925eda7efd49361ccbee21ee46 +5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 1d036d25e5609ba73fee6a88db01c306b140d512, < 28324a3b62d9ce7f9bdd65a8ce63f382041d1b27
Fixed in
  • 28324a3b62d9ce7f9bdd65a8ce63f382041d1b27
LinuxLinuxAffected
  • ≥ 1d036d25e5609ba73fee6a88db01c306b140d512, < 1490f82353bdabc09265a74e645b07f05cf4188e
Fixed in
  • 1490f82353bdabc09265a74e645b07f05cf4188e
LinuxLinuxAffected
  • ≥ 1d036d25e5609ba73fee6a88db01c306b140d512, < 714aa973da8163925eda7efd49361ccbee21ee46
Fixed in
  • 714aa973da8163925eda7efd49361ccbee21ee46
LinuxLinuxAffected
  • ≥ 1d036d25e5609ba73fee6a88db01c306b140d512, < 74e2db36fe50e3ad9d5300d7fd0e6e2a15a6d121
Fixed in
  • 74e2db36fe50e3ad9d5300d7fd0e6e2a15a6d121
LinuxLinuxAffected
  • ≥ 1d036d25e5609ba73fee6a88db01c306b140d512, < 48a6ef291a17639e1b6ae0fbe9c8b2bb87d7804b
Fixed in
  • 48a6ef291a17639e1b6ae0fbe9c8b2bb87d7804b
LinuxLinuxAffected
  • ≥ 1d036d25e5609ba73fee6a88db01c306b140d512, < 3a1bf9116ea31470b89692585c3910dfe830dcdd
Fixed in
  • 3a1bf9116ea31470b89692585c3910dfe830dcdd

AI-suggested

A fix is available and has been applied in the Linux kernel versions identified by the fixed commit hashes. Users should update their Linux kernel to a version that includes these fixes. No additional mitigation steps are indicated by the vendor advisory.

Description

CVE-2026-31700 is a time-of-check to time-of-use (TOCTOU) race condition vulnerability in the Linux kernel's tpacket_snd() function when PACKET_VNET_HDR is enabled. The vulnerability arises because the vnet_hdr structure is read directly from a memory-mapped TX ring buffer shared with userspace, allowing a concurrent userspace thread to modify it between validation and use, bypassing safety checks. This flaw was fixed by copying the vnet_hdr to a stack-local variable before validation and use, aligning with the approach used elsewhere in the kernel.

References

Community reviews

Loading reviews…