In the Linux kernel, the following vulnerability has been resolved:
netsched: schsfq: 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 &
[
{
"id": "CVE-2025-38115-17fffdb3",
"target": {
"file": "net/sched/sch_sfq.c"
},
"signature_version": "v1",
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"40319973360012805368091637480975212828",
"122183967110674304173270255469833261237",
"164653322790453088860829820883257657128",
"243644243607583206447167561490460389638"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c337efb20d6d9f9bbb4746f6b119917af5c886dc"
},
{
"id": "CVE-2025-38115-2fa95488",
"target": {
"function": "sfq_drop",
"file": "net/sched/sch_sfq.c"
},
"signature_version": "v1",
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 701.0,
"function_hash": "302851470538780032091437219984360341494"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9c19498bdd7cb9d854bd3c54260f71cf7408495e"
},
{
"id": "CVE-2025-38115-3c69a569",
"target": {
"file": "net/sched/sch_sfq.c"
},
"signature_version": "v1",
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"40319973360012805368091637480975212828",
"122183967110674304173270255469833261237",
"164653322790453088860829820883257657128",
"243644243607583206447167561490460389638"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4e9bab6011b9559b7c157b16b91ae46d4d8c533"
},
{
"id": "CVE-2025-38115-7fdd3d39",
"target": {
"function": "sfq_drop",
"file": "net/sched/sch_sfq.c"
},
"signature_version": "v1",
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 701.0,
"function_hash": "302851470538780032091437219984360341494"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4e9bab6011b9559b7c157b16b91ae46d4d8c533"
},
{
"id": "CVE-2025-38115-905cc23d",
"target": {
"file": "net/sched/sch_sfq.c"
},
"signature_version": "v1",
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"40319973360012805368091637480975212828",
"122183967110674304173270255469833261237",
"164653322790453088860829820883257657128",
"243644243607583206447167561490460389638"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@82448d4dcd8406dec688632a405fdcf7f170ec69"
},
{
"id": "CVE-2025-38115-918fc9cd",
"target": {
"file": "net/sched/sch_sfq.c"
},
"signature_version": "v1",
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"40319973360012805368091637480975212828",
"122183967110674304173270255469833261237",
"164653322790453088860829820883257657128",
"243644243607583206447167561490460389638"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5814a7fc3abb41f63f2d44c9d3ff9d4e62965b72"
},
{
"id": "CVE-2025-38115-a1b10da1",
"target": {
"file": "net/sched/sch_sfq.c"
},
"signature_version": "v1",
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"40319973360012805368091637480975212828",
"122183967110674304173270255469833261237",
"164653322790453088860829820883257657128",
"243644243607583206447167561490460389638"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@82ffbe7776d0ac084031f114167712269bf3d832"
},
{
"id": "CVE-2025-38115-a24f0797",
"target": {
"function": "sfq_drop",
"file": "net/sched/sch_sfq.c"
},
"signature_version": "v1",
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 701.0,
"function_hash": "302851470538780032091437219984360341494"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@82448d4dcd8406dec688632a405fdcf7f170ec69"
},
{
"id": "CVE-2025-38115-a809a27a",
"target": {
"function": "sfq_drop",
"file": "net/sched/sch_sfq.c"
},
"signature_version": "v1",
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 701.0,
"function_hash": "302851470538780032091437219984360341494"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c337efb20d6d9f9bbb4746f6b119917af5c886dc"
},
{
"id": "CVE-2025-38115-b7f3325b",
"target": {
"file": "net/sched/sch_sfq.c"
},
"signature_version": "v1",
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"40319973360012805368091637480975212828",
"122183967110674304173270255469833261237",
"164653322790453088860829820883257657128",
"243644243607583206447167561490460389638"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9c19498bdd7cb9d854bd3c54260f71cf7408495e"
},
{
"id": "CVE-2025-38115-c9482abc",
"target": {
"function": "sfq_drop",
"file": "net/sched/sch_sfq.c"
},
"signature_version": "v1",
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 701.0,
"function_hash": "302851470538780032091437219984360341494"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5814a7fc3abb41f63f2d44c9d3ff9d4e62965b72"
},
{
"id": "CVE-2025-38115-ec491350",
"target": {
"function": "sfq_drop",
"file": "net/sched/sch_sfq.c"
},
"signature_version": "v1",
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 701.0,
"function_hash": "302851470538780032091437219984360341494"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@82ffbe7776d0ac084031f114167712269bf3d832"
}
]