Bug 2368609 (CVE-2025-37992) - CVE-2025-37992 kernel: net_sched: Flush gso_skb list too during ->change()
Summary: CVE-2025-37992 kernel: net_sched: Flush gso_skb list too during ->change()
Keywords:
Status: NEW
Alias: CVE-2025-37992
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-26 15:01 UTC by OSIDB Bzimport
Modified: 2025-06-10 11:09 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-26 15:01:09 UTC
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.

Comment 1 Avinash Hanwate 2025-05-26 15:11:46 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025052618-CVE-2025-37992-1590@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.