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-2024-35960

CVE-2024-35960: Linux Kernel mlx5 DoS Vulnerability

CVE-2024-35960 is a denial of service vulnerability in the Linux Kernel's mlx5 networking module that causes system crashes due to improper flow rule handling. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2024-35960 Overview

CVE-2024-35960 is a Null Pointer Dereference vulnerability in the Linux kernel's MLX5 network driver flow steering (fs) subsystem. The vulnerability exists in the add_rule_fg function, which fails to properly link newly created flow rules into the tree structure when those rules have a reference count greater than 1. This improper tree linkage results in rules with NULL parent and root pointers, leading to a kernel crash when the flow group is subsequently deleted.

Critical Impact

Attackers can trigger a kernel crash through malformed network flow rule operations, causing system-wide denial of service. The vulnerability allows remote exploitation without authentication, potentially impacting systems using Mellanox ConnectX network adapters with mlx5 drivers.

Affected Products

  • Linux Kernel versions prior to patched releases across multiple stable branches
  • Linux Kernel 6.9-rc1, 6.9-rc2, and 6.9-rc3
  • Debian Linux 10.0

Discovery Timeline

  • May 20, 2024 - CVE-2024-35960 published to NVD
  • April 4, 2025 - Last updated in NVD database

Technical Details for CVE-2024-35960

Vulnerability Analysis

The vulnerability resides in the MLX5 network driver's flow steering implementation, specifically in how new flow rules are integrated into the internal tree data structure. The add_rule_fg function was designed to add newly created rules into the tree only when their reference count equals 1. However, the create_flow_handle function actively searches for and references existing identical rules rather than creating duplicates, which can lead to a race condition scenario.

When create_flow_handle creates a new rule and references it, then subsequently references that same rule again during the same handle creation process, the rule ends up with a reference count of 2. Since add_rule_fg only adds rules with a refcount of 1, this rule is never properly linked into the tree structure. The resulting orphaned rule has NULL node->parent and root pointers.

The crash occurs during flow group deletion when del_sw_hw_rule is invoked. This function assumes that node->parent is non-NULL and attempts to dereference it, triggering a NULL pointer dereference that causes a kernel panic.

Root Cause

The root cause is a logic error in the add_rule_fg function that uses reference count as a proxy for determining whether a rule is "new" and needs to be added to the tree. This assumption breaks down when create_flow_handle references the same rule multiple times during a single handle creation operation. The fundamental issue is the inconsistency between how rules are created and referenced in create_flow_handle versus how they are validated for tree insertion in add_rule_fg.

An additional contributing factor mentioned in the kernel commit is incorrect handling of duplicate pkt_reformat IDs, which can cause create_flow_handle to incorrectly reference a just-added rule within the same flow handle operation.

Attack Vector

The vulnerability can be exploited through network-accessible operations that manipulate flow steering rules on systems with MLX5 network adapters. An attacker can craft specific network flow configurations that trigger the reference count condition, causing rules to be created but not properly linked into the tree. When these flow groups are later deleted through normal operations or by triggering cleanup procedures, the NULL pointer dereference occurs, crashing the kernel.

The attack requires the target system to have an MLX5-based network adapter (such as Mellanox ConnectX series) with the mlx5 driver loaded and actively processing flow steering rules. The exploit leverages the race condition inherent in the flawed rule insertion logic.

Detection Methods for CVE-2024-35960

Indicators of Compromise

  • Kernel panic messages referencing del_sw_hw_rule or flow steering operations in MLX5 driver
  • System crashes with NULL pointer dereference traces in net/mlx5 kernel module paths
  • Unexpected kernel oops events on systems running Mellanox/NVIDIA ConnectX network adapters

Detection Strategies

  • Monitor kernel logs for crash traces containing mlx5_core, add_rule_fg, create_flow_handle, or del_sw_hw_rule function names
  • Implement kernel crash dump analysis to identify NULL pointer dereference patterns in flow steering code paths
  • Deploy system monitoring to detect repeated kernel panics or unexpected reboots on network-heavy workloads

Monitoring Recommendations

  • Configure kdump or similar crash dump collection to capture kernel state during crashes for forensic analysis
  • Monitor system uptime metrics and correlate sudden reboots with network activity patterns
  • Review dmesg and syslog for mlx5 driver error messages or warnings preceding system instability

How to Mitigate CVE-2024-35960

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes the fix for CVE-2024-35960
  • For systems that cannot be immediately patched, consider limiting access to flow steering configuration interfaces
  • Monitor affected systems closely for signs of exploitation or instability

Patch Information

Linux kernel developers have released patches across multiple stable branches to address this vulnerability. The fix modifies add_rule_fg to properly add new rules without parents into the tree structure, ensuring proper initialization regardless of reference count. Multiple commits have been published to address this issue:

  • Linux Kernel Commit Fix - commit 1263b0b26077
  • Linux Kernel Commit Update - commit 2e8dc5cffc84
  • Linux Kernel Commit Patch - commit 5cf5337ef701
  • Linux Kernel Commit Revision - commit de0139719cdd

Debian users should refer to the Debian LTS Security Announcements for distribution-specific updates.

Workarounds

  • If patching is not immediately possible, reduce exposure by limiting administrative access to systems with MLX5 network adapters
  • Consider temporarily disabling or reducing usage of advanced flow steering features if operationally feasible
  • Implement network segmentation to reduce attack surface for systems running vulnerable kernel versions
bash
# Check current kernel version and mlx5 driver status
uname -r
lsmod | grep mlx5

# Verify if mlx5 driver is in use
dmesg | grep -i mlx5

# Update kernel on Debian-based systems
sudo apt update && sudo apt upgrade linux-image-$(uname -r)

# Reboot to apply new kernel
sudo reboot

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLinux Kernel

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability1.75%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-476
  • Technical References
  • Debian LTS Announcement 2024-06-17

  • Debian LTS Announcement 2024-06-20
  • Vendor Resources
  • Linux Kernel Commit Fix

  • Linux Kernel Commit Update

  • Linux Kernel Commit Change

  • Linux Kernel Commit Patch

  • Linux Kernel Commit Improvement

  • Linux Kernel Commit Modification

  • Linux Kernel Commit Refactor

  • Linux Kernel Commit Revision
  • Related CVEs
  • CVE-2026-46220: Linux Kernel AMDGPU SDMA4 DoS Vulnerability

  • CVE-2026-46214: Linux Kernel vsock/virtio DoS Vulnerability

  • CVE-2026-46206: Linux Kernel batman-adv DoS Vulnerability

  • CVE-2026-46193: Linux Kernel AH ESN DoS 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