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

CVE-2026-43319: Linux Kernel Race Condition Vulnerability

CVE-2026-43319 is a race condition vulnerability in the Linux Kernel spidev driver that causes lock inversion between spi_lock and buf_lock, leading to potential deadlocks. This article covers technical details, impact, and mitigation.

Published: May 18, 2026

CVE-2026-43319 Overview

CVE-2026-43319 is a locking flaw in the Linux kernel spidev driver that allows a local user to trigger a deadlock. The driver maintained two mutexes, spi_lock and buf_lock, and acquired them in inconsistent orders across code paths. The write() and read() paths took buf_lock before spi_lock, while the ioctl() path took them in the reverse order. This AB-BA pattern produces circular locking dependencies that lockdep flags and that can stall kernel threads holding the locks. The issue is classified under [CWE-667] Improper Locking and affects the Linux kernel through 7.0-rc7.

Critical Impact

A local, low-privileged user can deadlock kernel threads operating on a shared spidev file descriptor, producing a denial-of-service condition on systems exposing SPI devices to user space.

Affected Products

  • Linux Kernel (multiple stable branches prior to fix)
  • Linux Kernel 7.0-rc1 through 7.0-rc7
  • Systems exposing /dev/spidev* character devices to user space

Discovery Timeline

  • 2026-05-08 - CVE-2026-43319 published to NVD
  • 2026-05-15 - Last updated in NVD database

Technical Details for CVE-2026-43319

Vulnerability Analysis

The spidev driver provides a user-space interface to Serial Peripheral Interface (SPI) devices through character device nodes. The driver previously serialized concurrent access using two mutexes with overlapping responsibilities. buf_lock protected the internal transfer buffers, while spi_lock protected the underlying SPI device state.

The write() and read() system call handlers acquired buf_lock first, then called spidev_sync_write() or spidev_sync_read(), which acquired spi_lock. The ioctl() handler reversed this order, acquiring spi_lock first and then taking buf_lock for buffer manipulation. When two threads operate on the same file descriptor concurrently, one performing write() and another issuing SPI_IOC_WR_MAX_SPEED_HZ, each thread can hold one lock while waiting for the other.

The upstream fix removes buf_lock entirely and consolidates serialization under spi_lock. spidev_sync() no longer performs locking, and all callers acquire spi_lock directly. This eliminates the ordering dependency without altering the userspace ABI.

Root Cause

The root cause is inconsistent lock acquisition order [CWE-667]. Two distinct call paths into the same driver acquired the same pair of mutexes in opposite sequences, satisfying the textbook AB-BA precondition for deadlock.

Attack Vector

Exploitation requires local access and the ability to open a spidev character device. An attacker spawns two threads sharing the same file descriptor. One thread issues repeated write() calls; the other issues SPI_IOC_WR_MAX_SPEED_HZ ioctls. The timing window for the lock inversion is reachable without elevated privileges beyond the standard device-node permissions.

No exploit code is required beyond the reproducer described in the upstream commit message. The vulnerability does not yield code execution or data disclosure. The impact is restricted to availability through kernel-thread deadlock.

Detection Methods for CVE-2026-43319

Indicators of Compromise

  • Kernel log messages containing possible circular locking dependency detected referencing spidev_ioctl and spidev_sync_write.
  • Hung-task warnings naming threads blocked in mutex_lock within spidev functions.
  • Processes stuck in uninterruptible sleep (D state) when interacting with /dev/spidev* nodes.

Detection Strategies

  • Enable CONFIG_PROVE_LOCKING and CONFIG_LOCKDEP on test kernels to surface circular dependency reports during QA.
  • Monitor dmesg for INFO: task ... blocked for more than messages tied to SPI workloads.
  • Audit running kernel versions against the fixed commits listed in the upstream advisory.

Monitoring Recommendations

  • Collect kernel ring buffer output centrally and alert on lockdep warnings referencing spi_lock or buf_lock.
  • Track processes accessing /dev/spidev* and correlate with hung-task telemetry from production hosts.
  • Inventory embedded and IoT Linux fleets that expose SPI interfaces, since these are most likely to ship the vulnerable driver.

How to Mitigate CVE-2026-43319

Immediate Actions Required

  • Apply the upstream kernel patches referenced below to all affected stable branches and rebuild custom kernels.
  • Restrict permissions on /dev/spidev* nodes so that only trusted service accounts can open them.
  • Identify multi-threaded user-space programs that share spidev file descriptors across read/write and ioctl calls and route operations through a single serialized worker until patched.

Patch Information

The fix is committed upstream and merged into stable trees. Reference the upstream commits: 40534d19ed2a, 41ccfac7d302, e341e1821503, and f8431b867223. Distribution maintainers will backport these to supported kernel packages.

Workarounds

  • Avoid concurrent write()/read() and ioctl() operations from separate threads on the same spidev file descriptor.
  • Tighten udev rules to limit access to SPI character devices to a dedicated, audited group.
  • Unload the spidev module on systems that do not require user-space SPI access using modprobe -r spidev and blacklist it in /etc/modprobe.d/.
bash
# Configuration example: blacklist spidev where not needed
echo 'blacklist spidev' | sudo tee /etc/modprobe.d/disable-spidev.conf
sudo modprobe -r spidev

# Restrict device node permissions via udev
echo 'KERNEL=="spidev*", GROUP="spi", MODE="0660"' | \
  sudo tee /etc/udev/rules.d/90-spidev.rules
sudo udevadm control --reload-rules && sudo udevadm trigger

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

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.01%

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

  • Kernel Git Commit Update

  • Kernel Git Commit Update

  • Kernel Git Commit Update
  • Related CVEs
  • CVE-2026-43342: Linux Kernel Race Condition Vulnerability

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

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

  • CVE-2026-43318: 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