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

CVE-2026-31509: Linux Kernel NCI Race Condition Flaw

CVE-2026-31509 is a race condition vulnerability in the Linux kernel's NCI subsystem causing circular locking dependency. This article covers technical details, affected versions, impact analysis, and mitigation.

Published: April 23, 2026

CVE-2026-31509 Overview

A circular locking dependency vulnerability has been identified in the Linux kernel's NFC NCI (NFC Controller Interface) subsystem. The flaw exists in the nci_close_device() function, which flushes rx_wq and tx_wq work queues while holding the req_lock mutex. This creates a deadlock condition because nci_rx_work() running on rx_wq can also attempt to acquire the same lock through a chain of function calls.

Critical Impact

This vulnerability can cause system deadlock conditions when NFC operations are performed, potentially leading to denial of service. The issue has been observed occurring in approximately 4% of NCI selftest runs with debug kernels.

Affected Products

  • Linux Kernel (NFC NCI subsystem)
  • Systems with NFC controller interface support enabled
  • Debug kernel builds running NCI selftests

Discovery Timeline

  • April 22, 2026 - CVE-2026-31509 published to NVD
  • April 23, 2026 - Last updated in NVD database

Technical Details for CVE-2026-31509

Vulnerability Analysis

The vulnerability stems from improper lock ordering in the NFC NCI device closure path. When nci_close_device() is called, it holds the req_lock mutex while attempting to flush the receive and transmit work queues. However, work items running on these queues can also attempt to acquire the same lock, creating a circular dependency that results in a deadlock.

The problematic execution path occurs through the following call chain: nci_rx_work → nci_rx_data_packet → nci_data_exchange_complete → __sk_destruct → rawsock_destruct → nfc_deactivate_target → nci_deactivate_target → nci_request → mutex_lock(&ndev->req_lock).

This race condition manifests particularly under debug kernel configurations where additional validation and timing changes increase the probability of the circular lock being triggered. The NIPA (Network Infrastructure for Automated Testing) framework has observed this failure occurring in roughly 4% of test runs.

Root Cause

The root cause is a lock ordering violation where the nci_close_device() function holds req_lock while flushing work queues that may independently attempt to acquire the same lock. This creates an ABBA deadlock scenario: Thread A holds req_lock and waits for work queue flush, while Thread B (work queue) waits to acquire req_lock.

Attack Vector

This vulnerability is primarily a reliability and availability issue rather than a security exploit vector. The deadlock condition can be triggered through normal NFC device operations, particularly during device close sequences when pending work items are being processed. While not directly exploitable for code execution, the resulting system hang could cause denial of service conditions on systems utilizing NFC functionality.

The fix involves reordering the lock acquisition by moving the flush of rx_wq after the req_lock has been released. This is considered safe because the NCI_UP flag has already been cleared and the transport is closed at that point, causing any pending work to see the state and return -ENETDOWN.

Detection Methods for CVE-2026-31509

Indicators of Compromise

  • System hangs or freezes during NFC device operations
  • Kernel lockup warnings in system logs related to NCI subsystem
  • Hung task timeouts involving nci_close_device or nci_rx_work functions
  • Increased occurrence of NFC-related selftest failures

Detection Strategies

  • Monitor kernel logs for circular lock dependency warnings using lockdep
  • Enable kernel lock debugging options to detect potential deadlock scenarios
  • Review system logs for hung task warnings involving NFC/NCI subsystem functions
  • Implement automated testing with debug kernels to identify locking issues

Monitoring Recommendations

  • Deploy kernel instrumentation to track req_lock acquisition patterns in NCI subsystem
  • Enable CONFIG_PROVE_LOCKING and CONFIG_DEBUG_LOCK_ALLOC for development systems
  • Monitor NFC device close operations for abnormal timing or hangs
  • Set up alerting for kernel hung task detector events related to NFC workqueues

How to Mitigate CVE-2026-31509

Immediate Actions Required

  • Apply the kernel patch that reorders the work queue flush operation
  • Update to a patched Linux kernel version containing the fix
  • Consider temporarily disabling NFC functionality on critical systems until patched
  • Monitor affected systems for signs of deadlock conditions

Patch Information

The Linux kernel maintainers have released patches to address this vulnerability. The fix involves moving the rx_wq flush operation to occur after the req_lock mutex has been released, eliminating the circular dependency. Multiple stable kernel branches have received this fix:

  • Kernel Git Commit 09143c0
  • Kernel Git Commit 1edc12d
  • Kernel Git Commit 4527025
  • Kernel Git Commit 5eef9eb
  • Kernel Git Commit 7ed00a3
  • Kernel Git Commit ca54e90
  • Kernel Git Commit d89b74b
  • Kernel Git Commit eb435d1

Workarounds

  • Disable NFC subsystem if not required: unload nci and related NFC kernel modules
  • Avoid frequent NFC device open/close cycles that may trigger the race condition
  • Compile kernel without NFC support (CONFIG_NFC=n) for systems not requiring NFC functionality
  • Implement application-level serialization of NFC operations to reduce concurrent access
bash
# Disable NFC kernel modules as a temporary workaround
modprobe -r nci
modprobe -r nfc

# Add to /etc/modprobe.d/nfc-disable.conf to persist across reboots
echo "blacklist nci" >> /etc/modprobe.d/nfc-disable.conf
echo "blacklist nfc" >> /etc/modprobe.d/nfc-disable.conf

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

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Git Commit 09143c0

  • Kernel Git Commit 1edc12d

  • Kernel Git Commit 4527025

  • Kernel Git Commit 5eef9eb

  • Kernel Git Commit 7ed00a3

  • Kernel Git Commit ca54e90

  • Kernel Git Commit d89b74b

  • Kernel Git Commit eb435d1
  • Related CVEs
  • CVE-2026-31740: Linux Kernel Race Condition Vulnerability

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

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

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