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

CVE-2025-21700: Linux Kernel Privilege Escalation Flaw

CVE-2025-21700 is a privilege escalation vulnerability in the Linux Kernel's network scheduler that allows attackers to exploit a use-after-free condition. This post covers the technical details, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-21700 Overview

CVE-2025-21700 is a Use-After-Free (UAF) vulnerability in the Linux kernel's network traffic control (tc) scheduler subsystem. The vulnerability exists in the qdisc (queuing discipline) handling code, specifically when replacing a child qdisc from one parent to another. This flaw allows a local attacker with low privileges to trigger a UAF condition that can be exploited for privilege escalation.

The vulnerability was discovered by Lion Ackermann, who demonstrated that by manipulating the traffic control configuration through a specific sequence of tc commands, an attacker could create a scenario where a qdisc object is referenced by multiple parent classes simultaneously. When one of these classes is deleted, the qdisc object is freed while still being referenced by other classes, leading to a classic use-after-free condition.

Critical Impact

Local privilege escalation vulnerability allowing unprivileged users to gain root access through kernel memory corruption via the traffic control subsystem.

Affected Products

  • Linux Kernel (multiple versions)
  • Debian-based distributions using affected kernel versions
  • Linux distributions with traffic control (tc/iproute2) utilities enabled

Discovery Timeline

  • February 13, 2025 - CVE-2025-21700 published to NVD
  • November 3, 2025 - Last updated in NVD database

Technical Details for CVE-2025-21700

Vulnerability Analysis

This vulnerability (CWE-416: Use After Free) resides in the Linux kernel's traffic control scheduler implementation. The root cause is an improper handling of qdisc replacement operations that allows a child qdisc to be moved between different parent classes.

The attack requires local access and exploits a logic flaw in how the kernel processes tc qdisc replace commands. The intended semantics of the "replace" operation is to delete and add a qdisc on the same node. However, the vulnerable code allows an attacker to effectively delete a qdisc from one node (original parent) and add it to another node (new parent), creating a dangling reference scenario.

When exploited, this results in a qdisc object being referenced by multiple parent classes with an artificially inflated reference count. Subsequent deletion of one of these parent classes triggers the use-after-free condition, as the qdisc is freed while still being accessible through the remaining parent reference.

Root Cause

The vulnerability stems from insufficient validation in the qdisc replacement logic. When a tc qdisc replace command is issued, the kernel fails to verify whether the target qdisc is already attached to a different parent. This allows an attacker to create a configuration where:

  1. A qdisc (e.g., handle 4:0) is attached to one parent class (e.g., 3:1)
  2. The same qdisc handle is "replaced" onto a different parent class (e.g., 1:3)
  3. The qdisc ends up being referenced by both parent classes simultaneously
  4. The reference count is incorrectly incremented, leading to memory management issues

Attack Vector

The attack is executed locally through the tc (traffic control) utility from the iproute2 package. The attacker must have permissions to configure network queuing disciplines, which typically requires CAP_NET_ADMIN capability or root privileges in the network namespace.

The exploitation follows a multi-step process:

  1. Create a root DRR (Deficit Round Robin) qdisc on a network interface
  2. Create multiple child classes under the root qdisc
  3. Attach nested qdiscs to these classes, establishing a hierarchy
  4. Issue a tc qdisc replace command targeting an existing qdisc handle but specifying a different parent class
  5. This creates a dual-reference scenario where the qdisc is associated with multiple parents
  6. Send network traffic to populate the queues
  7. Delete one of the parent classes, triggering the UAF when the qdisc is freed prematurely
  8. Exploit the dangling pointer for privilege escalation

Detection Methods for CVE-2025-21700

Indicators of Compromise

  • Unusual or excessive tc command executions, particularly tc qdisc replace operations
  • Kernel log messages related to qdisc reference count anomalies or memory corruption
  • Unexpected kernel crashes or panics related to the net/sched subsystem
  • Processes running with elevated privileges that originated from unprivileged user accounts

Detection Strategies

  • Monitor for tc qdisc replace commands that reference existing qdisc handles with different parent specifications
  • Implement audit rules for CAP_NET_ADMIN capability usage by non-administrative users
  • Use kernel tracing (ftrace/eBPF) to monitor qdisc_graft and related functions for anomalous behavior
  • Deploy endpoint detection solutions capable of identifying privilege escalation attempts via kernel exploits

Monitoring Recommendations

  • Enable audit logging for all traffic control (tc) command executions with auditctl -a always,exit -F arch=b64 -S socket -S bind -F exe=/sbin/tc
  • Configure kernel crash dump collection to capture evidence of exploitation attempts
  • Monitor for unusual network namespace creation and configuration activities
  • Implement real-time alerting for unexpected privilege elevation events

How to Mitigate CVE-2025-21700

Immediate Actions Required

  • Apply the latest kernel security patches from your Linux distribution vendor
  • Restrict CAP_NET_ADMIN capability to only essential administrative accounts
  • Audit existing qdisc configurations for any suspicious or unnecessarily complex hierarchies
  • Consider temporarily restricting access to the tc utility for non-root users if patching is delayed

Patch Information

The Linux kernel maintainers have released patches to address this vulnerability. The fix implements validation logic that disallows replacing a child qdisc from one parent to another, enforcing the correct semantics where replacement operations must occur on the same node.

Official patches are available through the following kernel git commits:

  • Kernel Commit 38646749
  • Kernel Commit 46c59ec3
  • Kernel Commit 73c7e1d6
  • Kernel Commit 7e2bd8c1
  • Kernel Commit bc50835e
  • Kernel Commit cd796e26
  • Kernel Commit deda09c0
  • Kernel Commit fe18c21d

Debian users should refer to the Debian LTS Announcement March 2025 and Debian LTS Announcement May 2025 for distribution-specific updates.

Workarounds

  • Restrict access to traffic control utilities by modifying file permissions on /sbin/tc
  • Use SELinux or AppArmor policies to limit which processes can execute qdisc configuration commands
  • Disable or unload unnecessary network scheduler modules if the functionality is not required
  • Implement network namespace isolation to contain potential exploitation attempts
bash
# Restrict tc utility access to root only
chmod 750 /sbin/tc
chown root:root /sbin/tc

# Add audit rule to monitor tc usage
auditctl -a always,exit -F arch=b64 -F path=/sbin/tc -F perm=x -k tc_usage

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechLinux Kernel

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.03%

  • 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 March 2025

  • Debian LTS Announcement May 2025
  • Vendor Resources
  • Kernel Commit 38646749

  • Kernel Commit 46c59ec3

  • Kernel Commit 73c7e1d6

  • Kernel Commit 7e2bd8c1

  • Kernel Commit bc50835e

  • Kernel Commit cd796e26

  • Kernel Commit deda09c0

  • Kernel Commit fe18c21d
  • Related CVEs
  • CVE-2026-31430: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-31443: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-31463: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-31459: Linux Kernel Privilege Escalation Flaw
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