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

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

CVE-2025-68801 is a use-after-free vulnerability in the Linux kernel's mlxsw spectrum router component that allows improper neighbour pointer dereferencing. This post explains its impact, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-68801 Overview

CVE-2025-68801 is a use-after-free vulnerability in the Linux kernel's mlxsw spectrum_router module. The vulnerability occurs in the neighbour entry handling code where the driver stores a pointer to a neighbour structure without properly holding a reference to it. This improper reference counting allows for a use-after-free condition when dereferencing the neighbour pointer after the underlying memory has been freed.

Critical Impact

Local attackers with sufficient privileges could potentially exploit this use-after-free vulnerability to cause denial of service (kernel crash) or potentially achieve privilege escalation through memory corruption in kernel space.

Affected Products

  • Linux kernel with mlxsw spectrum driver (Mellanox/Nvidia switch hardware)
  • Linux kernel versions prior to the security patches
  • Systems running Nvidia SN5600 and similar Mellanox spectrum-based switches

Discovery Timeline

  • January 13, 2026 - CVE CVE-2025-68801 published to NVD
  • January 13, 2026 - Last updated in NVD database

Technical Details for CVE-2025-68801

Vulnerability Analysis

The vulnerability exists in the mlxsw spectrum router's neighbour entry management. When the driver handles neighbour entries for nexthop routing, it stores pointers to neighbour structures without maintaining proper reference counts. A reference is only taken when the neighbour is actively used by a nexthop, but the driver continues to store and dereference the pointer even after the neighbour has been freed through RCU (Read-Copy-Update) mechanisms.

The KASAN (Kernel Address Sanitizer) report shows the use-after-free occurring in the mlxsw_sp_neigh_entry_update() function, triggered during a network device unlinking operation. The call trace demonstrates the issue manifesting when:

  1. A VRF (Virtual Routing and Forwarding) slave device is being unlinked
  2. The router RIF (Router Interface) synchronization process attempts to update neighbour entries
  3. The driver dereferences a neighbour pointer that has already been freed

The freed memory was originally allocated by neigh_alloc() during nexthop initialization and was later freed via kvfree_rcu_bulk() during neighbour event processing, creating a classic TOCTOU-style race condition.

Root Cause

The root cause is an improper reference counting scheme in the mlxsw spectrum router driver. The driver was designed to store neighbour pointers in neighbour entries but only increment the reference count when the neighbour was actively used by a nexthop. This approach failed to account for scenarios where the neighbour could be freed independently while the driver still held a stale pointer.

The fix simplifies the reference counting by always taking a reference when storing a neighbour pointer in a neighbour entry. When the neighbour is used by a nexthop, no additional reference is taken since the associated neighbour entry already holds one.

Attack Vector

The vulnerability can be triggered through network configuration operations that cause neighbour entries to be updated while the underlying neighbour structures are being freed. This typically involves:

The attack requires local access and the ability to manipulate network device configurations. An attacker could trigger the race condition by rapidly configuring and removing network interfaces, VRF slave devices, or routing entries that utilize the mlxsw spectrum router driver. The KASAN report shows the issue can be triggered through netlink operations (rtnetlink_rcv_msg) that modify device master associations.

Detection Methods for CVE-2025-68801

Indicators of Compromise

  • Kernel panic or crash messages containing mlxsw_sp_neigh_entry_update in the stack trace
  • KASAN reports indicating slab-use-after-free in mlxsw spectrum router functions
  • System instability when performing network configuration changes on Mellanox/Nvidia spectrum switches
  • Unexpected kernel oops or BUG messages related to the mlxsw driver during VRF or LAG operations

Detection Strategies

  • Enable KASAN (Kernel Address Sanitizer) in kernel builds to detect use-after-free conditions at runtime
  • Monitor kernel logs for any mlxsw-related crash dumps or memory corruption warnings
  • Deploy kernel debugging tools to trace memory allocation and deallocation in the mlxsw module
  • Implement automated kernel log analysis to detect patterns matching the vulnerability signature

Monitoring Recommendations

  • Configure centralized logging for all systems running mlxsw spectrum drivers
  • Set up alerting for kernel panic events or unexpected reboots on affected switch hardware
  • Monitor for unusual network configuration activity that could indicate exploitation attempts
  • Review audit logs for netlink operations affecting VRF and LAG configurations

How to Mitigate CVE-2025-68801

Immediate Actions Required

  • Update the Linux kernel to a patched version containing the reference counting fix
  • Review and prioritize patching for all systems using Mellanox/Nvidia spectrum-based network hardware
  • Monitor systems for signs of exploitation until patches can be applied
  • Consider limiting access to network configuration capabilities on affected systems

Patch Information

Multiple patch commits have been released to address this vulnerability. The fix simplifies the reference counting scheme by always taking a reference when storing a neighbour pointer in a neighbour entry. The patches have been tested extensively, with the developers running the reproducing test over 300 times without observing the issue after applying the fix.

Apply the kernel patches from the following commits:

  • Linux Kernel Commit 4a3c569
  • Linux Kernel Commit 675c5ae
  • Linux Kernel Commit 8b0e697
  • Linux Kernel Commit c437fbf
  • Linux Kernel Commit ed8141b

Workarounds

  • Limit network configuration operations on affected systems until patches can be applied
  • Restrict access to netlink configuration interfaces to trusted administrators only
  • Avoid rapid reconfiguration of VRF slave devices and LAG interfaces on production systems
  • Consider using alternative network drivers or hardware if patching is not immediately feasible
bash
# Check if your system is running an affected mlxsw driver
lsmod | grep mlxsw

# Verify kernel version and check for available updates
uname -r
apt list --upgradable | grep linux-image  # Debian/Ubuntu
yum check-update kernel  # RHEL/CentOS

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

  • SeverityNONE

  • CVSS ScoreN/A

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Linux Kernel Commit 4a3c569

  • Linux Kernel Commit 675c5ae

  • Linux Kernel Commit 8b0e697

  • Linux Kernel Commit c437fbf

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