Read the docs
TI-2025-25345 Aliases CVE-2025-38000GHSA-5fqh-wrrw-3qc9

sch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue()

Priority LOW 36CWE-416Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 24 fixed, 3 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.

Summary

In the Linux kernel, the following vulnerability has been resolved: sch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue() When enqueuing the first packet to an HFSC class, hfsc_enqueue() calls the child qdisc's peek() operation before incrementing sch->q.qlen and sch->qstats.backlog. If the child qdisc uses qdisc_peek_dequeued(), this may trigger an immediate dequeue and potential packet drop. In such cases, qdisc_tree_reduce_backlog() is called, but the HFSC qdisc's qlen and backlog have not yet been updated, leading to inconsistent queue accounting. This can leave an empty HFSC class in the active list, causing further consequences like use-after-free. This patch fixes the bug by moving the increment of sch->q.qlen and sch->qstats.backlog before the call to the child qdisc's peek() operation. This ensures that queue length and backlog are always accurate when packet drops or dequeues are triggered during the peek.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00241 15th percentileScored 2026-11-07
Fix Partial Linux (Linux): 5.4.294, 5.10.238, 5.15.185 +5Red Hat: 17 advisoriesRed Hat: 24 fixed, 3 without a fix

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

VendorProductAffected versionsFixed inStatusSource
LinuxLinux4.8 and later5.4.294, 5.10.238, 5.15.185, 6.1.141, 6.6.93, 6.12.31, 6.14.9, 6.15Patch availableCNA
  • Linux VendorLinux Affected 4.8 and later Fixed in 5.4.294, 5.10.238, 5.15.185, 6.1.141, 6.6.93, 6.12.31, 6.14.9, 6.15 Patch available CNA

CPE configurations NVD · 9

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*4.8 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.31; 6.13 to before 6.14.9VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*6.15 rc1VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*6.15 rc2VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*6.15 rc3VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*6.15 rc4VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:*6.15 rc5VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.15:rc6:*:*:*:*:*:*6.15 rc6VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.15:rc7:*:*:*:*:*:*6.15 rc7VulnerableLinux
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*11.0VulnerableDebian
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.8 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.31; 6.13 to before 6.14.9 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:* Versions 6.15 rc1 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:* Versions 6.15 rc2 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:* Versions 6.15 rc3 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:* Versions 6.15 rc4 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:* Versions 6.15 rc5 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.15:rc6:*:*:*:*:*:* Versions 6.15 rc6 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.15:rc7:*:*:*:*:*:* Versions 6.15 rc7 Vulnerable ·Linux
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.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.31, 6.14.9, 6.15

Red Hat 17 advisories

  • RHSA-2025:20518 Released 2025-11-11 · Red Hat rating Moderate
    kernel security update
    • Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-611.5.1.el9_7, kernel-64k-debug-devel-matched-5.14.0-611.5.1.el9_7, kernel-64k-devel-5.14.0-611.5.1.el9_7 +12
    • Red Hat Enterprise Linux BaseOS (v. 9) kernel-5.14.0-611.5.1.el9_7, kernel-64k-5.14.0-611.5.1.el9_7, kernel-64k-core-5.14.0-611.5.1.el9_7 +28
    • Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-611.5.1.el9_7, libperf-5.14.0-611.5.1.el9_7
    • Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-611.5.1.el9_7, kernel-rt-64k-5.14.0-611.5.1.el9_7, kernel-rt-64k-core-5.14.0-611.5.1.el9_7 +21
    • Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-611.5.1.el9_7, kernel-rt-core-5.14.0-611.5.1.el9_7, kernel-rt-debug-5.14.0-611.5.1.el9_7 +9
  • RHSA-2025:16583 Released 2025-09-24 · Red Hat rating Important
    kpatch-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 Important
    kpatch-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
Show 14 more Red Hat advisories
  • RHSA-2025:16580 Released 2025-09-24 · Red Hat rating Important
    kpatch-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
  • RHSA-2025:16538 Released 2025-09-24 · Red Hat rating Important
    kpatch-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 Important
    kpatch-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 Important
    kpatch-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 Important
    kpatch-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 Important
    kernel 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:14748 Released 2025-08-27 · Red Hat rating Important
    kernel security update
    • Red Hat Enterprise Linux Server (v. 7 ELS) bpftool-3.10.0-1160.137.1.el7, kernel-3.10.0-1160.137.1.el7, kernel-abi-whitelists-3.10.0-1160.137.1.el7 +11
    • Red Hat Enterprise Linux Server Optional (v. 7 ELS) kernel-debug-devel-3.10.0-1160.137.1.el7, kernel-tools-libs-devel-3.10.0-1160.137.1.el7
  • RHSA-2025:14744 Released 2025-08-27 · Red Hat rating Important
    kernel 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:14746 Released 2025-08-27 · Red Hat rating Important
    kernel-rt security update
    • Red Hat Enterprise Linux for Real Time (v. 7 ELS) kernel-rt-3.10.0-1160.137.1.rt56.1289.el7, kernel-rt-debug-3.10.0-1160.137.1.rt56.1289.el7, kernel-rt-debug-devel-3.10.0-1160.137.1.rt56.1289.el7 +4
  • RHSA-2025:14742 Released 2025-08-27 · Red Hat rating Important
    kernel 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 Important
    kernel 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 Important
    kernel 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:14413 Released 2025-08-25 · Red Hat rating Important
    kernel security update
    • Red Hat Enterprise Linux Server AUS (v. 7.7) bpftool-3.10.0-1062.99.1.el7, kernel-3.10.0-1062.99.1.el7, kernel-abi-whitelists-3.10.0-1062.99.1.el7 +8
    • Red Hat Enterprise Linux Server Optional AUS (v. 7.7) kernel-tools-libs-devel-3.10.0-1062.99.1.el7
  • RHSA-2025:12209 Released 2025-07-29 · Red Hat rating Important
    kernel 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 →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 8AffectedNo fix yet
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2025:20518
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, RHSA-2025:20518
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 CodeReady Linux Builder (v. 9)Fixed RHSA-2025:20518
Red Hat Enterprise Linux Real Time (v. 9)Fixed RHSA-2025:20518
Red Hat Enterprise Linux Real Time for NFV (v. 9)Fixed RHSA-2025:20518
Red Hat Enterprise Linux Server (v. 7 ELS)Fixed RHSA-2025:14748
Red Hat Enterprise Linux Server AUS (v. 7.7)Fixed RHSA-2025:14413
Red Hat Enterprise Linux Server Optional (v. 7 ELS)Fixed RHSA-2025:14748
Red Hat Enterprise Linux Server Optional AUS (v. 7.7)Fixed RHSA-2025:14413
Red Hat Enterprise Linux for Real Time (v. 7 ELS)Fixed RHSA-2025:14746

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-38000
  2. 2026-10-03 Alias added: GHSA-5fqh-wrrw-3qc9
  3. 2026-10-16 CISA SSVC decision points changed
  4. 2026-10-29 Affected versions changed · Red Hat

References

  • 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
See all 15278 →

Sources