A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2026-22996

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

CVE-2026-22996 is a use-after-free vulnerability in the Linux Kernel affecting the mlx5e driver. This flaw can cause kernel crashes during device operations. This article covers technical details, affected versions, and mitigation.

Updated: May 15, 2026

CVE-2026-22996 Overview

CVE-2026-22996 is a NULL pointer dereference vulnerability [CWE-476] in the Linux kernel's Mellanox net/mlx5e Ethernet driver. The flaw occurs because mlx5e_priv is stored in the mlx5e_dev devlink private data, but this structure can be reset via memset(0) when profile attachment fails. A subsequent devlink dev reload operation triggers mlx5e_remove to dereference stale or zeroed pointers. The result is a kernel oops and denial of service on systems using Mellanox ConnectX network adapters in switchdev mode.

Critical Impact

A local user with privileged devlink access can trigger a kernel NULL pointer dereference in mlx5e_remove, causing a system crash and denial of service on affected hosts.

Affected Products

  • Linux kernel 6.19-rc1 through 6.19-rc5
  • Systems using the mlx5_core driver with Mellanox ConnectX adapters
  • Hosts configured with eswitch switchdev mode via devlink

Discovery Timeline

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

Technical Details for CVE-2026-22996

Vulnerability Analysis

The mlx5e driver stores a pointer to mlx5e_priv inside the mlx5e_dev devlink private data area. This pointer is used to reference both the netdev and mdev associated with the device. The mlx5e_priv structure is unstable: when profile attachment fails, the driver clears the structure with memset(0), invalidating the embedded pointers.

When a subsequent devlink reload occurs, mlx5e_remove reads from the now-zeroed structure and dereferences a NULL pointer at offset 0x520. The kernel oops trace shows the fault in mlx5e_remove+0x68/0x130, invoked through device_release_driver_internal and mlx5_devlink_reload_down. The trigger sequence is reproducible by attempting devlink dev eswitch set ... mode switchdev against a device where workqueue creation fails, followed by devlink dev reload.

The upstream fix stores netdev directly in mlx5e_dev and obtains mdev from the containing mlx5_adev auxiliary device structure. This decouples devlink state from the unstable mlx5e_priv lifecycle.

Root Cause

The root cause is a lifecycle mismatch between mlx5e_priv and mlx5e_dev. The devlink layer holds a reference that outlives the validity of the mlx5e_priv structure. When profile change rollback fails, the cleared mlx5e_priv is still reachable through devlink, producing a use-after-clear condition mapped to CWE-476.

Attack Vector

Exploitation requires local privileges sufficient to invoke devlink commands, typically CAP_NET_ADMIN or root. An attacker triggers a profile attach failure, for example by forcing a workqueue kthread creation error, then issues devlink dev reload to crash the kernel. The CVSS vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H reflects a local, low-complexity attack with availability impact only.

The vulnerability is not remotely exploitable and does not lead to code execution or information disclosure. The impact is limited to denial of service through kernel panic.

Detection Methods for CVE-2026-22996

Indicators of Compromise

  • Kernel log entries containing mlx5e_priv_init failed, err=-12 followed by failed to rollback to orig profile
  • Workqueue creation errors of the form workqueue: Failed to create a rescuer kthread for wq "mlx5e": -EINTR
  • Kernel oops traces referencing mlx5e_remove+0x68/0x130 with a NULL pointer dereference at address 0x520
  • Unexpected system reboots correlated with devlink dev reload or eswitch mode changes

Detection Strategies

  • Monitor dmesg and /var/log/kern.log for mlx5_core profile init failures preceding devlink reload events
  • Audit invocations of devlink dev eswitch set and devlink dev reload against PCI devices bound to mlx5_core
  • Correlate kernel panic crash dumps with the mlx5e_remove call stack to confirm exploitation of this flaw

Monitoring Recommendations

  • Forward kernel logs to a centralized logging system and alert on mlx5e profile attach failures
  • Track usage of CAP_NET_ADMIN and devlink netlink operations through auditd rules on netlink sockets
  • Inspect kdump output after unscheduled reboots on hosts with Mellanox NICs to identify recurrence

How to Mitigate CVE-2026-22996

Immediate Actions Required

  • Apply the upstream kernel patches referenced in the kernel.org commits as soon as vendor builds become available
  • Restrict CAP_NET_ADMIN and root-equivalent privileges on systems running affected Mellanox drivers
  • Avoid running devlink dev reload on hosts where eswitch mode transitions have recently failed

Patch Information

The fix is committed upstream and removes the unsafe storage of mlx5e_priv in mlx5e_dev devlink private data. Refer to Kernel Git Commit 123eda2e, Kernel Git Commit a3d4f87d, and Kernel Git Commit dcb2ad75. Distribution kernels backporting these commits resolve the issue. Update to a kernel build that includes the fix and reboot affected hosts.

Workarounds

  • Do not switch eswitch mode to switchdev on systems where resource pressure could cause workqueue creation to fail
  • Limit devlink command access to a minimal set of trusted administrators using sudoers or polkit policies
  • Disable or unbind the mlx5_core driver on hosts that do not require Mellanox functionality until patches are applied
bash
# Restrict devlink command execution via sudoers
# /etc/sudoers.d/devlink-restrict
%netadmins ALL=(root) /usr/sbin/devlink dev show, /usr/sbin/devlink port show
%netadmins ALL=(root) !/usr/sbin/devlink dev reload *
%netadmins ALL=(root) !/usr/sbin/devlink dev eswitch set *

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

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-476
  • Vendor Resources
  • Kernel Git Commit 123eda2e

  • Kernel Git Commit a3d4f87d

  • Kernel Git Commit dcb2ad75
  • Related CVEs
  • CVE-2026-46241: Linux Kernel Use-After-Free Vulnerability

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

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

  • CVE-2026-46222: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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