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

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

CVE-2025-68779 is a use-after-free vulnerability in the Linux kernel's mlx5e driver that causes refcount underflow when PSP is unregistered twice. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-68779 Overview

A use-after-free vulnerability has been identified in the Linux kernel's Mellanox mlx5e network driver. The flaw occurs when the Platform Security Processor (PSP) component is unregistered twice during device removal, leading to a reference count underflow. This double unregistration happens through two separate code paths: _mlx5e_remove calling mlx5e_psp_unregister and mlx5e_nic_cleanup also calling mlx5e_psp_unregister.

Critical Impact

This vulnerability can trigger a refcount underflow condition leading to a use-after-free scenario, potentially causing system instability, kernel panics, or in certain scenarios, could be leveraged for privilege escalation on systems utilizing Mellanox ConnectX network adapters.

Affected Products

  • Linux kernel with mlx5_core driver module
  • Systems utilizing Mellanox/NVIDIA ConnectX network adapters
  • Linux distributions with affected kernel versions containing the mlx5e driver

Discovery Timeline

  • 2026-01-13 - CVE CVE-2025-68779 published to NVD
  • 2026-01-13 - Last updated in NVD database

Technical Details for CVE-2025-68779

Vulnerability Analysis

This vulnerability manifests in the mlx5e network driver's device cleanup routine. The core issue stems from improper resource management during driver removal operations. When a Mellanox network device is being removed from the system, the PSP (Platform Security Processor) unregistration function is invoked from two distinct code paths simultaneously.

The first invocation occurs through the _mlx5e_remove function, which directly calls mlx5e_psp_unregister. The second invocation happens when mlx5e_nic_cleanup is called as part of the profile cleanup process, which also attempts to unregister the PSP component. This double unregistration causes the internal reference counter to decrement below zero, triggering a kernel warning about refcount underflow.

The kernel stack trace reveals the problematic execution path traversing through the auxiliary bus subsystem, device driver release mechanisms, and ultimately the mlx5 driver rescanning routines. This indicates the issue can be triggered during dynamic device hot-removal scenarios or driver unload operations.

Root Cause

The root cause is a design flaw in the driver's cleanup logic where the PSP unregistration responsibility was not clearly delineated between the direct removal path and the profile cleanup path. The mlx5e_psp_unregister function was being called redundantly without proper guard checks to prevent multiple invocations. The fix consolidates PSP cleanup to occur exclusively as part of the profile cleanup process, removing the direct call from _mlx5e_remove.

Attack Vector

The attack vector for this vulnerability is local and requires the ability to trigger device removal or driver unload operations. An attacker with local access could potentially trigger this condition by:

  1. Initiating device hot-removal procedures for Mellanox network adapters
  2. Unloading and reloading the mlx5_core kernel module
  3. Triggering driver rescanning operations through the auxiliary bus subsystem

The vulnerability occurs during specific timing windows in the device removal process. While exploitation for privilege escalation would require sophisticated race condition manipulation, the immediate impact is system instability and potential denial of service through kernel crashes.

Detection Methods for CVE-2025-68779

Indicators of Compromise

  • Kernel warning messages containing refcount_t: underflow; use-after-free in system logs
  • Stack traces in dmesg referencing mlx5e_psp_unregister and mlx5e_nic_cleanup functions
  • Unexpected kernel panics or system reboots on systems with Mellanox network adapters
  • Audit log entries showing repeated driver removal/reload operations targeting mlx5_core

Detection Strategies

  • Monitor kernel logs for refcount underflow warnings using tools like journalctl or syslog aggregation
  • Implement kernel module load/unload auditing to detect suspicious driver manipulation
  • Deploy runtime kernel integrity monitoring to detect anomalous mlx5_core module behavior
  • Configure alerting on system crash dumps containing mlx5e driver references

Monitoring Recommendations

  • Enable kernel oops reporting and configure crash dump collection for forensic analysis
  • Monitor /var/log/kern.log and /var/log/messages for mlx5-related warning patterns
  • Implement SNMP or syslog forwarding for centralized kernel event monitoring
  • Configure SentinelOne to alert on kernel-level memory corruption indicators

How to Mitigate CVE-2025-68779

Immediate Actions Required

  • Update to a patched Linux kernel version containing the fix commits
  • Restrict local access to systems with Mellanox network adapters to authorized personnel only
  • Avoid driver reload operations on production systems until patched
  • Consider temporarily disabling hot-plug functionality for Mellanox devices if possible

Patch Information

The vulnerability has been resolved in upstream Linux kernel commits. The fix removes the direct PSP unregistration call from the _mlx5e_remove path, ensuring cleanup occurs exclusively through the profile cleanup mechanism. The relevant patches are available in the stable kernel tree:

  • Commit 35e93736f699
  • Commit e12c912f92cc

Organizations should apply kernel updates from their respective Linux distribution vendors as they become available.

Workarounds

  • Avoid triggering device hot-removal operations on affected systems until patched
  • Restrict kernel module manipulation privileges to root-only access
  • Implement SELinux or AppArmor policies to limit access to driver management operations
  • Monitor for and prevent unauthorized attempts to unload/reload the mlx5_core module

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
  • Kernel Git Commit Log

  • Kernel Git Commit Log
  • 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