# CVE-2025-37992: net_sched: Flush gso_skb list too during ->change()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-02)
- Published: 2025-05-26T14:54:15.796Z
- Modified: 2026-11-05T21:18:01.617Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 before ea1132ccb112f51ba749c56a912f67970c2cd542; from 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 before d3336f746f196c6a53e0480923ae93939f047b6c; from 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 before d38939ebe0d992d581acb6885c1723fa83c1fb2c; from 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 before a7d6e0ac0a8861f6b1027488062251a8e28150fd; from 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 before d1365ca80b012d8a7863e45949e413fb61fa4861; from 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 before fe88c7e4fc2c1cd75a278a15ffbf1689efad4e76; from 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 before 2d3cbfd6d54a2c39ce3244f33f85c595844bd7b8; 3.5 (not affected: before 3.5; from 5.10.238 up to 5.10.*; from 5.15.184 up to 5.15.*; from 6.1.140 up to 6.1.*; from 6.6.92 up to 6.6.*; from 6.12.30 up to 6.12.*; from 6.14.8 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 3.5 before 5.10.238; from 5.11 before 5.15.184; from 5.16 before 6.1.140; from 6.2 before 6.6.92; from 6.7 before 6.12.30; from 6.13 before 6.14.8; 6.15
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/ea1132ccb112f51ba749c56a912f67970c2cd542> (patch)
- <https://git.kernel.org/stable/c/d3336f746f196c6a53e0480923ae93939f047b6c> (patch)
- <https://git.kernel.org/stable/c/d38939ebe0d992d581acb6885c1723fa83c1fb2c> (patch)
- <https://git.kernel.org/stable/c/a7d6e0ac0a8861f6b1027488062251a8e28150fd> (patch)
- <https://git.kernel.org/stable/c/d1365ca80b012d8a7863e45949e413fb61fa4861> (patch)
- <https://git.kernel.org/stable/c/fe88c7e4fc2c1cd75a278a15ffbf1689efad4e76> (patch)
- <https://git.kernel.org/stable/c/2d3cbfd6d54a2c39ce3244f33f85c595844bd7b8> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-37992](https://www.cve.org/CVERecord?id=CVE-2025-37992), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-37992](https://nvd.nist.gov/vuln/detail/CVE-2025-37992), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-37992 · Whole record: https://cve.day/CVE-2025-37992.json · Rebuilt by cve.day 2026-11-25T22:58:58.488Z
