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

CVE-2025-21765: Linux Kernel Privilege Escalation Flaw

CVE-2025-21765 is a privilege escalation vulnerability in the Linux Kernel affecting IPv6 RCU protection. This flaw could allow attackers to elevate privileges. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-21765 Overview

CVE-2025-21765 is a vulnerability in the Linux kernel's IPv6 networking stack where the ip6_default_advmss() function lacks proper RCU (Read-Copy-Update) protection. This missing synchronization mechanism can lead to a race condition where the network namespace structure being read may be freed while still in use, potentially causing a denial of service condition through kernel crashes or system instability.

Critical Impact

Local attackers with low privileges can exploit this race condition to cause system denial of service by triggering use-after-free scenarios in the kernel's IPv6 networking subsystem.

Affected Products

  • Linux Kernel (multiple versions)
  • Linux Kernel 6.14-rc1
  • Linux Kernel 6.14-rc2

Discovery Timeline

  • February 27, 2025 - CVE-2025-21765 published to NVD
  • November 03, 2025 - Last updated in NVD database

Technical Details for CVE-2025-21765

Vulnerability Analysis

This vulnerability exists in the Linux kernel's IPv6 implementation, specifically within the ip6_default_advmss() function. The function is responsible for calculating the default advertised Maximum Segment Size (MSS) for IPv6 connections. The core issue is that this function accesses the network namespace (net) structure without proper RCU (Read-Copy-Update) protection.

RCU is a synchronization mechanism used extensively in the Linux kernel to allow concurrent read access to shared data structures while updates are being made. Without proper RCU protection, there is a race condition where the net structure could be freed by another thread while ip6_default_advmss() is still reading from it.

Root Cause

The root cause is a missing RCU read-side critical section in the ip6_default_advmss() function. When the kernel accesses network namespace structures, it must use rcu_read_lock() and rcu_read_unlock() to ensure the structure remains valid during access. The absence of these RCU primitives creates a window where the network namespace can be destroyed while the function is still referencing it, leading to use-after-free or null pointer dereference conditions.

Attack Vector

The vulnerability requires local access to exploit. An attacker with low-level privileges on the system could potentially trigger this race condition by:

  1. Creating and manipulating network namespaces to increase race condition timing windows
  2. Generating IPv6 network traffic that invokes the ip6_default_advmss() function
  3. Rapidly creating and destroying network namespaces while IPv6 operations are in progress

Successful exploitation results in a kernel panic or system crash, causing denial of service. The attack does not require user interaction and can affect system availability.

The fix involves wrapping the network namespace access in ip6_default_advmss() with proper rcu_read_lock() and rcu_read_unlock() calls to ensure the net structure remains valid throughout the function's execution.

Detection Methods for CVE-2025-21765

Indicators of Compromise

  • Unexpected kernel panics or system crashes with stack traces referencing ip6_default_advmss() or IPv6 networking code
  • Kernel oops messages in system logs (/var/log/kern.log or dmesg) related to network namespace operations
  • System instability when creating or destroying network namespaces with active IPv6 traffic

Detection Strategies

  • Monitor kernel logs for stack traces containing ip6_default_advmss, ip6_dst_ops, or related IPv6 routing functions
  • Implement kernel crash monitoring using tools like kdump or crash to capture and analyze kernel crashes
  • Deploy system monitoring to detect unexpected reboots or kernel panic events, particularly on systems with heavy IPv6 usage

Monitoring Recommendations

  • Enable kernel auditing for network namespace creation and destruction events
  • Configure system health monitoring to alert on kernel panic occurrences
  • Review /var/log/messages and /var/log/syslog for RCU-related warnings or network namespace errors
  • Use SentinelOne's Linux agent to monitor for system anomalies and potential exploitation attempts

How to Mitigate CVE-2025-21765

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes the RCU protection fix
  • Review and apply vendor-specific security updates from your Linux distribution
  • For Debian-based systems, apply updates referenced in the Debian LTS Announcement March 2025 and Debian LTS Announcement May 2025
  • Prioritize patching systems with active IPv6 networking and network namespace usage

Patch Information

The Linux kernel development team has released patches to address this vulnerability across multiple stable kernel branches. The fix adds proper RCU protection to the ip6_default_advmss() function to prevent the race condition.

Official patches are available from the following kernel commits:

  • Kernel Commit 28de355b
  • Kernel Commit 3c8ffcd2
  • Kernel Commit 4176a68b
  • Kernel Commit 550ed693
  • Kernel Commit 713a40c8
  • Kernel Commit 78ad0574
  • Kernel Commit 84212387
  • Kernel Commit d02f30d2

Workarounds

  • Limit network namespace creation privileges to trusted administrators only
  • If IPv6 is not required, consider disabling IPv6 temporarily by setting net.ipv6.conf.all.disable_ipv6=1 via sysctl
  • Restrict local user access on systems where patching cannot be immediately performed
bash
# Temporary workaround: Disable IPv6 if not required
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1

# Make persistent across reboots (add to /etc/sysctl.conf)
echo "net.ipv6.conf.all.disable_ipv6=1" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.default.disable_ipv6=1" | sudo tee -a /etc/sysctl.conf

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

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.06%

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

  • Debian LTS Announcement May 2025
  • Vendor Resources
  • Linux Kernel Commit Change 1

  • Linux Kernel Commit Change 2

  • Linux Kernel Commit Change 3

  • Linux Kernel Commit Change 4

  • Linux Kernel Commit Change 5

  • Linux Kernel Commit Change 6

  • Linux Kernel Commit Change 7

  • Linux Kernel Commit Change 8
  • 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