Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-38000

CVE-2025-38000: Linux Kernel Use-After-Free Vulnerability

CVE-2025-38000 is a use-after-free vulnerability in the Linux Kernel's HFSC scheduler that causes inconsistent queue accounting and potential memory corruption. This article covers technical details, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-38000 Overview

A use-after-free vulnerability has been discovered in the Linux kernel's HFSC (Hierarchical Fair Service Curve) scheduler (sch_hfsc). The flaw exists in the hfsc_enqueue() function, where a queue length accounting bug can lead to memory corruption and potential privilege escalation. When enqueuing the first packet to an HFSC class, the function calls the child qdisc's peek() operation before properly incrementing the queue statistics, creating a race condition that can leave dangling references to freed memory.

Critical Impact

Local attackers with low privileges can exploit this use-after-free condition to potentially achieve privilege escalation or cause system instability through memory corruption in the kernel's traffic control subsystem.

Affected Products

  • Linux Kernel (multiple versions including 6.15-rc1 through 6.15-rc7)
  • Debian Linux 11.0
  • Linux Kernel stable branches requiring patches

Discovery Timeline

  • June 6, 2025 - CVE-2025-38000 published to NVD
  • December 16, 2025 - Last updated in NVD database

Technical Details for CVE-2025-38000

Vulnerability Analysis

This vulnerability stems from improper ordering of operations within the HFSC qdisc's packet enqueue path. The HFSC scheduler is a sophisticated traffic control mechanism used in the Linux kernel's network stack for hierarchical bandwidth management. The bug manifests when the first packet is enqueued to an HFSC class.

During the enqueue process, hfsc_enqueue() calls the child qdisc's peek() operation to examine the packet. However, this call occurs before the parent qdisc's sch->q.qlen and sch->qstats.backlog counters have been incremented. If the child qdisc utilizes qdisc_peek_dequeued(), this can trigger an immediate dequeue operation and potential packet drop within the peek context.

When a packet is dropped during this peek operation, qdisc_tree_reduce_backlog() is invoked to update the queue statistics. Since the HFSC qdisc's counters haven't been updated yet, this leads to inconsistent queue accounting. The consequence is that an empty HFSC class remains in the active list, and subsequent operations may access freed memory structures associated with that class.

Root Cause

The root cause is a time-of-check time-of-use (TOCTOU) style race condition combined with incorrect operation ordering. The queue length and backlog statistics are incremented after the peek operation rather than before it. When qdisc_peek_dequeued() triggers a dequeue and potential drop, the tree's backlog reduction mechanism operates on stale counter values, corrupting the queue state and potentially leaving references to freed packet data structures.

Attack Vector

The attack vector requires local access to the system. An attacker needs the ability to configure traffic control qdiscs (typically requiring CAP_NET_ADMIN capability or root privileges) or exploit a misconfigured system where unprivileged users can manipulate network scheduling. The attacker can craft specific network traffic patterns that trigger the vulnerable code path in hfsc_enqueue(), causing:

  1. The first packet enqueue to trigger a child qdisc peek
  2. The peek operation to invoke qdisc_peek_dequeued() resulting in an immediate dequeue/drop
  3. Queue accounting corruption leaving an empty class in the active list
  4. Subsequent operations accessing the freed memory, leading to use-after-free exploitation

The vulnerability can be exploited to achieve arbitrary code execution in kernel context, privilege escalation, or denial of service through kernel panic.

Detection Methods for CVE-2025-38000

Indicators of Compromise

  • Unexpected kernel oops or panics referencing sch_hfsc, hfsc_enqueue, or related traffic control functions
  • KASAN (Kernel Address Sanitizer) reports indicating use-after-free in the net/sched/sch_hfsc.c code paths
  • Anomalous traffic control configuration changes or unexpected qdisc modifications in system logs
  • System instability when HFSC traffic shaping is actively configured and under load

Detection Strategies

  • Enable KASAN in kernel builds for development and testing environments to detect memory corruption early
  • Monitor kernel logs for oops messages containing sch_hfsc or qdisc_tree_reduce_backlog stack traces
  • Implement audit rules to track tc command usage and qdisc configuration changes
  • Deploy SentinelOne Singularity to detect and prevent kernel-level exploitation attempts

Monitoring Recommendations

  • Review systems actively using HFSC traffic control (tc qdisc show output) to identify potentially affected configurations
  • Enable kernel crash dump collection to capture forensic data in case of exploitation
  • Monitor for unusual privilege escalation attempts following network configuration changes
  • Track kernel module loading events, particularly around traffic control components

How to Mitigate CVE-2025-38000

Immediate Actions Required

  • Apply the official kernel patches from the stable kernel branches immediately
  • If patching is not immediately possible, consider temporarily disabling HFSC qdisc configurations where feasible
  • Restrict CAP_NET_ADMIN capability to essential services and trusted users only
  • Update Debian 11.0 systems using the packages referenced in the LTS announcements

Patch Information

Multiple patches have been released for various kernel stable branches. The fix reorders the increment of sch->q.qlen and sch->qstats.backlog to occur before the call to the child qdisc's peek() operation, ensuring queue accounting remains consistent even when packet drops occur during the peek.

Available patches from kernel.org:

  • Kernel Git Commit 1034e331
  • Kernel Git Commit 3f3a22ee
  • Kernel Git Commit 3f981138
  • Kernel Git Commit 49b21795
  • Kernel Git Commit 89c301e9
  • Kernel Git Commit 93c27694
  • Kernel Git Commit f1dde3eb
  • Kernel Git Commit f9f593e3

Debian users should reference:

  • Debian LTS Announcement #00007
  • Debian LTS Announcement #00008

Workarounds

  • Remove or replace HFSC qdisc configurations with alternative schedulers (such as HTB or FQ_CODEL) until patching is complete
  • Implement network namespace isolation to limit the attack surface for untrusted processes
  • Restrict access to traffic control utilities (tc) using file permissions or mandatory access control policies
bash
# Check for HFSC qdisc usage on the system
tc qdisc show | grep hfsc

# Temporarily remove HFSC qdisc (replace eth0 with your interface)
tc qdisc del dev eth0 root handle 1: hfsc

# Verify kernel version and check if patch is applied
uname -r

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechLinux Kernel

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Technical References
  • Debian LTS Announcement #00007

  • Debian LTS Announcement #00008
  • Vendor Resources
  • Kernel Git Commit 1034e331

  • Kernel Git Commit 3f3a22ee

  • Kernel Git Commit 3f981138

  • Kernel Git Commit 49b21795

  • Kernel Git Commit 89c301e9

  • Kernel Git Commit 93c27694

  • Kernel Git Commit f1dde3eb

  • Kernel Git Commit f9f593e3
  • Related CVEs
  • CVE-2026-31475: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-31469: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-31457: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-31444: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English