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-2023-4921

CVE-2023-4921: Linux Kernel Use-After-Free Vulnerability

CVE-2023-4921 is a use-after-free flaw in the Linux kernel's net/sched sch_qfq component that enables local privilege escalation. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 4, 2026

CVE-2023-4921 Overview

A use-after-free vulnerability exists in the Linux kernel's net/sched: sch_qfq component that can be exploited to achieve local privilege escalation. This vulnerability is classified as CWE-416 (Use After Free) and affects the Quick Fair Queueing (QFQ) packet scheduler implementation within the kernel's network traffic control subsystem.

When the plug qdisc is used as a class of the qfq qdisc, sending network packets triggers a use-after-free condition in qfq_dequeue() due to the incorrect .peek handler of sch_plug and lack of error checking in agg_dequeue(). This memory corruption vulnerability allows local attackers with low privileges to potentially escalate their privileges on affected systems.

Critical Impact

Local attackers can exploit this use-after-free vulnerability to achieve privilege escalation, potentially gaining root access on affected Linux systems.

Affected Products

  • Linux Kernel (multiple versions)
  • Debian Linux 10.0

Discovery Timeline

  • September 12, 2023 - CVE-2023-4921 published to NVD
  • February 13, 2025 - Last updated in NVD database

Technical Details for CVE-2023-4921

Vulnerability Analysis

This use-after-free vulnerability occurs within the QFQ (Quick Fair Queueing) packet scheduler component of the Linux kernel's network traffic control subsystem. The QFQ scheduler is designed to provide fair bandwidth allocation among different network flows, but a flaw in its interaction with the plug qdisc creates a dangerous memory safety issue.

The vulnerability stems from improper memory management when the plug qdisc is configured as a class within the qfq qdisc hierarchy. During the packet dequeue operation, the qfq_dequeue() function accesses memory that has already been freed, creating a use-after-free condition. This occurs because the .peek handler implementation in sch_plug does not properly handle certain edge cases, and the agg_dequeue() function lacks adequate error checking.

When network packets are sent through this misconfigured qdisc hierarchy, the kernel may access freed memory, leading to memory corruption. An attacker with local access can craft specific network traffic patterns to reliably trigger this condition and potentially manipulate kernel memory to achieve privilege escalation.

Root Cause

The root cause of CVE-2023-4921 lies in two interconnected issues within the kernel's traffic control code:

  1. Incorrect .peek handler in sch_plug: The peek handler does not correctly handle the state transitions when integrated with the QFQ scheduler, returning invalid references to deallocated memory structures.

  2. Missing error checking in agg_dequeue(): The aggregation dequeue function fails to validate that the referenced memory is still valid before attempting to access it, allowing the use-after-free to occur.

These combined deficiencies allow freed memory to be accessed during the packet dequeue path, violating memory safety guarantees and enabling potential exploitation.

Attack Vector

The attack vector for CVE-2023-4921 is local, requiring an attacker to have low-privileged access to the target system. The exploitation scenario involves:

  1. Configuration Setup: The attacker needs the ability to configure traffic control qdiscs, specifically creating a qfq qdisc with a plug qdisc as one of its classes.

  2. Triggering the Vulnerability: Once the vulnerable configuration is in place, sending network packets through the configured interface triggers the use-after-free condition in qfq_dequeue().

  3. Memory Manipulation: By carefully timing the packet transmission and potentially using heap spraying techniques, an attacker can control the contents of the freed memory and redirect kernel execution flow.

  4. Privilege Escalation: Successful exploitation allows the attacker to execute arbitrary code in kernel context, enabling full system compromise and privilege escalation to root.

The vulnerability requires no user interaction and can be exploited with low attack complexity once local access is obtained.

Detection Methods for CVE-2023-4921

Indicators of Compromise

  • Unusual traffic control configurations involving qfq and plug qdiscs on network interfaces
  • Kernel crash dumps or system instability related to the net/sched subsystem
  • Unexpected privilege escalation events or unauthorized root access
  • Memory corruption signatures in kernel logs referencing qfq_dequeue or agg_dequeue

Detection Strategies

  • Monitor for tc (traffic control) commands configuring qfq qdiscs with plug qdisc classes
  • Implement kernel audit rules to track network namespace and traffic control modifications
  • Deploy kernel-level monitoring solutions to detect use-after-free exploitation patterns
  • Review system logs for kernel panics or oops messages originating from sch_qfq module

Monitoring Recommendations

  • Enable kernel memory debugging features (KASAN) in development/testing environments to detect use-after-free conditions
  • Monitor for unusual network configuration changes by unprivileged users
  • Implement SentinelOne Singularity Platform for real-time kernel-level threat detection and response
  • Configure alerts for any unexpected changes to network traffic control settings

How to Mitigate CVE-2023-4921

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes commit 8fc134fee27f2263988ae38920bc03da416b03d8
  • Restrict access to traffic control commands (tc) using system policies or container isolation
  • Review and audit existing qdisc configurations for potentially vulnerable setups
  • Apply vendor-specific security updates from distribution maintainers (e.g., Debian LTS advisories)

Patch Information

The vulnerability has been addressed in the upstream Linux kernel. The fix is available in commit 8fc134fee27f2263988ae38920bc03da416b03d8, which corrects the .peek handler behavior and adds proper error checking in the dequeue path.

For detailed patch information, refer to:

  • Linux Kernel Git Commit
  • Kernel Dance Commit Details

Debian users should consult:

  • Debian LTS Advisory (October 2023)
  • Debian LTS Advisory (January 2024)

Workarounds

  • Disable or unload the sch_qfq kernel module if not required: modprobe -r sch_qfq
  • Restrict unprivileged user access to network namespace operations
  • Use container isolation with restricted capabilities to prevent traffic control manipulation
  • Implement network policies that prevent creation of qfq qdiscs with plug qdisc classes
bash
# Configuration example - Disable sch_qfq module
# Add to /etc/modprobe.d/blacklist-qfq.conf
echo "blacklist sch_qfq" >> /etc/modprobe.d/blacklist-qfq.conf
echo "install sch_qfq /bin/false" >> /etc/modprobe.d/blacklist-qfq.conf

# Verify module is not loaded
lsmod | grep sch_qfq

# Remove module if currently loaded
modprobe -r sch_qfq

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.01%

  • 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 Advisory 2023

  • Debian LTS Advisory 2024
  • Vendor Resources
  • Linux Kernel Commit

  • Kernel Dance Commit Details
  • 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