CVE-2026-31675CWE-125CWE-787

CVE-2026-31675

High · published April 25, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
7.6
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

net/sched: sch_netem: fix out-of-bounds access in packet corruption

In netem_enqueue(), the packet corruption logic uses

get_random_u32_below(skb_headlen(skb)) to select an index for

modifying skb->data. When an AF_PACKET TX_RING sends fully non-linear

packets over an IPIP tunnel, skb_headlen(skb) evaluates to 0.

Passing 0 to get_random_u32_below() takes the variable-ceil slow path

which returns an unconstrained 32-bit random integer. Using this

unconstrained value as an offset into skb->data results in an

out-of-bounds memory access.

Fix this by verifying skb_headlen(skb) is non-zero before attempting

to corrupt the linear data area. Fully non-linear packets will silently

bypass the corruption logic.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00184 · 7.6th percentile
Weaknesses
CWE-125 · Out-of-bounds Read; CWE-787 · Out-of-bounds Write
Published
2026-04-25T13:16Z
Affected products (10)
ProductVersionsFixed in
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernel≥ 2.6.16, < 6.6.1346.6.134
linux/linux_kernel≥ 6.7, < 6.12.816.12.81
linux/linux_kernel≥ 6.13, < 6.18.226.18.22
linux/linux_kernel≥ 6.19, < 6.19.126.19.12
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (5)
EPSS history
Timeline
  • 25 APR 08:46Z
    net/sched: sch_netem: fix out-of-bounds access in packet corruption
    cvelistv5