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-38350

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

CVE-2025-38350 is a use-after-free vulnerability in Linux Kernel affecting net/sched classful qdiscs. Attackers could exploit stale class pointers leading to memory corruption. This article covers technical details, affected versions, impact, and mitigation strategies.

Updated: January 22, 2026

CVE-2025-38350 Overview

CVE-2025-38350 is a use-after-free vulnerability in the Linux kernel's network traffic control (net/sched) subsystem. The flaw exists in the handling of classful queuing disciplines (qdiscs) where certain qdiscs may invoke their classes' dequeue handler during an enqueue operation. This unexpected behavior can prematurely empty a child qdisc and make an in-flight class passive via qlen_notify(), leading to a use-after-free condition when the class is re-activated with a stale pointer.

Critical Impact

Local attackers with low privileges can exploit this use-after-free vulnerability to achieve arbitrary code execution with kernel privileges, potentially gaining complete control of the affected system.

Affected Products

  • Linux Kernel (multiple versions including 6.15 and 6.16 release candidates)
  • Debian Linux 11.0

Discovery Timeline

  • 2025-07-19 - CVE-2025-38350 published to NVD
  • 2025-12-16 - Last updated in NVD database

Technical Details for CVE-2025-38350

Vulnerability Analysis

The vulnerability resides in the qdisc_tree_reduce_backlog() function within the Linux kernel's network scheduler subsystem. When classful qdiscs such as DRR (Deficit Round Robin) invoke their classes' dequeue handler during an enqueue operation, it can unexpectedly drain the child qdisc. This triggers qlen_notify() to mark the class as passive while operations are still in-flight.

The core issue is a backlog accounting inconsistency that affects hierarchical qdisc configurations. Previous attempts to fix this behavior for the HFSC (Hierarchical Fair Service Curve) scheduler by reorganizing backlog accounting proved incomplete, as the parent's parent qdisc could still encounter the same race condition.

When a class is deleted while in a passive state due to this premature notification, subsequent network operations may attempt to access freed memory through stale class pointers, resulting in a use-after-free condition.

Root Cause

The root cause is improper synchronization and notification handling in the qdisc backlog accounting mechanism. When qdisc_tree_reduce_backlog() is called, it fails to consistently invoke qlen_notify() when a child qdisc becomes empty. This leads to a state inconsistency where classes may be re-activated after being marked passive, using stale pointers to freed memory structures.

The fix ensures that qdisc_tree_reduce_backlog() always calls qlen_notify() when the child qdisc is empty. This works because qdisc deletion always involves qdisc_reset() and/or qdisc_purge_queue(), which reset the qlen to 0, ensuring proper notification to the parent.

Attack Vector

Exploitation requires local access with low privileges. An attacker can construct a specific qdisc hierarchy using the tc (traffic control) utility to trigger the vulnerability. The attack involves:

  1. Creating a nested qdisc hierarchy with DRR at the root, HFSC as a child, and netem with blackhole as leaf qdiscs
  2. Sending network traffic (e.g., UDP packets) to trigger the enqueue/dequeue race condition
  3. Deleting a class while the race condition is active
  4. Sending additional traffic to trigger access to the freed class pointer

The CVE description includes a proof-of-concept reproducer using the tc command to set up the vulnerable qdisc hierarchy and socat to generate traffic.

Detection Methods for CVE-2025-38350

Indicators of Compromise

  • Kernel panic or oops messages referencing qdisc_tree_reduce_backlog, qlen_notify, or related net/sched functions
  • Unexpected system crashes or instability when complex qdisc configurations are in use
  • KASAN (Kernel Address Sanitizer) reports indicating use-after-free in the net/sched subsystem

Detection Strategies

  • Enable KASAN in development/testing kernels to detect use-after-free conditions in the net/sched subsystem
  • Monitor system logs for kernel oops or panic messages related to network scheduler functions
  • Deploy SentinelOne Singularity Platform for runtime kernel exploit detection and behavioral analysis
  • Audit systems for unusual or complex qdisc configurations that could indicate exploitation attempts

Monitoring Recommendations

  • Monitor for suspicious tc command executions creating nested DRR/HFSC/netem qdisc hierarchies
  • Implement auditd rules to track traffic control configuration changes on critical systems
  • Review kernel logs for memory corruption indicators following network configuration changes

How to Mitigate CVE-2025-38350

Immediate Actions Required

  • Apply the latest kernel security patches from the official Linux kernel stable branches
  • For Debian Linux 11.0 systems, apply updates referenced in the Debian LTS announcements
  • Limit local user access to systems running vulnerable kernel versions where immediate patching is not possible
  • Restrict access to the tc utility for non-privileged users using SELinux or AppArmor policies

Patch Information

The vulnerability has been addressed in multiple kernel stable branches. Patches are available through the official kernel git repository:

  • Kernel patch 103406b38c600fec1fe375a77b27d87e314aea09
  • Kernel patch 3b290923ad2b23596208c1e29520badef4356a43
  • Kernel patch a553afd91f55ff39b1e8a1c4989a29394c9e0472

Debian users should refer to the Debian LTS Security Announcements for distribution-specific patch information.

Workarounds

  • Restrict access to the tc command using file permissions or capability controls (remove CAP_NET_ADMIN from unprivileged users)
  • Avoid using complex nested qdisc configurations involving DRR, HFSC, netem, and blackhole until patched
  • Implement mandatory access control policies (SELinux/AppArmor) to limit qdisc manipulation to trusted administrators only
bash
# Restrict tc command access to root only
chmod 700 /sbin/tc

# Remove CAP_NET_ADMIN capability for unprivileged containers
# In container runtime configuration, ensure NET_ADMIN is not granted

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

  • Debian LTS Announcement
  • Vendor Resources
  • Kernel Change Log Entry

  • Kernel Change Log Entry

  • Kernel Change Log Entry

  • Kernel Change Log Entry

  • Kernel Change Log Entry

  • Kernel Change Log Entry

  • Kernel Change Log Entry

  • Kernel Change Log Entry
  • 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