CVE-2026-31700

Aliases:UBUNTU-CVE-2026-31700DEBIAN-CVE-2026-31700CGA-35h3-25cf-hgq8CGA-35m5-w28p-rm8vCGA-3pg5-qp39-p2j4CGA-8q2w-3h4p-fpqhCGA-g8vr-rfcx-vx8cCGA-mwmq-r63v-h7rpCGA-vc96-x963-9pfc
Modified
Published: 01 May 2026, 13:56
Last modified:08 Sept 2026, 08:48

Vulnerability Summary

Overall Risk (default)
medium
31/100
CVSS Score
7.8 HIGH
v3.1 (cve.org)
EPSS Score
0.11% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

01 May 2026, 13:56
Published
Vulnerability first disclosed
08 Sept 2026, 08:48
Last Modified
Vulnerability information updated

Description

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.

CVSS Metrics

  • v4.0HIGHScore: 7.3CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
  • v3.1HIGHScore: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Trends

Current EPSS score: 0.11% Percentile: 1%

Techniques & Countermeasures

  • CWE-362Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

    The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.

Affected Systems

  • chainguardlinux-aws-6.18

    < 6.18.31-r0

  • chainguardlinux-azure-6.18

    < 6.18.31-r0 | < 6.18.24-r1

  • chainguardlinux-gcp-6.18

    < 6.18.31-r0

  • chainguardlinux-qemu-6.18

    < 6.18.24-r3

  • chainguardlinux-qemu-rc

    < 7.1_rc3-r0

  • chainguardlinux-vmware-6.18

    < 6.18.31-r0

  • debianlinux

    < 5.10.259-1 | < 6.1.176-1 | < 6.12.85-1 | < 7.0.3-1

  • debianlinux-6.1

    < 6.1.176-1~deb11u1

  • ubuntulinux

    all | all | < 6.8.0-136.136 | all | < 7.0.0-27.27

  • ubuntulinux-allwinner-5.19

    all

  • ubuntulinux-aws

    all | all | < 6.8.0-1061.64 | all | < 7.0.0-1008.8

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.11

    all

  • ubuntulinux-aws-5.13

    all

  • ubuntulinux-aws-5.15

    all

  • ubuntulinux-aws-5.19

    all

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.4

    all

  • ubuntulinux-aws-5.8

    all

  • ubuntulinux-aws-6.14

    all

  • ubuntulinux-aws-6.17

    all

  • ubuntulinux-aws-6.2

    all

  • ubuntulinux-aws-6.5

    all

  • ubuntulinux-aws-6.8

    < 6.8.0-1061.64~22.04.1

  • ubuntulinux-aws-fips

    all | < 6.8.0-1061.64+fips1

  • ubuntulinux-aws-hwe

    all

  • ubuntulinux-azure

    all | all | all | < 6.8.0-1063.71 | all | < 7.0.0-1010.10

  • ubuntulinux-azure-4.15

    all

  • ubuntulinux-azure-5.11

    all

  • ubuntulinux-azure-5.13

    all

  • ubuntulinux-azure-5.15

    all

  • ubuntulinux-azure-5.19

    all

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.4

    all

  • ubuntulinux-azure-5.8

    all

  • ubuntulinux-azure-6.11

    all

  • ubuntulinux-azure-6.14

    all

  • ubuntulinux-azure-6.17

    all

  • ubuntulinux-azure-6.2

    all

  • ubuntulinux-azure-6.5

    all

  • ubuntulinux-azure-6.8

    < 6.8.0-1063.71~22.04.1

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fde

    all | all | < 6.8.0-1062.69 | all | < 7.0.0-1009.9

  • ubuntulinux-azure-fde-5.15

    all

  • ubuntulinux-azure-fde-5.19

    all

  • ubuntulinux-azure-fde-6.14

    all

  • ubuntulinux-azure-fde-6.2

    all

  • ubuntulinux-azure-fde-6.8

    < 6.8.0-1062.69~22.04.1

  • ubuntulinux-azure-fips

    all | < 6.8.0-1063.71+fips2

  • ubuntulinux-azure-nvidia

    all

Showing first 50 affected entries in server-rendered view.

References (35)