CVE-2025-37798
codel: remove sch->q.qlen check before qdisc_tree_reduce_backlog()
Mitigation
- Upgrade Linux to 342debc12183b51773b3345ba267e9263bdfaaef or later.
Who should check
- Anyone running Linux >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 7a742a9506849d1c1aa71e36c89855ceddc7d58e; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < cc71a757da78dd4aa1b4a9b19cb011833730ccf2; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < eda741fe155ddf5ecd2dd3bfbd4fc3c0c7dbb450; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 829c49b6b2ff45b043739168fd1245e4e1a91a30; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 2f9761a94bae33d26e6a81b31b36e7d776d93dc1; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 4d55144b12e742404bb3f8fee6038bafbf45619d; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < e73c838c80dccb9e4f19becc11d9f3cb4a27d483; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < a57fe60ef4cf96bfbb6b58397ec28bdb5a5c6b31; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 342debc12183b51773b3345ba267e9263bdfaaef
- Anyone running Linux 3.5
Vulnerability facts
- Affected
- Linux >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 7a742a9506849d1c1aa71e36c89855ceddc7d58e; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < cc71a757da78dd4aa1b4a9b19cb011833730ccf2; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < eda741fe155ddf5ecd2dd3bfbd4fc3c0c7dbb450; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 829c49b6b2ff45b043739168fd1245e4e1a91a30; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 2f9761a94bae33d26e6a81b31b36e7d776d93dc1; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 4d55144b12e742404bb3f8fee6038bafbf45619d; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < e73c838c80dccb9e4f19becc11d9f3cb4a27d483; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < a57fe60ef4cf96bfbb6b58397ec28bdb5a5c6b31; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 342debc12183b51773b3345ba267e9263bdfaaef; Linux 3.5
- Fixed in
- Linux 7a742a9506849d1c1aa71e36c89855ceddc7d58e, Linux 829c49b6b2ff45b043739168fd1245e4e1a91a30, Linux 2f9761a94bae33d26e6a81b31b36e7d776d93dc1, Linux 4d55144b12e742404bb3f8fee6038bafbf45619d, Linux 342debc12183b51773b3345ba267e9263bdfaaef
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.33% chance of exploitation in 30 days (percentile 19, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: codel: remove sch->q.qlen check before qdisc_tree_reduce_backlog() After making all ->qlen_notify() callbacks idempotent, now it is safe to remove the check of qlen!=0 from both fq_codel_dequeue() and codel_qdisc_dequeue().
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 7a742a9506849d1c1aa71e36c89855ceddc7d58e; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < cc71a757da78dd4aa1b4a9b19cb011833730ccf2; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < eda741fe155ddf5ecd2dd3bfbd4fc3c0c7dbb450; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 829c49b6b2ff45b043739168fd1245e4e1a91a30; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 2f9761a94bae33d26e6a81b31b36e7d776d93dc1; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 4d55144b12e742404bb3f8fee6038bafbf45619d; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < e73c838c80dccb9e4f19becc11d9f3cb4a27d483; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < a57fe60ef4cf96bfbb6b58397ec28bdb5a5c6b31; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 342debc12183b51773b3345ba267e9263bdfaaef | — | cvelist |
| Linux | 3.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-37798. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-37798.md Affected: Linux >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 7a742a9506849d1c1aa71e36c89855ceddc7d58e; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < cc71a757da78dd4aa1b4a9b19cb011833730ccf2; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < eda741fe155ddf5ecd2dd3bfbd4fc3c0c7dbb450; >= 76e3cc126bb223013a6b9a0… Fixed in: Linux 7a742a9506849d1c1aa71e36c89855ceddc7d58e, Linux 829c49b6b2ff45b043739168fd1245e4e1a91a30, Linux 2f9761a94bae33d26e6a81b31b36e7d776d93dc1, Linux 4d55144b12e742404bb3f8fee6038bafbf45619d, Linux 342debc12183b51773b3345ba267e9263bdfaaef Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/7a742a9506849d1c1aa71e36c89855ceddc7d58e
- https://git.kernel.org/stable/c/cc71a757da78dd4aa1b4a9b19cb011833730ccf2
- https://git.kernel.org/stable/c/eda741fe155ddf5ecd2dd3bfbd4fc3c0c7dbb450
- https://git.kernel.org/stable/c/829c49b6b2ff45b043739168fd1245e4e1a91a30
- https://git.kernel.org/stable/c/2f9761a94bae33d26e6a81b31b36e7d776d93dc1
- https://git.kernel.org/stable/c/4d55144b12e742404bb3f8fee6038bafbf45619d
- https://git.kernel.org/stable/c/e73c838c80dccb9e4f19becc11d9f3cb4a27d483
- https://git.kernel.org/stable/c/a57fe60ef4cf96bfbb6b58397ec28bdb5a5c6b31
- https://git.kernel.org/stable/c/342debc12183b51773b3345ba267e9263bdfaaef
FAQ
Is CVE-2025-37798 being exploited?
There is no confirmed exploitation: CVE-2025-37798 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-37798?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-37798?
Linux >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 7a742a9506849d1c1aa71e36c89855ceddc7d58e; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < cc71a757da78dd4aa1b4a9b19cb011833730ccf2; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < eda741fe155ddf5ecd2dd3bfbd4fc3c0c7dbb450; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 829c49b6b2ff45b043739168fd1245e4e1a91a30; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 2f9761a94bae33d26e6a81b31b36e7d776d93dc1; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 4d55144b12e742404bb3f8fee6038bafbf45619d; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < e73c838c80dccb9e4f19becc11d9f3cb4a27d483; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < a57fe60ef4cf96bfbb6b58397ec28bdb5a5c6b31; >= 76e3cc126bb223013a6b9a0e2a51238d1ef2e409, < 342debc12183b51773b3345ba267e9263bdfaaef; Linux 3.5.
Is there a fix for CVE-2025-37798?
Yes. Fixed in Linux 7a742a9506849d1c1aa71e36c89855ceddc7d58e, Linux 829c49b6b2ff45b043739168fd1245e4e1a91a30, Linux 2f9761a94bae33d26e6a81b31b36e7d776d93dc1, Linux 4d55144b12e742404bb3f8fee6038bafbf45619d, Linux 342debc12183b51773b3345ba267e9263bdfaaef. Upgrade Linux to 342debc12183b51773b3345ba267e9263bdfaaef or later.
How do I check if I'm affected by CVE-2025-37798?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.