Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-37992

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 to < ea1132ccb112f51ba749c56a912f67970c2cd542affected
  • 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 to < d3336f746f196c6a53e0480923ae93939f047b6caffected
  • 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 to < d38939ebe0d992d581acb6885c1723fa83c1fb2caffected
  • 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 to < a7d6e0ac0a8861f6b1027488062251a8e28150fdaffected
  • 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 to < d1365ca80b012d8a7863e45949e413fb61fa4861affected
  • 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 to < fe88c7e4fc2c1cd75a278a15ffbf1689efad4e76affected
  • 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 to < 2d3cbfd6d54a2c39ce3244f33f85c595844bd7b8affected

Linux Linux

Default version status: affected

  • 3.5affected
  • 0 to < 3.5unaffected
  • 5.10.238 to ≤ 5.10.*unaffected
  • 5.15.184 to ≤ 5.15.*unaffected
  • 6.1.140 to ≤ 6.1.*unaffected
  • 6.6.92 to ≤ 6.6.*unaffected
  • 6.12.30 to ≤ 6.12.*unaffected
  • 6.14.8 to ≤ 6.14.*unaffected
  • 6.15 to ≤ *unaffected

References