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

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

CVE-2026-22996 is a use-after-free vulnerability in the Linux kernel's net/mlx5e driver that causes kernel crashes during device reload operations. This article covers the technical details, affected systems, and mitigation.

Published: January 30, 2026

CVE-2026-22996 Overview

CVE-2026-22996 is a Null Pointer Dereference vulnerability in the Linux kernel's Mellanox mlx5e network driver. The vulnerability exists in the devlink private data handling where an unstable mlx5e_priv structure is stored in the mlx5e_dev devlink private area. When profile attachment fails, this structure can be zeroed out via memset(0), leading to a kernel NULL pointer dereference during subsequent device removal operations.

The flaw manifests when switching the eswitch to switchdev mode fails due to profile change failures. Upon attempting a devlink device reload, the kernel triggers an oops due to accessing the zeroed structure at offset 0x520, causing system instability and potential denial of service conditions.

Critical Impact

This vulnerability can cause kernel crashes and system instability when mlx5 network devices fail profile changes, potentially leading to denial of service conditions on affected Linux systems.

Affected Products

  • Linux kernel with mlx5e (Mellanox ConnectX) network driver support
  • Systems using mlx5_core module with devlink switchdev mode
  • QEMU/KVM virtual environments with mlx5 passthrough configurations

Discovery Timeline

  • 2026-01-25 - CVE CVE-2026-22996 published to NVD
  • 2026-01-26 - Last updated in NVD database

Technical Details for CVE-2026-22996

Vulnerability Analysis

The vulnerability stems from improper handling of the mlx5e_priv structure within the devlink private data context. The mlx5e_priv structure is used to reference the netdev and mdev (Mellanox device) associated with the mlx5e driver instance. However, this structure is inherently unstable—when profile attachment fails during operations like eswitch mode changes, the structure is cleared using memset(0).

The problem occurs in the mlx5e_remove function at offset 0x68, where the code attempts to access memory at address 0x520 (NULL + offset) after the structure has been zeroed. This happens because the devlink private data still contains a pointer to the now-invalid structure. The call trace shows the crash occurring during device release operations triggered by devlink_reload, specifically through mlx5_detach_device and mlx5_unload_one_devl_locked.

The kernel log output demonstrates the failure sequence: first, workqueue creation fails with -EINTR, then mlx5e_priv_init fails with -12 (ENOMEM), and finally the profile rollback also fails. When a subsequent reload is attempted, the kernel encounters the NULL pointer dereference.

Root Cause

The root cause is an architectural design flaw in how the mlx5e driver manages the relationship between devlink private data and the mlx5e_priv structure. By storing a pointer to mlx5e_priv in the devlink private area, the code creates a dangling reference scenario when profile initialization fails and the structure is cleared.

The fix involves storing the netdev directly into mlx5e_dev and obtaining the mdev from the containing mlx5_adev auxiliary device structure, eliminating the dependency on the unstable mlx5e_priv structure.

Attack Vector

This vulnerability is triggered through local system operations, specifically:

  1. An administrator or privileged user issues a devlink command to change the eswitch mode to switchdev
  2. The profile change fails (potentially due to resource exhaustion or interruption)
  3. The mlx5e_priv structure is zeroed during cleanup
  4. A subsequent devlink reload command causes the kernel to access the zeroed structure
  5. The NULL pointer dereference triggers a kernel oops, causing system crash or instability

The attack requires local access with sufficient privileges to execute devlink commands. While not remotely exploitable, this vulnerability can be leveraged for denial of service attacks or potentially as part of a larger exploit chain targeting systems with mlx5 hardware.

Detection Methods for CVE-2026-22996

Indicators of Compromise

  • Kernel oops messages containing mlx5e_remove in the call trace
  • NULL pointer dereference errors at address 0x0000000000000520
  • Log entries showing mlx5e_priv_init failed followed by profile rollback failures
  • Workqueue creation failures for "mlx5e" with -EINTR error codes

Detection Strategies

  • Monitor kernel logs (dmesg) for BUG: kernel NULL pointer dereference messages associated with mlx5 operations
  • Implement auditd rules to track devlink eswitch mode change commands
  • Deploy kernel crash dump analysis to identify mlx5e_remove in stack traces
  • Configure SentinelOne Singularity agent to detect kernel panic events and driver-related crashes

Monitoring Recommendations

  • Enable persistent kernel logging to capture crash events across reboots
  • Configure kernel crash dump collection (kdump) for post-mortem analysis
  • Monitor for failed eswitch mode transitions via netlink socket monitoring
  • Set up alerting for mlx5_core driver error messages indicating profile failures

How to Mitigate CVE-2026-22996

Immediate Actions Required

  • Update the Linux kernel to a patched version containing the fix
  • Avoid switching eswitch modes on production systems until patched
  • Monitor mlx5 driver operations for failure conditions that could trigger the vulnerability
  • Consider temporarily disabling switchdev mode functionality if not required

Patch Information

The vulnerability has been addressed through kernel patches that modify how the mlx5e driver manages netdev references. The fix stores netdev directly into mlx5e_dev instead of referencing it through the unstable mlx5e_priv structure. Patches are available through the following kernel git commits:

  • Kernel Git Commit 123eda2e
  • Kernel Git Commit a3d4f87d
  • Kernel Git Commit dcb2ad75

Workarounds

  • Avoid using devlink eswitch mode switchdev transitions until the kernel is patched
  • Implement resource limits to prevent workqueue creation failures that trigger the vulnerability
  • Disable automatic device reload operations for mlx5 devices in high-availability environments
  • Consider using alternative networking configurations that don't require switchdev mode
bash
# Configuration example
# Check current eswitch mode (do not change if unpatched)
devlink dev eswitch show pci/0000:00:03.0

# Verify kernel version includes the fix
uname -r

# Check for mlx5_core module version
modinfo mlx5_core | grep version

# Monitor for vulnerability indicators
dmesg | grep -E "mlx5e_priv_init failed|NULL pointer dereference.*mlx5"

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 Reference

  • Kernel Git Commit Reference

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