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
    • 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-31667

CVE-2026-31667: Linux Kernel Race Condition Vulnerability

CVE-2026-31667 is a race condition flaw in the Linux Kernel's uinput force-feedback system that triggers circular locking dependencies. This article covers the technical details, affected versions, and mitigation strategies.

Published: April 30, 2026

CVE-2026-31667 Overview

A circular locking dependency vulnerability has been identified in the Linux kernel's uinput subsystem, specifically in the interaction between the uinput driver and the force-feedback (ff-core) module. This race condition vulnerability can be triggered when using force-feedback gamepads with uinput, leading to potential deadlock conditions and system instability.

The vulnerability manifests as a lockdep circular locking dependency warning that can be reproduced when using force-feedback gaming controllers through uinput, such as when running games under Wine with compatible controllers.

Critical Impact

Local attackers with low privileges can potentially cause system deadlocks or gain elevated privileges through exploitation of the circular mutex dependency in the Linux kernel's input subsystem.

Affected Products

  • Linux Kernel versions from 2.6.19 through affected stable branches
  • Linux Kernel 7.0 release candidates (rc1 through rc7)
  • Systems using uinput with force-feedback gaming peripherals

Discovery Timeline

  • April 24, 2026 - CVE-2026-31667 published to NVD
  • April 27, 2026 - Last updated in NVD database

Technical Details for CVE-2026-31667

Vulnerability Analysis

This vulnerability is a race condition (CWE-667: Improper Locking) in the Linux kernel's input subsystem. The issue creates a circular dependency between four separate mutex locks that can lead to deadlock conditions when certain code paths are executed concurrently.

The circular dependency follows this chain: ff->mutex → udev->mutex → input_mutex → dev->mutex → ff->mutex. When these locks are acquired in different orders across different kernel code paths, a deadlock can occur, potentially freezing the system or causing denial of service conditions.

The vulnerability requires local access to exploit, making it particularly concerning for multi-user systems or environments where attackers have limited shell access and seek privilege escalation opportunities.

Root Cause

The root cause lies in improper lock acquisition ordering across four distinct kernel code paths:

  1. Force-feedback upload path: The input_ff_upload() function holds ff->mutex while calling through to uinput_request_send(), which then attempts to acquire udev->mutex.

  2. Device creation path: The uinput_ioctl_handler() holds udev->mutex while calling input_register_device(), which acquires input_mutex.

  3. Device registration path: input_register_device() holds input_mutex while calling kbd_connect() → input_register_handle(), which acquires dev->mutex.

  4. Event device release path: evdev_release() calls input_flush_device() under dev->mutex, which in turn calls input_ff_flush() that attempts to acquire ff->mutex.

This creates a complete cycle where each lock depends on another lock that may already be held, causing potential deadlock.

Attack Vector

The attack vector is local, requiring an attacker to have access to the target system. Exploitation involves:

The vulnerability can be triggered through normal usage of force-feedback gaming controllers with the uinput subsystem. An attacker with local access could potentially craft specific sequences of input device operations to deliberately trigger the deadlock condition, causing denial of service. The high confidentiality, integrity, and availability impact indicates potential for more severe exploitation if combined with other vulnerabilities.

The fix introduces a new state_lock spinlock to protect udev->state and udev->dev access in uinput_request_send() instead of acquiring udev->mutex. Since spinlocks are leaf nodes in lock ordering and cannot form cycles with mutexes, this breaks the problematic ff->mutex → udev->mutex link in the dependency chain.

Detection Methods for CVE-2026-31667

Indicators of Compromise

  • Kernel log messages showing lockdep circular locking dependency warnings involving ff->mutex, udev->mutex, input_mutex, and dev->mutex
  • System hangs or freezes when force-feedback gaming controllers are connected and in use
  • Unexpected system instability when running applications that utilize uinput with force-feedback devices
  • Kernel panic or soft lockup messages referencing the input subsystem or uinput module

Detection Strategies

  • Monitor kernel logs for lockdep warnings containing references to input_ff_upload, uinput_request_send, or uinput_create_device functions
  • Deploy kernel runtime verification tools to detect potential deadlock conditions in the input subsystem
  • Implement system monitoring for unusual hangs or unresponsiveness when gaming peripherals are active
  • Use kernel debugging options like CONFIG_PROVE_LOCKING to proactively detect lock ordering violations

Monitoring Recommendations

  • Enable lockdep in development and testing environments to catch locking issues before production deployment
  • Configure alerting for kernel soft lockups and hung task warnings related to input device handling
  • Monitor for unusual patterns in uinput device creation and force-feedback operations
  • Implement endpoint detection and response (EDR) solutions capable of monitoring kernel-level anomalies

How to Mitigate CVE-2026-31667

Immediate Actions Required

  • Update to patched kernel versions containing the security fix as soon as available
  • If patching is not immediately possible, consider temporarily disabling force-feedback functionality on affected systems
  • Restrict local access to systems where kernel exploitation could lead to privilege escalation
  • Monitor systems for signs of exploitation attempts or unusual input device behavior

Patch Information

The Linux kernel maintainers have released patches across multiple stable branches. The fix introduces a state_lock spinlock to break the circular dependency chain. Apply the appropriate patch for your kernel version:

  • Kernel Git Commit 1534661043
  • Kernel Git Commit 1e09dfbb4
  • Kernel Git Commit 271ee71a1
  • Kernel Git Commit 4cda78d6f
  • Kernel Git Commit 546c18a1
  • Kernel Git Commit 71a9729f4
  • Kernel Git Commit 974f7b13
  • Kernel Git Commit a3d6c9c0

Workarounds

  • Blacklist the uinput kernel module if force-feedback functionality is not required: add blacklist uinput to /etc/modprobe.d/blacklist.conf
  • Restrict access to /dev/uinput using appropriate file permissions to limit which users can interact with the uinput subsystem
  • Disable force-feedback support at the application level for gaming software using Wine or similar compatibility layers
  • Consider using alternative input handling mechanisms that do not rely on uinput for force-feedback functionality
bash
# Temporary workaround: Blacklist uinput module
echo "blacklist uinput" >> /etc/modprobe.d/blacklist-uinput.conf

# Restrict access to uinput device
chmod 600 /dev/uinput
chown root:root /dev/uinput

# Verify module is not loaded
lsmod | grep uinput
# If loaded, unload with: rmmod uinput

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

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

  • Kernel Git Commit 1e09dfbb4

  • Kernel Git Commit 271ee71a1

  • Kernel Git Commit 4cda78d6f

  • Kernel Git Commit 546c18a1

  • Kernel Git Commit 71a9729f4

  • Kernel Git Commit 974f7b13

  • Kernel Git Commit a3d6c9c0
  • Related CVEs
  • CVE-2026-31728: Linux Kernel Race Condition Vulnerability

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

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

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