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
    • 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-21764

CVE-2025-21764: Linux Kernel Use-After-Free Vulnerability

CVE-2025-21764 is a use-after-free flaw in the Linux Kernel's ndisc component that could allow memory corruption. This article covers the technical details, affected versions, security impact, and mitigation strategies.

Updated: January 22, 2026

CVE-2025-21764 Overview

CVE-2025-21764 is a Use After Free (UAF) vulnerability discovered in the Linux kernel's Neighbor Discovery (ndisc) subsystem. The vulnerability exists in the ndisc_alloc_skb() function, which can be called without proper RTNL (Routing Netlink) or RCU (Read-Copy-Update) protection being held. This missing synchronization mechanism creates a race condition that can lead to memory corruption through use-after-free scenarios.

Critical Impact

Local attackers with low privileges can potentially exploit this vulnerability to achieve high confidentiality, integrity, and availability impact on affected Linux systems. The lack of proper RCU protection in network stack allocation functions represents a serious kernel-level security risk.

Affected Products

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

Discovery Timeline

  • 2025-02-27 - CVE-2025-21764 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2025-21764

Vulnerability Analysis

The vulnerability resides in the ndisc_alloc_skb() function within the Linux kernel's IPv6 Neighbor Discovery protocol implementation. This function is responsible for allocating socket buffers (skb) used in neighbor discovery operations, which are essential for IPv6 address resolution and router discovery.

The core issue stems from insufficient synchronization when accessing shared data structures. In the Linux kernel, RCU is a critical synchronization mechanism that allows readers to access shared data without blocking, while ensuring that memory is not freed until all readers have finished. When ndisc_alloc_skb() is called without RTNL or RCU protection, there exists a window where memory referenced by the function could be freed by another CPU or thread while still being accessed.

This type of vulnerability can allow a local attacker to manipulate kernel memory, potentially leading to privilege escalation, information disclosure, or system crashes.

Root Cause

The root cause is a missing RCU read-side critical section in the ndisc_alloc_skb() function. The function accesses data structures that can be modified or freed by other kernel paths, but it does not acquire the necessary RCU read lock before doing so. Without this protection, a concurrent operation (such as interface deletion or configuration change) could free the memory being accessed, resulting in a use-after-free condition.

The fix adds proper RCU protection by wrapping the critical code path with rcu_read_lock() and rcu_read_unlock() calls, ensuring that referenced memory cannot be reclaimed while the function is executing.

Attack Vector

Exploitation requires local access to the system with low privileges. An attacker would need to trigger specific network operations that invoke ndisc_alloc_skb() while simultaneously causing concurrent modifications to the network device or neighbor discovery data structures.

The attack scenario involves creating a race condition between:

  1. A thread invoking neighbor discovery operations that call ndisc_alloc_skb()
  2. A concurrent thread modifying network interface configuration or triggering memory deallocation

Successful exploitation could allow the attacker to corrupt kernel memory, potentially leading to privilege escalation or arbitrary code execution in kernel context.

Detection Methods for CVE-2025-21764

Indicators of Compromise

  • Unexpected kernel panics or oops messages referencing ndisc_alloc_skb or related ndisc functions
  • System instability when handling IPv6 neighbor discovery operations
  • Kernel memory corruption indicators in dmesg logs related to the networking subsystem
  • KASAN (Kernel Address Sanitizer) reports indicating use-after-free in network allocation paths

Detection Strategies

  • Enable KASAN in development and testing environments to detect memory safety violations
  • Monitor system logs for kernel warnings or panics involving the ndisc or IPv6 networking code paths
  • Deploy kernel live patching solutions to track and alert on vulnerable kernel versions
  • Use SentinelOne Singularity platform to monitor for suspicious kernel-level activity and exploitation attempts

Monitoring Recommendations

  • Configure auditd to monitor for unusual network namespace operations
  • Enable kernel tracing on ndisc-related functions in high-security environments
  • Implement automated kernel version tracking across your infrastructure to identify unpatched systems
  • Monitor for abnormal IPv6 neighbor discovery traffic patterns that could indicate exploitation attempts

How to Mitigate CVE-2025-21764

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes RCU protection in ndisc_alloc_skb()
  • Prioritize patching systems that are exposed to local user access or container escape risks
  • Review and restrict local system access where possible until patches can be applied
  • Consider enabling kernel security modules (SELinux/AppArmor) in enforcing mode to limit exploitation potential

Patch Information

The Linux kernel maintainers have released patches across multiple stable kernel branches. The fix adds proper RCU protection to the ndisc_alloc_skb() function to prevent the use-after-free condition. Patches are available through the following kernel git commits:

  • Kernel Patch 3c2d705f5adf
  • Kernel Patch 628e6d18930b
  • Kernel Patch 96fc896d0e5b
  • Kernel Patch 9e0ec817eb41

Debian users should consult the Debian LTS security announcements for distribution-specific package updates.

Workarounds

  • Limit local user access to systems running vulnerable kernel versions where possible
  • Implement strict access controls and user privilege restrictions to reduce attack surface
  • Consider disabling IPv6 on systems where it is not required as a temporary mitigation
  • Deploy network segmentation to limit exposure of vulnerable systems
bash
# Check current kernel version
uname -r

# Verify if IPv6 can be temporarily disabled (if not required)
sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1

# Make persistent (add to /etc/sysctl.conf if IPv6 is not needed)
echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl.conf
echo "net.ipv6.conf.default.disable_ipv6 = 1" >> /etc/sysctl.conf

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

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

  • Debian LTS Announce May 2025
  • Vendor Resources
  • Kernel Git Commit Update

  • Kernel Git Commit Update

  • Kernel Git Commit Update

  • Kernel Git Commit Update

  • Kernel Git Commit Update

  • Kernel Git Commit Update

  • Kernel Git Commit Update

  • Kernel Git Commit Update
  • Related CVEs
  • CVE-2026-23462: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23458: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23435: Linux Kernel Use-After-Free Vulnerability

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