CVE-2025-37992

net_sched: Flush gso_skb list too during ->change()

MEDIUM
5.5
CVSS Score
Published: May 26, 2025 at 02:54 PM UTC
Updated: June 17, 2026 at 09:15 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: net_sched: Flush gso_skb list too during ->change() Previously, when reducing a qdisc's limit via the ->change() operation, only the main skb queue was trimmed, potentially leaving packets in the gso_skb list. This could result in NULL pointer dereference when we only check sch->limit against sch->q.qlen. This patch introduces a new helper, qdisc_dequeue_internal(), which ensures both the gso_skb list and the main queue are properly flushed when trimming excess packets. All relevant qdiscs (codel, fq, fq_codel, fq_pie, hhf, pie) are updated to use this helper in their ->change() routines.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.5 ≤ v < 5.10.2383.5 ≤ v < 5.15.1843.5 ≤ v < 6.1.1403.5 ≤ v < 6.12.303.5 ≤ v < 6.14.83.5 ≤ v < 6.153.5 ≤ v < 6.6.925.11 ≤ v < 5.15.1845.16 ≤ v < 6.1.1406.13 ≤ v < 6.14.86.2 ≤ v < 6.6.926.7 ≤ v < 6.12.303.56.15 rc16.15 rc26.15 rc36.15 rc46.15 rc56.15 rc676e3cc126bb223013a6b9a0e2a51238d1ef2e409
Vendor states this is fixed in 2d3cbfd6d54a2c39ce3244f33f85c595844bd7b8 (fixed)
Vendor states this is fixed in a7d6e0ac0a8861f6b1027488062251a8e28150fd (fixed)
Vendor states this is fixed in d1365ca80b012d8a7863e45949e413fb61fa4861 (fixed)
Vendor states this is fixed in d3336f746f196c6a53e0480923ae93939f047b6c (fixed)
Vendor states this is fixed in d38939ebe0d992d581acb6885c1723fa83c1fb2c (fixed)
Vendor states this is fixed in ea1132ccb112f51ba749c56a912f67970c2cd542 (fixed)
Vendor states this is fixed in fe88c7e4fc2c1cd75a278a15ffbf1689efad4e76 (fixed)
Vendor states this is fixed in 3.5 (unaffected)
Vendor states this is fixed in 5.10.238 (unaffected)
Vendor states this is fixed in 5.15.184 (unaffected)
Vendor states this is fixed in 6.1.140 (unaffected)
Vendor states this is fixed in 6.12.30 (unaffected)
Vendor states this is fixed in 6.14.8 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.92 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2d3cbfd6d54a2c39ce3244f33f85c595844bd7b8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a7d6e0ac0a8861f6b1027488062251a8e28150fd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d1365ca80b012d8a7863e45949e413fb61fa4861
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d3336f746f196c6a53e0480923ae93939f047b6c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d38939ebe0d992d581acb6885c1723fa83c1fb2c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ea1132ccb112f51ba749c56a912f67970c2cd542
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fe88c7e4fc2c1cd75a278a15ffbf1689efad4e76
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card