CVE-2025-38115
net_sched: sch_sfq: fix a potential crash on gso_skb handling
Check your servers for CVE-2025-38115
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38115 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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 &
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 15 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from a53851e2c3218aa30b77abd6e68cf1c371f15afe, before c337efb20d6d9f9bbb4746f6b119917af5c886dc affected from a53851e2c3218aa30b77abd6e68cf1c371f15afe, before b44f791f27b14c9eb6b907fbe51f2ba8bec32085 affected from a53851e2c3218aa30b77abd6e68cf1c371f15afe, before 5814a7fc3abb41f63f2d44c9d3ff9d4e62965b72 affected from a53851e2c3218aa30b77abd6e68cf1c371f15afe, before 9c19498bdd7cb9d854bd3c54260f71cf7408495e affected from a53851e2c3218aa30b77abd6e68cf1c371f15afe, before b4e9bab6011b9559b7c157b16b91ae46d4d8c533 affected from a53851e2c3218aa30b77abd6e68cf1c371f15afe, before d1bc80da75c789f2f6830df89d91fb2f7a509943 affected from a53851e2c3218aa30b77abd6e68cf1c371f15afe, before 82448d4dcd8406dec688632a405fdcf7f170ec69 affected from a53851e2c3218aa30b77abd6e68cf1c371f15afe, before 82ffbe7776d0ac084031f114167712269bf3d832
Other versions: unaffected
|
| Linux |
affected 4.16 unaffected before 4.16 unaffected from 5.4.295 up to and including 5.4.* unaffected from 5.10.239 up to and including 5.10.* unaffected from 5.15.186 up to and including 5.15.* unaffected from 6.1.142 up to and including 6.1.* unaffected from 6.6.94 up to and including 6.6.* unaffected from 6.12.34 up to and including 6.12.* unaffected from 6.15.3 up to and including 6.15.* unaffected 6.16 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38115 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38115
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38115
trivy image --scanners vuln IMAGE | grep CVE-2025-38115
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/c337efb20d6d9f9bbb4746f6b119917af5c886dc git.kernel.org
- https://git.kernel.org/stable/c/b44f791f27b14c9eb6b907fbe51f2ba8bec32085 git.kernel.org
- https://git.kernel.org/stable/c/5814a7fc3abb41f63f2d44c9d3ff9d4e62965b72 git.kernel.org
- https://git.kernel.org/stable/c/9c19498bdd7cb9d854bd3c54260f71cf7408495e git.kernel.org
- https://git.kernel.org/stable/c/b4e9bab6011b9559b7c157b16b91ae46d4d8c533 git.kernel.org
- https://git.kernel.org/stable/c/d1bc80da75c789f2f6830df89d91fb2f7a509943 git.kernel.org
- https://git.kernel.org/stable/c/82448d4dcd8406dec688632a405fdcf7f170ec69 git.kernel.org
- https://git.kernel.org/stable/c/82ffbe7776d0ac084031f114167712269bf3d832 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
Source: the record CVE-2025-38115 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse