cveboard RSS feed

CVE-2026-31700

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2026
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

net/packet: fix TOCTOU race on mmap'd vnet_hdr in tpacket_snd()

In the Linux kernel, the following vulnerability has been resolved: net/packet: fix TOCTOU race on mmap'd vnet_hdr in tpacket_snd() In tpacket_snd(), when PACKET_VNET_HDR is enabled, vnet_hdr points directly into the mmap'd TX ring buffer shared with userspace. The kernel validates the header via __packet_snd_vnet_parse() but then re-reads all fields later in virtio_net_hdr_to_skb(). A concurrent userspace thread can modify the vnet_hdr fields between validation and use, bypassing all safety checks. The non-TPACKET path (packet_snd()) already correctly copies vnet_hdr to a stack-local variable. All other vnet_hdr consumers in the kernel (tun.c, tap.c, virtio_net.c) also use stack copies. The TPACKET TX path is the only caller of virtio_net_hdr_to_skb() that reads directly from user-controlled shared memory. Fix this by copying vnet_hdr from the mmap'd ring buffer to a stack-local variable before validation and use, consistent with the approach used in packet_snd() and all other callers.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
1d036d25e5609ba73fee6a88db01c306b140d512affectedgit0f4c9754956b86de158a4af5278c5cf5bda9439eUnavailableNone listed
1d036d25e5609ba73fee6a88db01c306b140d512affectedgit714aa973da8163925eda7efd49361ccbee21ee46UnavailableNone listed
1d036d25e5609ba73fee6a88db01c306b140d512affectedgit1490f82353bdabc09265a74e645b07f05cf4188eUnavailableNone listed
1d036d25e5609ba73fee6a88db01c306b140d512affectedgit74e2db36fe50e3ad9d5300d7fd0e6e2a15a6d121UnavailableNone listed
1d036d25e5609ba73fee6a88db01c306b140d512affectedgit3a1bf9116ea31470b89692585c3910dfe830dcddUnavailableNone listed
1d036d25e5609ba73fee6a88db01c306b140d512affectedgit28324a3b62d9ce7f9bdd65a8ce63f382041d1b27UnavailableNone listed
1d036d25e5609ba73fee6a88db01c306b140d512affectedgit48a6ef291a17639e1b6ae0fbe9c8b2bb87d7804bUnavailableNone listed
1d036d25e5609ba73fee6a88db01c306b140d512affectedgit2c054e17d9d41f1020376806c7f750834ced4dc5UnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
4.6affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver4.6UnavailableNone listed
5.10.259unaffectedsemverUnavailable5.10.*None listed
5.15.210unaffectedsemverUnavailable5.15.*None listed
6.1.176unaffectedsemverUnavailable6.1.*None listed
6.6.136unaffectedsemverUnavailable6.6.*None listed
6.12.84unaffectedsemverUnavailable6.12.*None listed
6.18.25unaffectedsemverUnavailable6.18.*None listed
7.0.2unaffectedsemverUnavailable7.0.*None listed
7.1unaffectedoriginal_commit_for_fixUnavailable*None listed