# CVE-2025-38115: net\_sched: sch\_sfq: fix a potential crash on gso\_skb handling

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2025-07-03T08:35:23.750Z
- **Modified:** 2026-10-15T22:18:27.983Z

## Who should check

- Anyone running Linux \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< c337efb20d6d9f9bbb4746f6b119917af5c886dc; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< b44f791f27b14c9eb6b907fbe51f2ba8bec32085; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< 5814a7fc3abb41f63f2d44c9d3ff9d4e62965b72; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< 9c19498bdd7cb9d854bd3c54260f71cf7408495e; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< b4e9bab6011b9559b7c157b16b91ae46d4d8c533; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< d1bc80da75c789f2f6830df89d91fb2f7a509943; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< 82448d4dcd8406dec688632a405fdcf7f170ec69; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< 82ffbe7776d0ac084031f114167712269bf3d832
- Anyone running Linux 4.16

## 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 &

## Affected and fixed versions

- Linux: \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< c337efb20d6d9f9bbb4746f6b119917af5c886dc; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< b44f791f27b14c9eb6b907fbe51f2ba8bec32085; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< 5814a7fc3abb41f63f2d44c9d3ff9d4e62965b72; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< 9c19498bdd7cb9d854bd3c54260f71cf7408495e; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< b4e9bab6011b9559b7c157b16b91ae46d4d8c533; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< d1bc80da75c789f2f6830df89d91fb2f7a509943; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< 82448d4dcd8406dec688632a405fdcf7f170ec69; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< 82ffbe7776d0ac084031f114167712269bf3d832 (cvelist)
- Linux: 4.16 (cvelist)

## Mitigation

- Upgrade Linux to 82ffbe7776d0ac084031f114167712269bf3d832 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38115. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38115.md
Affected: Linux >= a53851e2c3218aa30b77abd6e68cf1c371f15afe, < c337efb20d6d9f9bbb4746f6b119917af5c886dc; >= a53851e2c3218aa30b77abd6e68cf1c371f15afe, < b44f791f27b14c9eb6b907fbe51f2ba8bec32085; >= a53851e2c3218aa30b77abd6e68cf1c371f15afe, < 5814a7fc3abb41f63f2d44c9d3ff9d4e62965b72; >= a53851e2c3218aa30b77abd…
Fixed in: Linux 5814a7fc3abb41f63f2d44c9d3ff9d4e62965b72, Linux 9c19498bdd7cb9d854bd3c54260f71cf7408495e, Linux 82448d4dcd8406dec688632a405fdcf7f170ec69, Linux 82ffbe7776d0ac084031f114167712269bf3d832

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38115 being exploited?

There is no confirmed exploitation: CVE-2025-38115 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38115?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38115?

Linux \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< c337efb20d6d9f9bbb4746f6b119917af5c886dc; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< b44f791f27b14c9eb6b907fbe51f2ba8bec32085; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< 5814a7fc3abb41f63f2d44c9d3ff9d4e62965b72; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< 9c19498bdd7cb9d854bd3c54260f71cf7408495e; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< b4e9bab6011b9559b7c157b16b91ae46d4d8c533; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< d1bc80da75c789f2f6830df89d91fb2f7a509943; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< 82448d4dcd8406dec688632a405fdcf7f170ec69; \>= a53851e2c3218aa30b77abd6e68cf1c371f15afe, \< 82ffbe7776d0ac084031f114167712269bf3d832; Linux 4.16.

### Is there a fix for CVE-2025-38115?

Yes. Fixed in Linux 5814a7fc3abb41f63f2d44c9d3ff9d4e62965b72, Linux 9c19498bdd7cb9d854bd3c54260f71cf7408495e, Linux 82448d4dcd8406dec688632a405fdcf7f170ec69, Linux 82ffbe7776d0ac084031f114167712269bf3d832. Upgrade Linux to 82ffbe7776d0ac084031f114167712269bf3d832 or later.

### How do I check if I'm affected by CVE-2025-38115?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/c337efb20d6d9f9bbb4746f6b119917af5c886dc>
- patch: <https://git.kernel.org/stable/c/b44f791f27b14c9eb6b907fbe51f2ba8bec32085>
- patch: <https://git.kernel.org/stable/c/5814a7fc3abb41f63f2d44c9d3ff9d4e62965b72>
- patch: <https://git.kernel.org/stable/c/9c19498bdd7cb9d854bd3c54260f71cf7408495e>
- patch: <https://git.kernel.org/stable/c/b4e9bab6011b9559b7c157b16b91ae46d4d8c533>
- patch: <https://git.kernel.org/stable/c/d1bc80da75c789f2f6830df89d91fb2f7a509943>
- patch: <https://git.kernel.org/stable/c/82448d4dcd8406dec688632a405fdcf7f170ec69>
- patch: <https://git.kernel.org/stable/c/82ffbe7776d0ac084031f114167712269bf3d832>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38115>

HTML: <https://flawdb.com/CVE-2025-38115> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38115>
