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
    • 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-2026-23000

CVE-2026-23000: Linux Kernel Use-After-Free Vulnerability

CVE-2026-23000 is a use-after-free vulnerability in the Linux kernel's mlx5e driver that causes crashes during profile change rollback failures. This article covers technical details, affected versions, and mitigation.

Published: January 30, 2026

CVE-2026-23000 Overview

A null pointer dereference vulnerability has been identified in the Linux kernel's Mellanox mlx5e network driver. The vulnerability occurs in the mlx5e_netdev_change_profile function when a profile change fails and the subsequent rollback also fails, leaving the system with a dangling network device containing a fully reset netdev_priv structure. A subsequent attempt to change the profile, such as through switchdev mode modification, will crash the kernel when trying to access the now NULL priv->mdev pointer.

Critical Impact

This vulnerability can cause kernel crashes and system instability on systems using Mellanox ConnectX network adapters when switchdev mode changes fail, potentially leading to denial of service conditions in data center and cloud environments.

Affected Products

  • Linux kernel with mlx5e (Mellanox ConnectX Ethernet) driver
  • Systems utilizing Mellanox mlx5_core networking hardware
  • Environments leveraging switchdev mode for network device virtualization

Discovery Timeline

  • January 25, 2026 - CVE CVE-2026-23000 published to NVD
  • January 26, 2026 - Last updated in NVD database

Technical Details for CVE-2026-23000

Vulnerability Analysis

The vulnerability resides in the Linux kernel's mlx5e network driver, specifically within the profile change mechanism. When mlx5e_netdev_change_profile() attempts to attach a new profile and fails, it tries to rollback to the old profile. If this rollback also fails, the netdev_priv structure becomes fully reset, resulting in a dangling network device with NULL internal pointers.

The problematic code path occurs during switchdev mode transitions. The kernel oops trace shows the crash occurs in mlx5e_detach_netdev() when accessing memory at offset 0x38 of a NULL pointer (the priv->mdev field). The call chain involves mlx5e_netdev_change_profile → mlx5e_vport_rep_load → mlx5_esw_offloads_rep_load → esw_offloads_enable, indicating this is triggered during E-Switch offload operations.

The kernel log messages explicitly show the failure sequence: the initial profile initialization fails with error -12 (ENOMEM - out of memory), followed by a failed rollback attempt, also returning -12. When a second attempt is made to enable switchdev mode, the kernel dereferences the NULL mdev pointer.

Root Cause

The root cause is that mlx5e_netdev_change_profile() assumes the priv structure is always valid. When both the new profile attachment and old profile rollback fail consecutively, the function leaves the network device in an inconsistent state where priv->mdev is NULL. The code lacks defensive checks to handle this edge case where previous failures have left the priv structure in an invalid state.

Attack Vector

This vulnerability is triggered through local system operations involving network device configuration changes. An attacker with sufficient privileges to modify network device settings could potentially exploit this by:

  1. Inducing memory pressure conditions that cause mlx5e_priv_init to fail with ENOMEM
  2. Triggering workqueue creation failures (as shown in the logs: "Failed to create a rescuer kthread")
  3. Repeatedly attempting switchdev mode changes after the initial failure

The attack requires local access and elevated privileges to modify network device configurations. While primarily a denial of service vector, the null pointer dereference could potentially be leveraged for more severe attacks depending on the kernel configuration and memory layout.

Detection Methods for CVE-2026-23000

Indicators of Compromise

  • Kernel panic or oops messages containing mlx5e_detach_netdev in the call trace
  • Error messages: "mlx5e_netdev_change_profile: failed to rollback to orig profile"
  • Workqueue errors: "Failed to create a rescuer kthread for wq 'mlx5e'"
  • NULL pointer dereference at address 0x0000000000000038 with RIP pointing to mlx5e_detach_netdev

Detection Strategies

  • Monitor kernel logs for mlx5e driver profile change failures and rollback errors
  • Implement alerting on kernel NULL pointer dereference crashes in network driver code paths
  • Track devlink eswitch mode change operations and their success/failure rates
  • Watch for repeated switchdev mode enable attempts following initial failures

Monitoring Recommendations

  • Deploy kernel crash dump analysis to identify mlx5e-related null pointer dereferences
  • Monitor system memory pressure as low memory conditions can trigger the vulnerability
  • Alert on mlx5_devlink_eswitch_mode_set operations that fail consecutively
  • Track mlx5_core driver error messages in syslog for profile initialization failures

How to Mitigate CVE-2026-23000

Immediate Actions Required

  • Apply the kernel patches from the stable kernel git repository
  • Avoid making switchdev mode changes during periods of high memory pressure
  • Monitor systems with Mellanox ConnectX adapters for crash symptoms
  • Consider temporarily disabling automatic network configuration scripts that may trigger profile changes

Patch Information

The Linux kernel maintainers have released patches to address this vulnerability. The fix modifies mlx5e_netdev_change_profile() to handle previous failures gracefully by not assuming priv is always valid. The updated code passes netdev and mdev directly to functions requiring profile changes, rather than relying on priv. Before attempting to access the old profile, the function now checks if the current priv is valid.

The patches are available from the kernel git repository:

  • Kernel Git Commit Change
  • Kernel Git Commit Update
  • Kernel Git Commit Fix

Workarounds

  • Ensure adequate system memory is available before performing switchdev mode changes
  • Implement retry logic with delays after profile change failures to allow system recovery
  • Consider temporarily using legacy eswitch mode instead of switchdev mode on affected systems
  • Monitor workqueue creation failures and address underlying resource constraints before retrying operations
bash
# Check current eswitch mode before making changes
devlink dev eswitch show pci/0000:03:00.0

# Ensure sufficient memory before mode change
free -m
echo 3 > /proc/sys/vm/drop_caches

# Monitor kernel logs during mode changes
dmesg -w | grep -E "(mlx5|eswitch|switchdev)"

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

  • EPSS Probability0.02%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Git Commit Change

  • Kernel Git Commit Update

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