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

CVE-2025-21647: Linux Kernel Buffer Overflow Vulnerability

CVE-2025-21647 is a buffer overflow vulnerability in the Linux Kernel sch_cake scheduler that causes out-of-bounds memory access. This post covers the technical details, affected versions, security impact, and mitigation.

Updated: January 22, 2026

CVE-2025-21647 Overview

CVE-2025-21647 is an Out-of-Bounds Read vulnerability in the Linux kernel's sch_cake (CAKE - Common Applications Kept Enhanced) traffic scheduler module. The vulnerability exists in the host bulk flow fairness counting mechanism, where an integer underflow of the per-host bulk flow counters can lead to out-of-bounds memory access. This flaw was discovered through syzbot fuzzing despite a previous logic error fix.

Critical Impact

A local attacker with low privileges can exploit this vulnerability to read sensitive kernel memory or cause a denial of service, potentially leading to system instability or information disclosure.

Affected Products

  • Linux Kernel versions prior to patched releases
  • Linux Kernel 6.11 (including RC7)
  • Linux Kernel 6.13 RC1 through RC6

Discovery Timeline

  • 2025-01-19 - CVE-2025-21647 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2025-21647

Vulnerability Analysis

The vulnerability resides in the CAKE qdisc (queueing discipline) implementation, specifically in the handling of per-host bulk flow counters used for flow fairness calculations. The sch_cake module is designed to provide improved queue management for network traffic, implementing a sophisticated flow queuing algorithm with per-host isolation capabilities.

The root issue is an integer underflow condition in the bulk flow counter management. When decrementing these counters under certain race conditions or edge cases identified by syzbot, the counter can wrap around to a large positive value, causing subsequent array indexing operations to access memory outside the intended buffer boundaries. This results in CWE-125 (Out-of-bounds Read) behavior.

Root Cause

The vulnerability stems from insufficient bounds checking on the per-host bulk flow counters before performing decrement operations. The original code scattered conditional checks for flow mode throughout multiple code paths, making it difficult to ensure consistent validation. Logic errors in these scattered checks allowed syzbot to trigger scenarios where counters could underflow, despite a previous fix attempting to address related issues.

The fix introduces dedicated helper functions that centralize all access to the per-host bulk flow counters, performing bounds checking before any increment or decrement operations. This architectural improvement not only fixes the immediate vulnerability but also improves code maintainability by consolidating the flow mode conditional checks into single locations.

Attack Vector

This is a local attack vector requiring a user to have low-level privileges on the affected system. An attacker could craft specific network traffic patterns or manipulate the CAKE qdisc configuration to trigger the underflow condition. The attack does not require user interaction and can affect confidentiality (through information disclosure from kernel memory reads) and availability (through potential system crashes).

The vulnerability is exploitable in environments where:

  • The CAKE qdisc module is loaded and in use for traffic shaping
  • Host bulk flow fairness mode is enabled
  • An attacker can influence network traffic flow patterns or qdisc configuration

Detection Methods for CVE-2025-21647

Indicators of Compromise

  • Unexpected kernel crashes or panics related to sch_cake module operations
  • Kernel log entries indicating out-of-bounds memory access in network scheduling code
  • Unusual behavior in CAKE traffic shaping functionality
  • System instability when processing high volumes of network flows

Detection Strategies

  • Monitor kernel logs for KASAN (Kernel Address Sanitizer) reports related to sch_cake or cake_ prefixed functions
  • Deploy kernel memory debugging tools to detect out-of-bounds read attempts in the network scheduler subsystem
  • Use system call auditing to monitor for unusual network qdisc configuration changes
  • Implement host-based intrusion detection rules for abnormal kernel memory access patterns

Monitoring Recommendations

  • Enable KASAN in development and staging environments to catch memory access violations early
  • Configure syslog monitoring for kernel oops or panic messages referencing net/sched/sch_cake.c
  • Monitor for suspicious processes attempting to manipulate traffic control configurations
  • Implement network flow analysis to detect unusual traffic patterns that might indicate exploitation attempts

How to Mitigate CVE-2025-21647

Immediate Actions Required

  • Update the Linux kernel to the latest patched version for your distribution
  • If immediate patching is not possible, consider temporarily disabling the CAKE qdisc module if not critical for operations
  • Review and restrict access to traffic control (tc) utilities to authorized administrators only
  • Monitor systems for signs of exploitation while preparing patch deployment

Patch Information

The Linux kernel development team has released patches that introduce bounds-checking helper functions for all accesses to per-host bulk flow counters. The fix consolidates the flow quantum calculation into a helper function and ensures proper validation before any counter modifications.

Patches are available through the following kernel commits:

  • Kernel Commit c/27202e2e
  • Kernel Commit c/44fe1efb
  • Kernel Commit c/737d4d9
  • Kernel Commit c/91bb189
  • Kernel Commit c/a777e06
  • Kernel Commit c/b1a1743
  • Kernel Commit c/bb0245f

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

Workarounds

  • Temporarily unload the sch_cake kernel module if not required: modprobe -r sch_cake
  • Switch to alternative traffic shaping qdiscs such as fq_codel until patching is complete
  • Restrict unprivileged user access to network namespace creation capabilities
  • Implement network segmentation to limit potential impact from compromised systems
bash
# Temporarily disable CAKE qdisc module
sudo modprobe -r sch_cake

# Verify module is unloaded
lsmod | grep cake

# Block automatic loading (until patched)
echo "blacklist sch_cake" | sudo tee /etc/modprobe.d/blacklist-sch_cake.conf

# If using CAKE, switch to fq_codel as temporary alternative
sudo tc qdisc replace dev eth0 root fq_codel

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechLinux

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.06%

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

  • Debian LTS Announcement - May 2025
  • Vendor Resources
  • Kernel Commit - c/27202e2e

  • Kernel Commit - c/44fe1efb

  • Kernel Commit - c/737d4d9

  • Kernel Commit - c/91bb189

  • Kernel Commit - c/a777e06

  • Kernel Commit - c/b1a1743

  • Kernel Commit - c/bb0245f
  • Related CVEs
  • CVE-2026-31484: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31422: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-23455: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-23386: Linux Kernel Buffer Overflow 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