CVE-2025-37890
published high CVSS 3.1 · 7.8net_sched: hfsc: Fix a UAF vulnerability in class with netem as child qdisc
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea to < 273bbcfa53541cde38b2003ad88a59b770306421 · 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea to < e0cf8ee23e1915431f262a7b2dee0c7a7d699af0 · 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea to < e3e949a39a91d1f829a4890e7dfe9417ac72e4d0 · 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea to < 8df7d37d626430035b413b97cee18396b3450bef · 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea to < 6082a87af4c52f58150d40dec1716011d871ac21 · 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea to < 2e7093c7a8aba5d4f8809f271488e5babe75e202 · 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea to < ac39fd4a757584d78ed062d4f6fd913f83bd98b5 · 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea to < 141d34391abbb315d68556b7c67ad97885407547 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.0 (affected) · 0 to < 5.0 (unaffected · semver) · 5.4.294 through 5.4.* (unaffected · semver) · 5.10.238 through 5.10.* (unaffected · semver) · 5.15.182 through 5.15.* (unaffected · semver) · 6.1.138 through 6.1.* (unaffected · semver) · 6.6.90 through 6.6.* (unaffected · semver) · 6.12.28 through 6.12.* (unaffected · semver) · 6.14.6 through 6.14.* (unaffected · semver) · 6.15 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2025-095 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-073 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2025-103 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-55.25.1.el10_0 | ALSA-2025:12662 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-55.25.1.el10_0 | ALSA-2025:12662 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1050 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-994 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.66.1.rt7.407.el8_10 | ALSA-2025:12753 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.66.1.rt7.407.el8_10 | ALSA-2025:12753 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.66.1.rt7.407.el8_10 | ALSA-2025:12753 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.66.1.rt7.407.el8_10 | ALSA-2025:12753 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.66.1.rt7.407.el8_10 | ALSA-2025:12753 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.66.1.rt7.407.el8_10 | ALSA-2025:12753 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.66.1.rt7.407.el8_10 | ALSA-2025:12753 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.66.1.rt7.407.el8_10 | ALSA-2025:12753 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.66.1.rt7.407.el8_10 | ALSA-2025:12753 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.66.1.rt7.407.el8_10 | ALSA-2025:12753 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.66.1.el8_10 | ALSA-2025:12752 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-debug-kvm | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-kvm | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-570.32.1.el9_6 | ALSA-2025:12746 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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/
Related advisories
Vendor advisories explicitly linked to this CVE.
Showing the first 100 linked advisory records.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - Exploitation requires configuring an hfsc qdisc with a netem child (duplicate enabled) via RTNETLINK/tc and then transmitting packets locally, so the attacker must have local access to the system. Per kernel scoring guidance, tc/netlink qdisc bugs are Local. AC:L - The reentrancy is deterministic — netem's duplicate path re-enters hfsc_enqueue() synchronously on the same CPU before the child qdisc's qlen is incremented, so a single packet with duplicate=100% reliably double-activates the class. No race or uncontrolled memory-layout condition is involved. PR:L - Qdisc/class creation requires CAP_NET_ADMIN, but only ns_capable() over the netns owner user namespace (netlink_net_capable in rtnetlink_rcv_msg), which any unprivileged user obtains with `unshare -Urn` on default distro configs. Triggering enqueue only needs sending a packet over the local device. UI:N - The attacker performs every step — qdisc/class setup, packet transmission, and class deletion — with no action from any other user or administrator. S:U - The corruption and its consequences are confined to the kernel's own memory and scheduling structures within the same security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - The freed hfsc_class remains linked in the parent's vt_tree/cf_tree and the eligible rbtree, so subsequent rbtree traversals read attacker-groomed heap contents; a UAF of a slab object with reclaimed contents yields a kernel information-disclosure primitive. I:H - Stale rb_node links cause rb_insert_color()/rb_erase()/vttree_update() to write into freed memory that the attacker can reclaim with a controlled object, giving a write primitive suitable for control-flow hijacking and privilege escalation. The doubly-inserted el_node additionally corrupts the eligible rbtree structure itself. A:H - Even without weaponization, the use-after-free and corrupted rbtree produce oopses, hangs on cyclic tree traversal, or a kernel panic, taking the whole system down.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea to < 273bbcfa53541cde38b2003ad88a59b770306421 (affected · git)37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea to < e0cf8ee23e1915431f262a7b2dee0c7a7d699af0 (affected · git)37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea to < e3e949a39a91d1f829a4890e7dfe9417ac72e4d0 (affected · git)37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea to < 8df7d37d626430035b413b97cee18396b3450bef (affected · git)37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea to < 6082a87af4c52f58150d40dec1716011d871ac21 (affected · git)37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea to < 2e7093c7a8aba5d4f8809f271488e5babe75e202 (affected · git)37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea to < ac39fd4a757584d78ed062d4f6fd913f83bd98b5 (affected · git)37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea to < 141d34391abbb315d68556b7c67ad97885407547 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.0 (affected)0 to < 5.0 (unaffected · semver)5.4.294 through 5.4.* (unaffected · semver)5.10.238 through 5.10.* (unaffected · semver)5.15.182 through 5.15.* (unaffected · semver)6.1.138 through 6.1.* (unaffected · semver)6.6.90 through 6.6.* (unaffected · semver)6.12.28 through 6.12.* (unaffected · semver)6.14.6 through 6.14.* (unaffected · semver)6.15 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
10- https://git.kernel.org/stable/c/141d34391abbb315d68556b7c67ad97885407547
- https://git.kernel.org/stable/c/273bbcfa53541cde38b2003ad88a59b770306421
- https://git.kernel.org/stable/c/2e7093c7a8aba5d4f8809f271488e5babe75e202
- https://git.kernel.org/stable/c/6082a87af4c52f58150d40dec1716011d871ac21
- https://git.kernel.org/stable/c/8df7d37d626430035b413b97cee18396b3450bef
- https://git.kernel.org/stable/c/ac39fd4a757584d78ed062d4f6fd913f83bd98b5
- https://git.kernel.org/stable/c/e0cf8ee23e1915431f262a7b2dee0c7a7d699af0
- https://git.kernel.org/stable/c/e3e949a39a91d1f829a4890e7dfe9417ac72e4d0
- https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
Provider assertions
3Linux · cna
net_sched: hfsc: Fix a UAF vulnerability in class with netem as child qdisc
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 490d71f787c50234bc67ab504aec0baa24d5ee29e05ac5a798825219fefbe87c
- Ingested
- 23 Sep 2026, 08:46:29 UTC
- Source record
- Official CVE record