Time-of-check Time-of-use (TOCTOU) Race Condition in Linux kernel - CVE-2026-31700

 

Time-of-check Time-of-use (TOCTOU) Race Condition in Linux kernel - CVE-2026-31700

Published: May 2, 2026


Vulnerability identifier: #VU129001
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-31700
CWE-ID: CWE-367
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

The vulnerability allows a local user to bypass safety checks.

The vulnerability exists due to a time-of-check time-of-use race condition in tpacket_snd() when processing a mmap'd vnet_hdr in the TPACKET TX path with PACKET_VNET_HDR enabled. A local user can modify vnet_hdr fields in the shared ring buffer between validation and use to bypass safety checks.

Only the TPACKET TX path is affected.


How to mitigate CVE-2026-31700

Install security update from vendor's repository.

Sources