The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-21702

CVE-2025-21702: Linux Kernel Privilege Escalation Flaw

CVE-2025-21702 is a privilege escalation vulnerability in the Linux Kernel's pfifo_tail_enqueue function that allows local attackers to escalate privileges. This article covers technical details, affected versions, and mitigations.

Updated: January 22, 2026

CVE-2025-21702 Overview

CVE-2025-21702 is a privilege escalation vulnerability in the Linux kernel's network packet scheduler subsystem. The flaw exists in the pfifo_tail_enqueue() function, which improperly handles the queue length (qlen) counter when the scheduler's limit is set to zero. This logic error creates an inconsistency between parent and child qdisc queue lengths, which can be exploited to escalate privileges from user to kernel level.

Critical Impact

This vulnerability enables local privilege escalation from user to kernel level by exploiting a logic flaw in the Linux kernel's packet scheduler queue length management.

Affected Products

  • Linux Kernel (multiple versions)
  • Linux Kernel 6.14-rc1
  • Debian Linux (via kernel packages)

Discovery Timeline

  • February 18, 2025 - CVE-2025-21702 published to NVD
  • November 3, 2025 - Last updated in NVD database

Technical Details for CVE-2025-21702

Vulnerability Analysis

The vulnerability resides in the pfifo_tail_enqueue() function within the Linux kernel's traffic control (tc) subsystem. Under normal operation, when a packet scheduler reaches its configured limit, pfifo_tail_enqueue() drops an existing packet from the queue, decrements the qlen counter, enqueues the new packet, increments the qlen counter, and returns NET_XMIT_CN status code.

However, when sch->limit is configured to 0 and pfifo_tail_enqueue() is invoked on an empty scheduler, the "drop a packet" step performs no operation since there are no packets to drop. The function then proceeds to enqueue the new packet and increment qlen by one, creating a state where the qlen is increased without a corresponding packet being dropped first.

Root Cause

The root cause is improper boundary condition handling in pfifo_tail_enqueue(). The function fails to validate and handle the edge case where sch->limit == 0. When this condition exists and the scheduler has no packets, the function skips the drop operation but still increments the queue length counter, violating the invariant that a parent qdisc's qlen should equal the sum of its children's qlen values.

Attack Vector

An attacker with local access can exploit this vulnerability by creating a hierarchical qdisc configuration:

  1. Configure a parent qdisc (such as hfsc or drr) that supports the ->graft() function for creating parent/child relationships
  2. Configure a child qdisc of type pfifo_head_drop with sch->limit == 0
  3. Route packets through the parent qdisc to the child qdisc
  4. When hfsc_enqueue() calls pfifo_tail_enqueue(), the child's qlen increases by 1 while the parent's qlen remains 0
  5. This qlen desynchronization creates memory management inconsistencies that can be leveraged for privilege escalation

The exploitation mechanism leverages the fact that hfsc_enqueue() checks for NET_XMIT_SUCCESS and, upon receiving NET_XMIT_CN, does not increment the parent qdisc's qlen. This results in a parent qdisc with qlen=0 while its child has qlen=1, violating kernel invariants and creating exploitable conditions.

Detection Methods for CVE-2025-21702

Indicators of Compromise

  • Unexpected or anomalous qdisc configurations with limit set to 0
  • System instability or crashes related to traffic control subsystem
  • Suspicious local user activity involving tc (traffic control) commands
  • Kernel log messages indicating qlen inconsistencies or scheduler errors

Detection Strategies

  • Monitor for unusual tc qdisc configuration changes, especially those setting limit=0
  • Implement audit rules for traffic control syscalls and netlink operations
  • Deploy kernel-level monitoring for unexpected privilege escalation attempts
  • Use SentinelOne Singularity Platform to detect behavioral anomalies associated with local privilege escalation

Monitoring Recommendations

  • Enable kernel auditing for network namespace and traffic control operations
  • Monitor for processes creating complex hierarchical qdisc configurations
  • Track kernel module loading and traffic control subsystem interactions
  • Implement real-time alerting on privilege escalation indicators

How to Mitigate CVE-2025-21702

Immediate Actions Required

  • Apply the latest kernel security patches from your Linux distribution
  • Review and restrict access to traffic control configuration capabilities
  • Limit CAP_NET_ADMIN capability to trusted administrators only
  • Consider using network namespaces to isolate untrusted workloads

Patch Information

The Linux kernel maintainers have released patches across multiple stable branches. The fix ensures that pfifo_tail_enqueue() properly drops the new packet when sch->limit == 0, preventing the qlen inconsistency.

Patch commits are available from the kernel.org Git repository:

  • Kernel Git Commit 020ecb7
  • Kernel Git Commit 647cef2
  • Kernel Git Commit 78285b5
  • Kernel Git Commit 79a955e

Debian users should refer to the Debian LTS Security Announcements for distribution-specific patched packages.

Workarounds

  • Restrict access to CAP_NET_ADMIN capability to prevent unauthorized qdisc configuration
  • Use network namespaces to limit the scope of traffic control configurations
  • Implement mandatory access control (SELinux/AppArmor) policies to restrict traffic control operations
  • Monitor and audit all qdisc configuration changes on production systems
bash
# Restrict traffic control capabilities
# Remove CAP_NET_ADMIN from unprivileged users
setcap -r /usr/sbin/tc

# Audit tc configuration changes
auditctl -w /sbin/tc -p x -k traffic_control
auditctl -a always,exit -F arch=b64 -S setsockopt -F a1=0 -k netlink_audit

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.0

  • EPSS Probability0.05%

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

  • Debian LTS Announcement #45
  • Vendor Resources
  • Kernel Git Commit 020ecb7

  • Kernel Git Commit 647cef2

  • Kernel Git Commit 78285b5

  • Kernel Git Commit 79a955e

  • Kernel Git Commit 7a9723e

  • Kernel Git Commit a56a6e8

  • Kernel Git Commit b6a079c

  • Kernel Git Commit e40cb34
  • Related CVEs
  • CVE-2026-31411: Linux Kernel Privilege Escalation Flaw

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

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

  • CVE-2026-23437: 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