CVE-2025-38115CWE-401

CVE-2025-38115

High · published July 3, 2025

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

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

net_sched: sch_sfq: fix a potential crash on gso_skb handling

SFQ has an assumption of always being able to queue at least one packet.

However, after the blamed commit, sch->q.len can be inflated by packets

in sch->gso_skb, and an enqueue() on an empty SFQ qdisc can be followed

by an immediate drop.

Fix sfq_drop() to properly clear q->tail in this situation.

ip netns add lb

ip link add dev to-lb type veth peer name in-lb netns lb

ethtool -K to-lb tso off # force qdisc to requeue gso_skb

ip netns exec lb ethtool -K in-lb gro on # enable NAPI

ip link set dev to-lb up

ip -netns lb link set dev in-lb up

ip addr add dev to-lb 192.168.20.1/24

ip -netns lb addr add dev in-lb 192.168.20.2/24

tc qdisc replace dev to-lb root sfq limit 100

ip netns exec lb netserver

netperf -H 192.168.20.2 -l 100 &

netperf -H 192.168.20.2 -l 100 &

netperf -H 192.168.20.2 -l 100 &

netperf -H 192.168.20.2 -l 100 &

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.00217 · 11.6th percentile
Weakness
CWE-401 · Missing Release of Memory after Effective Lifetime
Published
2025-07-03T13:15Z
Affected products (9)
ProductVersionsFixed in
linux/linux_kernel≥ 4.16, < 5.4.2955.4.295
linux/linux_kernel≥ 5.5, < 5.10.2395.10.239
linux/linux_kernel≥ 5.11, < 5.15.1865.15.186
linux/linux_kernel≥ 5.16, < 6.1.1426.1.142
linux/linux_kernel≥ 6.2, < 6.6.946.6.94
linux/linux_kernel≥ 6.7, < 6.12.346.12.34
linux/linux_kernel≥ 6.13, < 6.15.36.15.3
linux/linux_kernelall versions—
debian/debian_linuxall versions—
References (10)
EPSS history
Timeline
  • 03 JUL 08:35Z
    net_sched: sch_sfq: fix a potential crash on gso_skb handling
    cvelistv5