CVE-2025-38000: Potential use-after-free in Linux kernel HFSC queue accounting
- Vendors
- Debian ProjectLinux
CVE-2025-38000 is a queue-length and backlog accounting vulnerability in the Linux kernel's Hierarchical Fair Service Curve (HFSC) traffic-control scheduler. When enqueuing the first packet to an HFSC class, hfsc_enqueue() invokes the child queue discipline's peek() operation before incrementing sch->q.qlen and sch->qstats.backlog. A child queue discipline using qdisc_peek_dequeued() may immediately dequeue or drop a packet, causing qdisc_tree_reduce_backlog() to operate before the parent accounting is updated. The resulting inconsistent accounting can leave an empty HFSC class on the active list and potentially lead to use-after-free.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
The vulnerability can corrupt HFSC queue accounting and active-list state, potentially leading to a kernel use-after-free condition. Specific outcomes such as arbitrary code execution, privilege escalation, information disclosure, or a reproducible kernel crash are not established.
Mitigation
If you can’t patch tonight, do this now.
No vulnerability-specific workaround is established. Pending patching, restrict untrusted local access and access to kernel attack surfaces. These exposure-reduction measures do not correct the HFSC accounting defect.
Remediation
Patch, then assume compromise.
Install a vendor-supported kernel update addressing CVE-2025-38000 and reboot into the updated kernel. The code fix moves the increments of sch->q.qlen and sch->qstats.backlog before the child queue discipline's peek() call. Identified fixed releases include Echo linux 6.1.147-1 or later, affected Google kernel packages 18244.382.29 or later, RHEL 9.2 kernel 5.14.0-284.128.1.el9_2, RHEL 8.8 kernel 4.18.0-477.107.1.el8_8, and RHEL 8.6 kernel 4.18.0-372.158.1.el8_6. Use the update appropriate to the distribution and support stream; these versions are not interchangeable.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-38000 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2025-38000 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-38000?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2025-38000.
- Is there a patch for CVE-2025-38000?
- Install a vendor-supported kernel update addressing CVE-2025-38000 and reboot into the updated kernel. The code fix moves the increments of sch->q.qlen and sch->qstats.backlog before the child queue discipline's peek() call.
- What products are affected by CVE-2025-38000?
- Linux Kernel and Debian Project Debian Linux.
- How severe is CVE-2025-38000?
- CVE-2025-38000 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.32% (18th percentile) as of Oct 16, 2026.
Recent activity
27 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.