net_sched: Flush gso_skb list too during ->change()
Published May 26, 2025
5.5
MEDIUMCVSS 3.1
EPSS 0.21%
Description
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 products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 3.5StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<3.5
- Version 5.10.238StatusunaffectedConstraints<=5.10.*
- Version 5.15.184StatusunaffectedConstraints<=5.15.*
- Version 6.1.140StatusunaffectedConstraints<=6.1.*
- Version 6.12.30StatusunaffectedConstraints<=6.12.*
- Version 6.14.8StatusunaffectedConstraints<=6.14.*
- Version 6.15StatusunaffectedConstraints<=*
- Version 6.6.92StatusunaffectedConstraints<=6.6.*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| ||||||||||||||||||||||||||||||
| Linux | Linux | affected |
|
Configuration 1
- ≥ 3.5 · < 5.10.238
- ≥ 5.11 · < 5.15.184
- ≥ 5.16 · < 6.1.140
- ≥ 6.2 · < 6.6.92
- ≥ 6.7 · < 6.12.30
- ≥ 6.13 · < 6.14.8
- 6.15
- 6.15
- 6.15
- 6.15
- 6.15
- 6.15
Configuration 2
- 11.0
No data.
Red Hat Enterprise Linux 10
kernel
Fix deferred
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel-rt
Out of support scope
Red Hat Enterprise Linux 8
kernel
Out of support scope
Red Hat Enterprise Linux 8
kernel-rt
Out of support scope
Red Hat Enterprise Linux 9
kernel
Fix deferred
Red Hat Enterprise Linux 9
kernel-rt
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Fix deferred | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Out of support scope | n/a |
| Red Hat Enterprise Linux 9 | kernel | Fix deferred | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (14)
- https://access.redhat.com/security/cve/CVE-2025-37992 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2368609 Issue Tracking
- https://git.kernel.org/stable/c/2d3cbfd6d54a2c39ce3244f33f85c595844bd7b8 Patch
- https://git.kernel.org/stable/c/a7d6e0ac0a8861f6b1027488062251a8e28150fd Patch
- https://git.kernel.org/stable/c/d1365ca80b012d8a7863e45949e413fb61fa4861 Patch
- https://git.kernel.org/stable/c/d3336f746f196c6a53e0480923ae93939f047b6c Patch
- https://git.kernel.org/stable/c/d38939ebe0d992d581acb6885c1723fa83c1fb2c Patch
- https://git.kernel.org/stable/c/ea1132ccb112f51ba749c56a912f67970c2cd542 Patch
- https://git.kernel.org/stable/c/fe88c7e4fc2c1cd75a278a15ffbf1689efad4e76 Patch
- https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html Third Party Advisory
- https://lore.kernel.org/linux-cve-announce/2025052618-CVE-2025-37992-1590@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2025-37992
- https://www.cve.org/CVERecord?id=CVE-2025-37992
Change history (0)
No recorded changes yet.