CVE-2025-38000
Last modified
CVE-2025-38000 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 4.8, < 5.4.294 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.238 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.185 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.141 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.93 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.31 | — |
| Linux | Linux Kernel | >= 6.13, < 6.14.9 | — |
| Linux | Linux Kernel | 6.15 | Rc1 |
| Debian | Debian Linux | 11.0 | — |
References
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-38000?
How severe is CVE-2025-38000?
How do I fix CVE-2025-38000?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-37995In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37996In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37997In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37998In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37999In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3800A vulnerability has been found in WCMS 11 and classified as …9.8
- CVE-2025-38001In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38002In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38003In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38004In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-38005In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38006In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-38000?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
