Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-26934

CVE-2024-26934: Linux Kernel Race Condition Vulnerability

CVE-2024-26934 is a race condition vulnerability in Linux Kernel's USB core that causes deadlock in usb_deauthorize_interface(). This article covers the technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2024-26934 Overview

CVE-2024-26934 is a deadlock vulnerability in the Linux kernel's USB core subsystem, specifically in the usb_deauthorize_interface() function located in drivers/usb/core/sysfs.c. This vulnerability occurs due to improper locking mechanisms when handling USB interface authorization through sysfs attribute callbacks, creating a race condition that can lead to system deadlocks.

The vulnerability manifests when the interface_authorized_store() function acquires a device lock on an ancestor device by calling usb_deauthorize_interface(), which locks the interface's parent USB device. If another process already owns that lock and attempts to remove the interface (through configuration changes or device disconnection), a deadlock occurs because device_del() waits for all ongoing sysfs attribute callbacks to complete, while usb_deauthorize_interface() cannot complete until the device lock is released.

Critical Impact

Local attackers with low privileges can trigger system deadlock conditions by manipulating USB interface authorization states, potentially causing denial of service on affected Linux systems.

Affected Products

  • Linux Kernel (multiple versions)
  • Linux Kernel 6.9-r1
  • Systems using USB core subsystem with sysfs interface authorization

Discovery Timeline

  • May 1, 2024 - CVE-2024-26934 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2024-26934

Vulnerability Analysis

This deadlock vulnerability (CWE-667: Improper Locking) resides in the USB core's sysfs attribute handling code. The interface_authorized_store() function is unique among the attribute file callback routines in that it acquires a device lock on an ancestor device rather than the immediate device being operated upon.

The problematic code path involves the following sequence: when a user writes to the authorized sysfs attribute of a USB interface, the interface_authorized_store() callback invokes usb_deauthorize_interface(). This function then attempts to acquire a lock on the interface's parent USB device. The fundamental issue is that this locking pattern creates a circular dependency when device removal is initiated.

During the removal procedure, device_del() blocks waiting for all ongoing sysfs attribute callbacks to complete before proceeding. However, if usb_deauthorize_interface() is mid-execution and waiting for the device lock (which is held by the removal process), neither operation can complete, resulting in a deadlock.

Root Cause

The root cause is the absence of proper lock protection mechanisms in the sysfs attribute callback. The kernel provides sysfs_break_active_protection() specifically to prevent this class of deadlock by informing sysfs that it should not wait for the attribute callback to complete. The vulnerable code failed to utilize this mechanism, allowing the circular lock dependency to form.

The fix implements sysfs_break_active_protection() to break the deadlock cycle by telling sysfs not to wait for the attribute callback when device removal is in progress.

Attack Vector

This is a local attack vector requiring low privileges. An attacker with access to the USB sysfs interface can trigger the deadlock through the following mechanism:

The exploitation involves racing two operations: writing to /sys/bus/usb/devices/<device>/interface_authorized while simultaneously triggering a USB device disconnection or configuration change. The attacker must be able to access USB sysfs attributes, which typically requires local access to the system. When the race condition is won, the system enters a deadlock state where the affected processes become unresponsive, potentially requiring a system reboot to recover.

The vulnerability was reported and tested by Yue Sun (samsun1006219@gmail.com) and also reported by xingwei lee (xrivendell7@gmail.com).

Detection Methods for CVE-2024-26934

Indicators of Compromise

  • System processes becoming unresponsive when USB devices are connected or disconnected
  • Kernel log messages indicating lock contention in USB subsystem code paths
  • Hung tasks related to usb_deauthorize_interface or interface_authorized_store functions
  • System hangs occurring during USB device enumeration or removal operations

Detection Strategies

  • Monitor for hung task warnings in kernel logs mentioning USB sysfs or interface authorization
  • Implement system watchdog mechanisms to detect and alert on potential deadlock conditions
  • Use kernel lockdep (lock dependency validator) to identify potential deadlock scenarios during testing
  • Review system logs for unusual patterns of USB-related process stalls

Monitoring Recommendations

  • Configure kernel hung task detection with appropriate timeout thresholds
  • Enable lockdep debugging in development and testing environments to catch lock ordering violations
  • Monitor system resource utilization for signs of process starvation
  • Implement automated alerting for kernel panic or soft lockup conditions

How to Mitigate CVE-2024-26934

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes the deadlock fix
  • On systems where immediate patching is not possible, restrict access to USB sysfs interface authorization attributes
  • Monitor systems for signs of deadlock conditions and prepare for potential service restarts
  • Review and audit any automation scripts that interact with USB sysfs attributes

Patch Information

The Linux kernel maintainers have released patches addressing this vulnerability across multiple stable kernel branches. The fix implements sysfs_break_active_protection() to prevent the deadlock scenario. The following kernel commits contain the fix:

  • Linux Kernel Commit 07acf97
  • Linux Kernel Commit 122a06f
  • Linux Kernel Commit 12d6a56
  • Linux Kernel Commit 1b175bc
  • Linux Kernel Commit 80ba43e

Additional distribution-specific advisories have been released by Debian LTS (2024-06-17) and Debian LTS (2024-06-20).

Workarounds

  • Restrict access to USB sysfs attributes by modifying udev rules to limit permissions on /sys/bus/usb/devices/*/authorized files
  • Implement process isolation for services that interact with USB devices to contain potential deadlock impacts
  • Use SELinux or AppArmor policies to restrict which processes can write to USB authorization attributes
  • Consider disabling USB hotplug functionality on critical systems where it is not required
bash
# Restrict USB interface authorization sysfs access
# Add to /etc/udev/rules.d/99-usb-security.rules
SUBSYSTEM=="usb", ATTR{authorized}=="*", MODE="0644", GROUP="root"

# Alternatively, use chmod to restrict access (temporary)
chmod 600 /sys/bus/usb/devices/*/authorized

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

  • Vulnerability Details
  • TypeRace Condition

  • Vendor/TechLinux Kernel

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.01%

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

  • Debian LTS Advisory 2024-06-20
  • Vendor Resources
  • Linux Kernel Commit 07acf97

  • Linux Kernel Commit 122a06f

  • Linux Kernel Commit 12d6a56

  • Linux Kernel Commit 1b175bc

  • Linux Kernel Commit 80ba43e

  • Linux Kernel Commit 8cbdd32

  • Linux Kernel Commit ab062fa

  • Linux Kernel Commit dbdf662

  • Linux Kernel Commit e451709
  • Related CVEs
  • CVE-2026-23440: Linux Kernel Race Condition Vulnerability

  • CVE-2026-23434: Linux Kernel Race Condition Vulnerability

  • CVE-2026-23436: Linux Kernel Race Condition Vulnerability

  • CVE-2026-23463: Linux Kernel QBMAN Race Condition Flaw
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