{"id":"CVE-2025-38115","summary":"net_sched: sch_sfq: fix a potential crash on gso_skb handling","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet_sched: sch_sfq: fix a potential crash on gso_skb handling\n\nSFQ has an assumption of always being able to queue at least one packet.\n\nHowever, after the blamed commit, sch-\u003eq.len can be inflated by packets\nin sch-\u003egso_skb, and an enqueue() on an empty SFQ qdisc can be followed\nby an immediate drop.\n\nFix sfq_drop() to properly clear q-\u003etail in this situation.\n\n\nip netns add lb\nip link add dev to-lb type veth peer name in-lb netns lb\nethtool -K to-lb tso off                 # force qdisc to requeue gso_skb\nip netns exec lb ethtool -K in-lb gro on # enable NAPI\nip link set dev to-lb up\nip -netns lb link set dev in-lb up\nip addr add dev to-lb 192.168.20.1/24\nip -netns lb addr add dev in-lb 192.168.20.2/24\ntc qdisc replace dev to-lb root sfq limit 100\n\nip netns exec lb netserver\n\nnetperf -H 192.168.20.2 -l 100 &\nnetperf -H 192.168.20.2 -l 100 &\nnetperf -H 192.168.20.2 -l 100 &\nnetperf -H 192.168.20.2 -l 100 &","modified":"2026-04-16T00:00:55.150108478Z","published":"2025-07-03T08:35:23.750Z","related":["SUSE-SU-2025:02846-1","SUSE-SU-2025:02853-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:02969-1","SUSE-SU-2025:02996-1","SUSE-SU-2025:02997-1","SUSE-SU-2025:03011-1","SUSE-SU-2025:03023-1","SUSE-SU-2025:20577-1","SUSE-SU-2025:20586-1","SUSE-SU-2025:20601-1","SUSE-SU-2025:20602-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38115.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5814a7fc3abb41f63f2d44c9d3ff9d4e62965b72"},{"type":"WEB","url":"https://git.kernel.org/stable/c/82448d4dcd8406dec688632a405fdcf7f170ec69"},{"type":"WEB","url":"https://git.kernel.org/stable/c/82ffbe7776d0ac084031f114167712269bf3d832"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9c19498bdd7cb9d854bd3c54260f71cf7408495e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b44f791f27b14c9eb6b907fbe51f2ba8bec32085"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b4e9bab6011b9559b7c157b16b91ae46d4d8c533"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c337efb20d6d9f9bbb4746f6b119917af5c886dc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d1bc80da75c789f2f6830df89d91fb2f7a509943"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38115.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38115"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a53851e2c3218aa30b77abd6e68cf1c371f15afe"},{"fixed":"c337efb20d6d9f9bbb4746f6b119917af5c886dc"},{"fixed":"b44f791f27b14c9eb6b907fbe51f2ba8bec32085"},{"fixed":"5814a7fc3abb41f63f2d44c9d3ff9d4e62965b72"},{"fixed":"9c19498bdd7cb9d854bd3c54260f71cf7408495e"},{"fixed":"b4e9bab6011b9559b7c157b16b91ae46d4d8c533"},{"fixed":"d1bc80da75c789f2f6830df89d91fb2f7a509943"},{"fixed":"82448d4dcd8406dec688632a405fdcf7f170ec69"},{"fixed":"82ffbe7776d0ac084031f114167712269bf3d832"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38115.json"}}],"schema_version":"1.7.5"}