net_sched: hfsc: Address reentrant enqueue adding class to eltree twice
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 17 fixed, 3 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-835.
Summary
In the Linux kernel, the following vulnerability has been resolved: net_sched: hfsc: Address reentrant enqueue adding class to eltree twice Savino says: "We are writing to report that this recent patch (141d34391abbb315d68556b7c67ad97885407547) [1] can be bypassed, and a UAF can still occur when HFSC is utilized with NETEM. The patch only checks the cl->cl_nactive field to determine whether it is the first insertion or not [2], but this field is only incremented by init_vf [3]. By using HFSC_RSC (which uses init_ed) [4], it is possible to bypass the check and insert the class twice in the eltree. Under normal conditions, this would lead to an infinite loop in hfsc_dequeue for the reasons we already explained in this report [5]. However, if TBF is added as root qdisc and it is configured with a very low rate, it can be utilized to prevent packets from being dequeued. This behavior can be exploited to perform subsequent insertions in the HFSC eltree and cause a UAF." To fix both the UAF and the infinite loop, with netem as an hfsc child, check explicitly in hfsc_enqueue whether the class is already in the eltree whenever the HFSC_RSC flag is set. [1] https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=141d34391abbb315d68556b7c67ad97885407547 [2] https://elixir.bootlin.com/linux/v6.15-rc5/source/net/sched/sch_hfsc.c#L1572 [3] https://elixir.bootlin.com/linux/v6.15-rc5/source/net/sched/sch_hfsc.c#L677 [4] https://elixir.bootlin.com/linux/v6.15-rc5/source/net/sched/sch_hfsc.c#L1574 [5] https://lore.kernel.org/netdev/8DuRWwfqjoRDLDmBMlIfbrsZg9Gx50DHJc1ilxsEBNe2D6NMoigR_eIRIG0LOjMc3r10nUUZtArXx4oZBIdUfZQrwjcQhdinnMis_0G7VEk=@willsroot.io/T/#u
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.0 and later | 5.4.294, 5.10.238, 5.15.185, 6.1.141, 6.6.93, 6.12.32, 6.14.10, 6.15.1, 6.16 | Patch available | CNA |
- Linux VendorLinux Affected 5.0 and later Fixed in 5.4.294, 5.10.238, 5.15.185, 6.1.141, 6.6.93, 6.12.32, 6.14.10, 6.15.1, 6.16 Patch available CNA
CPE configurations NVD · 10
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.0.1 to before 5.4.294; 5.5 to before 5.10.238; 5.11 to before 5.15.185; 5.16 to before 6.1.141; 6.2 to before 6.6.93; 6.7 to before 6.12.32; 6.13 to before 6.14.10; 6.15 to before 6.15.1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.0:-:*:*:*:*:*:* | 5.0 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.0:rc3:*:*:*:*:*:* | 5.0 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.0:rc4:*:*:*:*:*:* | 5.0 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.0:rc5:*:*:*:*:*:* | 5.0 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.0:rc6:*:*:*:*:*:* | 5.0 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.0:rc7:*:*:*:*:*:* | 5.0 rc7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.0:rc8:*:*:*:*:*:* | 5.0 rc8 | Vulnerable | Linux |
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 11.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:* | 12.0 | Vulnerable | Debian |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.0.1 to before 5.4.294; 5.5 to before 5.10.238; 5.11 to before 5.15.185; 5.16 to before 6.1.141; 6.2 to before 6.6.93; 6.7 to before 6.12.32; 6.13 to before 6.14.10; 6.15 to before 6.15.1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.0:-:*:*:*:*:*:* Versions 5.0 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.0:rc3:*:*:*:*:*:* Versions 5.0 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.0:rc4:*:*:*:*:*:* Versions 5.0 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.0:rc5:*:*:*:*:*:* Versions 5.0 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.0:rc6:*:*:*:*:*:* Versions 5.0 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.0:rc7:*:*:*:*:*:* Versions 5.0 rc7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.0:rc8:*:*:*:*:*:* Versions 5.0 rc8 Vulnerable ·Linux
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:* Versions 12.0 Vulnerable ·Debian
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.4.294, 5.10.238, 5.15.185, 6.1.141, 6.6.93, 6.12.32, 6.14.10, 6.15.1, 6.16
Red Hat 14 advisories
- RHSA-2025:16583 Released 2025-09-24 · Red Hat rating Importantkpatch-patch-4_18_0-477_67_1, kpatch-patch-4_18_0-477_81_1, kpatch-patch-4_18_0-477_89_1, and kpatch-patch-4_18_0-477_97_1 security update
- Red Hat Enterprise Linux BaseOS E4S (v.8.8) kpatch-patch-4_18_0-477_67_1-1-11.el8_8, kpatch-patch-4_18_0-477_81_1-1-9.el8_8, kpatch-patch-4_18_0-477_89_1-1-7.el8_8 +1
- RHSA-2025:16582 Released 2025-09-24 · Red Hat rating Importantkpatch-patch-4_18_0-553_16_1, kpatch-patch-4_18_0-553_30_1, kpatch-patch-4_18_0-553_40_1, kpatch-patch-4_18_0-553_53_1, and kpatch-patch-4_18_0-553_72_1 security update
- Red Hat Enterprise Linux BaseOS (v. 8) kpatch-patch-4_18_0-553_16_1-1-10.el8_10, kpatch-patch-4_18_0-553_30_1-1-9.el8_10, kpatch-patch-4_18_0-553_40_1-1-7.el8_10 +2
- RHSA-2025:16580 Released 2025-09-24 · Red Hat rating Importantkpatch-patch-4_18_0-372_118_1, kpatch-patch-4_18_0-372_131_1, kpatch-patch-4_18_0-372_137_1, and kpatch-patch-4_18_0-372_145_1 security update
- Red Hat Enterprise Linux BaseOS E4S (v.8.6) kpatch-patch-4_18_0-372_118_1-1-11.el8_6, kpatch-patch-4_18_0-372_131_1-1-10.el8_6, kpatch-patch-4_18_0-372_137_1-1-7.el8_6 +1
Show 11 more Red Hat advisories
- RHSA-2025:16538 Released 2025-09-24 · Red Hat rating Importantkpatch-patch-5_14_0-570_17_1 security update
- Red Hat Enterprise Linux BaseOS (v. 9) kpatch-patch-5_14_0-570_17_1-1-10.el9_6
- RHSA-2025:16540 Released 2025-09-24 · Red Hat rating Importantkpatch-patch-5_14_0-427_31_1, kpatch-patch-5_14_0-427_44_1, kpatch-patch-5_14_0-427_55_1, kpatch-patch-5_14_0-427_68_2, and kpatch-patch-5_14_0-427_84_1 security update
- Red Hat Enterprise Linux BaseOS EUS (v.9.4) kpatch-patch-5_14_0-427_31_1-1-14.el9_4, kpatch-patch-5_14_0-427_44_1-1-12.el9_4, kpatch-patch-5_14_0-427_55_1-1-10.el9_4 +2
- RHSA-2025:16541 Released 2025-09-24 · Red Hat rating Importantkpatch-patch-5_14_0-70_112_1, kpatch-patch-5_14_0-70_121_1, kpatch-patch-5_14_0-70_124_1, and kpatch-patch-5_14_0-70_132_1 security update
- Red Hat Enterprise Linux BaseOS E4S (v.9.0) kpatch-patch-5_14_0-70_112_1-1-12.el9_0, kpatch-patch-5_14_0-70_121_1-1-11.el9_0, kpatch-patch-5_14_0-70_124_1-1-9.el9_0 +1
- RHSA-2025:16539 Released 2025-09-24 · Red Hat rating Importantkpatch-patch-5_14_0-284_104_1, kpatch-patch-5_14_0-284_117_1, kpatch-patch-5_14_0-284_79_1, and kpatch-patch-5_14_0-284_92_1 security update
- Red Hat Enterprise Linux BaseOS E4S (v.9.2) kpatch-patch-5_14_0-284_104_1-1-10.el9_2, kpatch-patch-5_14_0-284_117_1-1-7.el9_2, kpatch-patch-5_14_0-284_79_1-1-14.el9_2 +1
- RHSA-2025:15035 Released 2025-09-02 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux BaseOS AUS (v.8.4) bpftool-4.18.0-305.170.1.el8_4, kernel-4.18.0-305.170.1.el8_4, kernel-abi-stablelists-4.18.0-305.170.1.el8_4 +14
- Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) bpftool-4.18.0-305.170.1.el8_4, kernel-4.18.0-305.170.1.el8_4, kernel-abi-stablelists-4.18.0-305.170.1.el8_4 +14
- RHSA-2025:14744 Released 2025-08-27 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux AppStream E4S (v.9.0) kernel-debug-devel-5.14.0-70.144.1.el9_0, kernel-debug-devel-matched-5.14.0-70.144.1.el9_0, kernel-devel-5.14.0-70.144.1.el9_0 +5
- Red Hat Enterprise Linux BaseOS E4S (v.9.0) bpftool-5.14.0-70.144.1.el9_0, kernel-5.14.0-70.144.1.el9_0, kernel-abi-stablelists-5.14.0-70.144.1.el9_0 +14
- RHSA-2025:14742 Released 2025-08-27 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux BaseOS AUS (v. 8.2) bpftool-4.18.0-193.165.1.el8_2, kernel-4.18.0-193.165.1.el8_2, kernel-abi-whitelists-4.18.0-193.165.1.el8_2 +14
- RHSA-2025:14692 Released 2025-08-27 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux BaseOS AUS (v.8.6) bpftool-4.18.0-372.158.1.el8_6, kernel-4.18.0-372.158.1.el8_6, kernel-abi-stablelists-4.18.0-372.158.1.el8_6 +14
- Red Hat Enterprise Linux BaseOS E4S (v.8.6) bpftool-4.18.0-372.158.1.el8_6, kernel-4.18.0-372.158.1.el8_6, kernel-abi-stablelists-4.18.0-372.158.1.el8_6 +19
- Red Hat Enterprise Linux BaseOS TUS (v.8.6) bpftool-4.18.0-372.158.1.el8_6, kernel-4.18.0-372.158.1.el8_6, kernel-abi-stablelists-4.18.0-372.158.1.el8_6 +14
- RHSA-2025:14511 Released 2025-08-25 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux BaseOS E4S (v.8.8) bpftool-4.18.0-477.107.1.el8_8, kernel-4.18.0-477.107.1.el8_8, kernel-abi-stablelists-4.18.0-477.107.1.el8_8 +14
- Red Hat Enterprise Linux BaseOS TUS (v.8.8) bpftool-4.18.0-477.107.1.el8_8, kernel-4.18.0-477.107.1.el8_8, kernel-abi-stablelists-4.18.0-477.107.1.el8_8 +14
- RHSA-2025:12311 Released 2025-07-30 · Red Hat rating Importantkernel-rt security update
- Red Hat Enterprise Linux Real Time E4S (v.9.2) kernel-rt-5.14.0-284.128.1.rt14.413.el9_2, kernel-rt-core-5.14.0-284.128.1.rt14.413.el9_2, kernel-rt-debug-5.14.0-284.128.1.rt14.413.el9_2 +9
- Red Hat Enterprise Linux Real Time for NFV E4S (v.9.2) kernel-rt-5.14.0-284.128.1.rt14.413.el9_2, kernel-rt-core-5.14.0-284.128.1.rt14.413.el9_2, kernel-rt-debug-5.14.0-284.128.1.rt14.413.el9_2 +11
- RHSA-2025:12209 Released 2025-07-29 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux AppStream E4S (v.9.2) kernel-64k-debug-devel-5.14.0-284.128.1.el9_2, kernel-64k-debug-devel-matched-5.14.0-284.128.1.el9_2, kernel-64k-devel-5.14.0-284.128.1.el9_2 +10
- Red Hat Enterprise Linux BaseOS E4S (v.9.2) bpftool-7.0.0-284.128.1.el9_2, kernel-5.14.0-284.128.1.el9_2, kernel-64k-5.14.0-284.128.1.el9_2 +29
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat Enterprise Linux AppStream E4S (v.9.0) | Fixed | RHSA-2025:14744 |
| Red Hat Enterprise Linux AppStream E4S (v.9.2) | Fixed | RHSA-2025:12209 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2025:16582 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2025:16538 |
| Red Hat Enterprise Linux BaseOS AUS (v. 8.2) | Fixed | RHSA-2025:14742 |
| Red Hat Enterprise Linux BaseOS AUS (v.8.4) | Fixed | RHSA-2025:15035 |
| Red Hat Enterprise Linux BaseOS AUS (v.8.6) | Fixed | RHSA-2025:14692 |
| Red Hat Enterprise Linux BaseOS E4S (v.8.6) | Fixed | RHSA-2025:14692, RHSA-2025:16580 |
| Red Hat Enterprise Linux BaseOS E4S (v.8.8) | Fixed | RHSA-2025:14511, RHSA-2025:16583 |
| Red Hat Enterprise Linux BaseOS E4S (v.9.0) | Fixed | RHSA-2025:14744, RHSA-2025:16541 |
| Red Hat Enterprise Linux BaseOS E4S (v.9.2) | Fixed | RHSA-2025:12209, RHSA-2025:16539 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.4) | Fixed | RHSA-2025:16540 |
| Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) | Fixed | RHSA-2025:15035 |
| Red Hat Enterprise Linux BaseOS TUS (v.8.6) | Fixed | RHSA-2025:14692 |
| Red Hat Enterprise Linux BaseOS TUS (v.8.8) | Fixed | RHSA-2025:14511 |
| Red Hat Enterprise Linux Real Time E4S (v.9.2) | Fixed | RHSA-2025:12311 |
| Red Hat Enterprise Linux Real Time for NFV E4S (v.9.2) | Fixed | RHSA-2025:12311 |
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2025-38001
- 2026-10-03 Alias added: GHSA-rh23-w5x7-xjm4
- 2026-10-16 CISA SSVC decision points changed
References
Patch 9
- https://git.kernel.org/stable/c/e5bee633cc276410337d54b99f77fbc1ad8801e5
- https://git.kernel.org/stable/c/6672e6c00810056acaac019fe26cdc26fee8a66c
- https://git.kernel.org/stable/c/2c928b3a0b04a431ffcd6c8b7d88a267124a3a28
- https://git.kernel.org/stable/c/a0ec22fa20b252edbe070a9de8501eef63c17ef5
- https://git.kernel.org/stable/c/295f7c579b07b5b7cf2dffe485f71cc2f27647cb
- https://git.kernel.org/stable/c/2f2190ce4ca972051cac6a8d7937448f8cb9673c
- https://git.kernel.org/stable/c/4e38eaaabfb7fffbb371a51150203e19eee5d70e
- https://git.kernel.org/stable/c/39ed887b1dd2d6b720f87e86692ac3006cc111c8
- https://git.kernel.org/stable/c/ac9fe7dd8e730a103ae4481147395cc73492d786
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2025-38001 · CVE Program
- CVE-2025-38001 · NVD
- FIRST EPSS
- GHSA-rh23-w5x7-xjm4 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-38001 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences