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-2026-23167

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

CVE-2026-23167 is a race condition flaw in the Linux kernel NCI subsystem between rfkill and device unregistration. This vulnerability can lead to use-after-free conditions. This article covers technical details, impact, and fixes.

Published: February 20, 2026

CVE-2026-23167 Overview

A race condition vulnerability has been identified in the Linux kernel's NFC (Near Field Communication) NCI (NFC Controller Interface) subsystem. The vulnerability exists between rfkill operations and the nci_unregister_device() function, where improper ordering of cleanup operations can lead to a use-after-destroy condition affecting the nci_dev.cmd_wq workqueue.

The issue was discovered through syzkaller fuzzing, which detected that the struct nci_dev.cmd_wq workqueue had been destroyed before nci_close_device() was called via rfkill. This occurs because nci_unregister_device() destroys nci_dev.cmd_wq first and then calls nfc_unregister_device(), which removes the device from rfkill via rfkill_unregister(). This ordering allows the device to remain visible via rfkill even after the workqueue has been destroyed.

Critical Impact

This race condition can cause kernel warnings, potential system instability, and may lead to denial of service conditions when NFC devices are being unregistered while rfkill operations are in progress.

Affected Products

  • Linux Kernel (NFC NCI subsystem)
  • Systems with virtual NCI device support
  • Linux distributions using affected kernel versions with NFC functionality enabled

Discovery Timeline

  • February 14, 2026 - CVE-2026-23167 published to NVD
  • February 18, 2026 - Last updated in NVD database

Technical Details for CVE-2026-23167

Vulnerability Analysis

This vulnerability represents a classic race condition pattern in kernel device management. The root of the problem lies in the cleanup sequence within nci_unregister_device(). When a virtual NCI device file descriptor is closed (for example, through virtual_ncidev_close()), the function destroys nci_dev.cmd_wq before unregistering the device from the rfkill subsystem.

The race window exists because another thread can still access the device through rfkill interfaces (via rfkill_fop_write()) after the workqueue has been destroyed but before rfkill_unregister() is called. When this happens, nci_close_device() attempts to flush the already-destroyed workqueue, triggering kernel warnings and potential crashes.

The kernel stack trace from syzkaller demonstrates this issue clearly, showing the call path from rfkill_fop_write() through nfc_rfkill_set_block() to nci_close_device(), where __flush_workqueue() is called on the destroyed cmd_wq.

Root Cause

The vulnerability stems from incorrect ordering of cleanup operations in the NCI device unregistration path. The nci_unregister_device() function performs the following sequence:

  1. Destroys nci_dev.cmd_wq workqueue
  2. Calls nfc_unregister_device() which eventually calls rfkill_unregister()

This ordering is problematic because the device remains accessible via rfkill after step 1, creating a window where rfkill operations can attempt to use the destroyed workqueue.

The fix involves splitting nfc_unregister_device() into two functions to properly sequence the cleanup. The rfkill interfaces must be removed first, before destroying the workqueue. However, this reordering is constrained by the fact that nfc_unregister_device() calls device_del() which frees memory allocated by devm_kzalloc() and linked to ndev->conn_info_list, which could still be accessed by nci_rx_work().

Attack Vector

The vulnerability can be triggered through concurrent operations involving:

  1. Opening a virtual NCI device file descriptor
  2. Initiating rfkill operations on the NFC device
  3. Closing the virtual NCI device file descriptor while rfkill operations are in progress

This creates a race condition where the rfkill write operation attempts to bring the device down (nfc_dev_down() → nci_dev_down() → nci_close_device()) while another thread is unregistering the device and destroying its workqueue.

The attack requires local access to the system with the ability to open NFC device file descriptors and interact with rfkill interfaces. The vulnerability was discovered through fuzzing with syzkaller, demonstrating that it can be triggered through specific timing of system calls.

Detection Methods for CVE-2026-23167

Indicators of Compromise

  • Kernel warnings containing DEBUG_LOCKS_WARN_ON(1) in lockdep output
  • Stack traces showing __flush_workqueue being called from nci_close_device()
  • Kernel log messages referencing hlock_class or check_wait_context warnings
  • System instability or crashes during NFC device operations

Detection Strategies

  • Monitor kernel logs for lockdep warnings related to NFC/NCI subsystem operations
  • Configure kernel with CONFIG_LOCKDEP=y to enable lock dependency checking
  • Use kernel tracing tools to monitor nci_unregister_device() and nfc_rfkill_set_block() function calls
  • Deploy SentinelOne Singularity Platform for real-time kernel anomaly detection

Monitoring Recommendations

  • Enable kernel auditing for NFC device file descriptor operations
  • Monitor for unusual patterns of rfkill operations coinciding with device closures
  • Set up alerts for kernel oops or warnings in the NFC subsystem
  • Track virtual NCI device usage through process monitoring

How to Mitigate CVE-2026-23167

Immediate Actions Required

  • Apply the kernel patches from the official Linux kernel stable branches
  • If patching is not immediately possible, consider disabling NFC functionality if not required
  • Monitor systems for kernel warnings related to NFC operations
  • Restrict access to NFC device interfaces to trusted users only

Patch Information

Multiple patches have been released to address this vulnerability across different Linux kernel stable branches. The fix involves reordering the cleanup sequence in nci_unregister_device() to unregister rfkill interfaces before destroying the workqueue.

Available patches:

  • Linux Kernel Commit 126cd30
  • Linux Kernel Commit 546eba0
  • Linux Kernel Commit 8ea4d96
  • Linux Kernel Commit c3369fc
  • Linux Kernel Commit cd4412d
  • Linux Kernel Commit d249268
  • Linux Kernel Commit eaa5da5

Workarounds

  • Disable NFC kernel modules using modprobe -r nci and modprobe -r nfc if NFC functionality is not required
  • Block access to /dev/virtual_ncidev and related NFC device nodes through permissions
  • Use rfkill to persistently block NFC devices: rfkill block nfc
  • Implement SELinux or AppArmor policies to restrict NFC device access
bash
# Disable NFC modules if not needed
echo "blacklist nci" >> /etc/modprobe.d/blacklist-nfc.conf
echo "blacklist nfc" >> /etc/modprobe.d/blacklist-nfc.conf
update-initramfs -u

# Block NFC via rfkill
rfkill block nfc

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
  • Linux Kernel Commit 126cd30

  • Linux Kernel Commit 546eba0

  • Linux Kernel Commit 8ea4d96

  • Linux Kernel Commit c3369fc

  • Linux Kernel Commit cd4412d

  • Linux Kernel Commit d249268

  • Linux Kernel Commit eaa5da5
  • Related CVEs
  • CVE-2026-31456: Linux Kernel Race Condition Vulnerability

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

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

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