CVE-2025-38000: sch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue()
Vulnerability summary
CVE-2025-38000 is a high (CVSS 7.8) Use After Free vulnerability in debian debian_linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.3% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 145 · Related 125Showing 100 of 145.
Timeline
- 06-06-2025PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.23% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu141 products
- linux< 4.15.0-239.251 | < 5.4.0-219.239 | < 5.15.0-143.153 | < 6.8.0-63.66
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 4.15.0-1182.195 | < 5.4.0-1148.158 | < 5.15.0-1087.94 | < 6.8.0-1031.33
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linux< 6.1.147-1 | < 6.12.32-1
- debian_linuxEOL11.0
Linux2 products
- linux≥ 12d0ad3be9c3854e52ec74bb83bb6f43612827c7, < 1034e3310752e8675e313f7271b348914008719a | ≥ 12d0ad3be9c3854e52ec74bb83bb6f43612827c7, < f9f593e34d2fb67644372c8f7b033bdc622ad228 | ≥ 12d0ad3be9c3854e52ec74bb83bb6f43612827c7, < 89c301e929a0db14ebd94b4d97764ce1d6981653 | ≥ 12d0ad3be9c3854e52ec74bb83bb6f43612827c7, < f1dde3eb17dc1b8bd07aed00004b1e05fc87a3d4 | ≥ 12d0ad3be9c3854e52ec74bb83bb6f43612827c7, < 93c276942e75de0e5bc91576300d292e968f5a02 | ≥ 12d0ad3be9c3854e52ec74bb83bb6f43612827c7, < 49b21795b8e5654a7df3d910a12e1060da4c04cf | ≥ 12d0ad3be9c3854e52ec74bb83bb6f43612827c7, < 3f3a22eebbc32b4fa8ce9c1d5f9db214b45b9335 | ≥ 12d0ad3be9c3854e52ec74bb83bb6f43612827c7, < 3f981138109f63232a5fb7165938d4c945cc1b9d | 4.8
- linux_kernel≥ 4.8, < 5.4.294 | ≥ 5.5, < 5.10.238 | ≥ 5.11, < 5.15.185 | ≥ 5.16, < 6.1.141 | ≥ 6.2, < 6.6.93 | ≥ 6.7, < 6.12.31 | ≥ 6.13, < 6.14.9 | 6.15:rc1 | 6.15:rc2 | 6.15:rc3 | 6.15:rc4 | 6.15:rc5 | 6.15:rc6 | 6.15:rc7
3 vendors · 145 products
References
46 links- lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlThird Party Advisory
- lists.debian.org/debian-lts-announce/2025/10/msg00007.htmlThird Party Advisory