CVE-2025-37992

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

State
Published
Severity
Not scored
Published
May 26, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 to before ea1132ccb112f51ba749c56a912f67970c2cd542Affected
  • 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 to before d3336f746f196c6a53e0480923ae93939f047b6cAffected
  • 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 to before d38939ebe0d992d581acb6885c1723fa83c1fb2cAffected
  • 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 to before a7d6e0ac0a8861f6b1027488062251a8e28150fdAffected
  • 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 to before d1365ca80b012d8a7863e45949e413fb61fa4861Affected
  • 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 to before fe88c7e4fc2c1cd75a278a15ffbf1689efad4e76Affected
  • 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 to before 2d3cbfd6d54a2c39ce3244f33f85c595844bd7b8Affected
LinuxLinux
  • 3.5Affected
  • before 3.5Not affected
  • 5.10.238 through 5.10.*Not affected
  • 5.15.184 through 5.15.*Not affected
  • 6.1.140 through 6.1.*Not affected
  • 6.6.92 through 6.6.*Not affected
  • 6.12.30 through 6.12.*Not affected
  • 6.14.8 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.