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

CVE-2024-36896: Linux Kernel Use-After-Free Vulnerability

CVE-2024-36896 is a use-after-free vulnerability in Linux Kernel USB core that causes access violations during port device removal. This article covers the technical details, affected versions, impact, and mitigation.

Updated: May 15, 2026

CVE-2024-36896 Overview

CVE-2024-36896 is a NULL pointer dereference vulnerability [CWE-476] in the Linux kernel's USB core subsystem. The flaw resides in port.c within the disable_store() and disable_show() routines. Testing with KASAN and syzkaller revealed that usb_hub_to_struct_hub() can return NULL when the parent hub is concurrently removed. The kernel dereferences the returned pointer without validation, triggering an access violation. The vulnerability affects Linux kernel versions through 6.9-rc6 and impacts integrity and availability.

Critical Impact

Concurrent USB hub removal can trigger a kernel NULL pointer dereference, leading to memory corruption or kernel crash on affected Linux systems.

Affected Products

  • Linux Kernel versions prior to the patched stable releases
  • Linux Kernel 6.9-rc1 through 6.9-rc6
  • Distributions shipping vulnerable upstream kernels with USB hub support enabled

Discovery Timeline

  • 2024-05-30 - CVE-2024-36896 published to NVD
  • 2025-04-01 - Last updated in NVD database

Technical Details for CVE-2024-36896

Vulnerability Analysis

The vulnerability exists in the USB core port handling code at drivers/usb/core/port.c. The disable_store() and disable_show() sysfs handlers call usb_hub_to_struct_hub() to retrieve the parent hub structure for a USB port device. This helper can return NULL when the hub is being concurrently removed during teardown.

The original code dereferences the returned hub pointer without a NULL check. When a race occurs between port sysfs access and hub removal, the kernel attempts to read from address zero. This produces an access violation reportable by KASAN as a use-after-free or NULL pointer dereference.

The fix replaces the unnecessary first dereference because hub->intfdev is already accessible as the parent of the port device. Reviewers added an explicit hub == NULL check to prevent further dereferences along the same code path.

Root Cause

The root cause is a missing NULL check after calling usb_hub_to_struct_hub() in concurrent removal scenarios. The function's return value was assumed to always be valid. Race conditions during hub teardown invalidate this assumption.

Attack Vector

Triggering the flaw requires interaction with the USB port sysfs interface during hub removal. A local attacker with the ability to read or write disable sysfs attributes while triggering hub disconnect events can race the two operations. Successful exploitation crashes the kernel or corrupts memory state.

No verified public proof-of-concept code is available for CVE-2024-36896. See the upstream patches referenced below for technical details on the fix.

Detection Methods for CVE-2024-36896

Indicators of Compromise

  • Kernel panic messages referencing usb_hub_to_struct_hub, disable_store, or disable_show in port.c
  • KASAN reports identifying NULL pointer dereference in the USB core during hub removal
  • Unexpected system crashes correlated with USB device hot-plug or removal events

Detection Strategies

  • Inspect kernel version with uname -r and compare against patched stable releases listed in the kernel.org commits
  • Monitor dmesg output for oops messages tied to USB port sysfs operations
  • Audit running kernels across the fleet using configuration management tools to identify unpatched 6.9-rc builds

Monitoring Recommendations

  • Forward kernel ring buffer and journalctl -k output to a centralized logging system for anomaly review
  • Alert on repeated USB-related kernel oops events from the same host
  • Track USB hub hot-plug churn on production systems where attackers may attempt to race device removal

How to Mitigate CVE-2024-36896

Immediate Actions Required

  • Upgrade affected systems to a Linux kernel release containing the upstream fix
  • Identify hosts running 6.9-rc1 through 6.9-rc6 and prioritize them for kernel updates
  • Restrict local user access on multi-tenant systems until patches are deployed

Patch Information

The vulnerability is resolved in upstream stable kernels via the following commits: Kernel Git Commit 5f1d68e, Kernel Git Commit 6119ef6, Kernel Git Commit 6353354, and Kernel Git Commit a4b46d4. The fix adds a hub == NULL check and removes the unnecessary dereference in disable_store() and disable_show().

Workarounds

  • Restrict write access to USB port sysfs attributes under /sys/bus/usb/devices/*/disable using udev rules or file permissions
  • Limit physical and logical access to USB hot-plug events on exposed systems
  • Disable unused USB hub controllers via kernel boot parameters where operationally feasible
bash
# Verify current kernel version and apply distribution kernel update
uname -r
sudo apt update && sudo apt install --only-upgrade linux-image-$(uname -r | sed 's/-generic//')
sudo reboot

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

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.06%

  • 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
  • Vendor Resources
  • Kernel Git Commit 5f1d68e

  • Kernel Git Commit 6119ef6

  • Kernel Git Commit 6353354

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