CVE-2025-37890
net_sched: hfsc: Fix a UAF vulnerability in class with netem as child qdisc
Mitigation
- Upgrade Linux to 141d34391abbb315d68556b7c67ad97885407547 or later.
Who should check
- Anyone running Linux >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 273bbcfa53541cde38b2003ad88a59b770306421; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < e0cf8ee23e1915431f262a7b2dee0c7a7d699af0; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < e3e949a39a91d1f829a4890e7dfe9417ac72e4d0; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 8df7d37d626430035b413b97cee18396b3450bef; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 6082a87af4c52f58150d40dec1716011d871ac21; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 2e7093c7a8aba5d4f8809f271488e5babe75e202; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < ac39fd4a757584d78ed062d4f6fd913f83bd98b5; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 141d34391abbb315d68556b7c67ad97885407547
- Anyone running Linux 5.0
Vulnerability facts
- Affected
- Linux >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 273bbcfa53541cde38b2003ad88a59b770306421; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < e0cf8ee23e1915431f262a7b2dee0c7a7d699af0; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < e3e949a39a91d1f829a4890e7dfe9417ac72e4d0; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 8df7d37d626430035b413b97cee18396b3450bef; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 6082a87af4c52f58150d40dec1716011d871ac21; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 2e7093c7a8aba5d4f8809f271488e5babe75e202; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < ac39fd4a757584d78ed062d4f6fd913f83bd98b5; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 141d34391abbb315d68556b7c67ad97885407547; Linux 5.0
- Fixed in
- Linux 273bbcfa53541cde38b2003ad88a59b770306421, Linux 8df7d37d626430035b413b97cee18396b3450bef, Linux 6082a87af4c52f58150d40dec1716011d871ac21, Linux 2e7093c7a8aba5d4f8809f271488e5babe75e202, Linux 141d34391abbb315d68556b7c67ad97885407547
- 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.32% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net_sched: hfsc: Fix a UAF vulnerability in class with netem as child qdisc As described in Gerrard's report [1], we have a UAF case when an hfsc class has a netem child qdisc. The crux of the issue is that hfsc is assuming that checking for cl->qdisc->q.qlen == 0 guarantees that it hasn't inserted the class in the vttree or eltree (which is not true for the netem duplicate case). This patch checks the n_active class variable to make sure that the code won't insert the class in the vttree or eltree twice, catering for the reentrant case. [1] https://lore.kernel.org/netdev/CAHcdcOm+03OD2j6R0=YHKqmy=VgJ8xEOKuP6c7mSgnp-TEJJbw@mail.gmail.com/
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 273bbcfa53541cde38b2003ad88a59b770306421; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < e0cf8ee23e1915431f262a7b2dee0c7a7d699af0; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < e3e949a39a91d1f829a4890e7dfe9417ac72e4d0; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 8df7d37d626430035b413b97cee18396b3450bef; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 6082a87af4c52f58150d40dec1716011d871ac21; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 2e7093c7a8aba5d4f8809f271488e5babe75e202; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < ac39fd4a757584d78ed062d4f6fd913f83bd98b5; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 141d34391abbb315d68556b7c67ad97885407547 | — | cvelist |
| Linux | 5.0 | — | 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-37890. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-37890.md Affected: Linux >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 273bbcfa53541cde38b2003ad88a59b770306421; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < e0cf8ee23e1915431f262a7b2dee0c7a7d699af0; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < e3e949a39a91d1f829a4890e7dfe9417ac72e4d0; >= 37d9cf1a3ce35de3df6f7d2… Fixed in: Linux 273bbcfa53541cde38b2003ad88a59b770306421, Linux 8df7d37d626430035b413b97cee18396b3450bef, Linux 6082a87af4c52f58150d40dec1716011d871ac21, Linux 2e7093c7a8aba5d4f8809f271488e5babe75e202, Linux 141d34391abbb315d68556b7c67ad97885407547 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/273bbcfa53541cde38b2003ad88a59b770306421
- https://git.kernel.org/stable/c/e0cf8ee23e1915431f262a7b2dee0c7a7d699af0
- https://git.kernel.org/stable/c/e3e949a39a91d1f829a4890e7dfe9417ac72e4d0
- https://git.kernel.org/stable/c/8df7d37d626430035b413b97cee18396b3450bef
- https://git.kernel.org/stable/c/6082a87af4c52f58150d40dec1716011d871ac21
- https://git.kernel.org/stable/c/2e7093c7a8aba5d4f8809f271488e5babe75e202
- https://git.kernel.org/stable/c/ac39fd4a757584d78ed062d4f6fd913f83bd98b5
- https://git.kernel.org/stable/c/141d34391abbb315d68556b7c67ad97885407547
FAQ
Is CVE-2025-37890 being exploited?
There is no confirmed exploitation: CVE-2025-37890 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-37890?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-37890?
Linux >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 273bbcfa53541cde38b2003ad88a59b770306421; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < e0cf8ee23e1915431f262a7b2dee0c7a7d699af0; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < e3e949a39a91d1f829a4890e7dfe9417ac72e4d0; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 8df7d37d626430035b413b97cee18396b3450bef; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 6082a87af4c52f58150d40dec1716011d871ac21; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 2e7093c7a8aba5d4f8809f271488e5babe75e202; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < ac39fd4a757584d78ed062d4f6fd913f83bd98b5; >= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, < 141d34391abbb315d68556b7c67ad97885407547; Linux 5.0.
Is there a fix for CVE-2025-37890?
Yes. Fixed in Linux 273bbcfa53541cde38b2003ad88a59b770306421, Linux 8df7d37d626430035b413b97cee18396b3450bef, Linux 6082a87af4c52f58150d40dec1716011d871ac21, Linux 2e7093c7a8aba5d4f8809f271488e5babe75e202, Linux 141d34391abbb315d68556b7c67ad97885407547. Upgrade Linux to 141d34391abbb315d68556b7c67ad97885407547 or later.
How do I check if I'm affected by CVE-2025-37890?
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.