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

CVE-2026-31545: Linux Kernel GPIO Sleep Vulnerability

CVE-2026-31545 is a GPIO handling flaw in the Linux Kernel NFC nxp-nci driver that causes system warnings when GPIOs are connected to I2C expanders. This article covers the technical details, affected versions, and fixes.

Published: April 30, 2026

CVE-2026-31545 Overview

CVE-2026-31545 is a vulnerability in the Linux kernel's NFC nxp-nci driver that improperly handles GPIO operations for firmware and enable GPIOs. The driver fails to allow GPIOs to sleep, which triggers a kernel WARN_ON condition when operating GPIOs connected to I2C GPIO expanders. This can result in system instability and denial of service conditions on affected Linux systems utilizing NXP NCI-based NFC hardware.

Critical Impact

Local attackers with low privileges can cause kernel warnings and driver malfunction, potentially leading to system instability and denial of service on systems using NXP NCI NFC hardware with I2C GPIO expanders.

Affected Products

  • Linux Kernel (multiple stable branches)
  • Linux Kernel 7.0-rc1 through 7.0-rc4
  • Systems with NXP NCI-based NFC controllers using I2C GPIO expanders

Discovery Timeline

  • April 24, 2026 - CVE-2026-31545 published to NVD
  • April 28, 2026 - Last updated in NVD database

Technical Details for CVE-2026-31545

Vulnerability Analysis

This vulnerability stems from the nxp-nci NFC driver's use of gpiod_set_value() instead of gpiod_set_value_cansleep() for controlling firmware and enable GPIOs. In the Linux kernel GPIO subsystem, gpiod_set_value() is designed for GPIOs that can be accessed atomically without sleeping, while gpiod_set_value_cansleep() is required for GPIOs that may need to sleep during access—such as those connected through I2C GPIO expanders.

When the driver attempts to set GPIO values on a "sleepy" GPIO (one that requires sleeping to complete the operation), the kernel's GPIO library triggers a WARN_ON at drivers/gpio/gpiolib.c:3880. This warning indicates improper use of the non-sleeping GPIO API and can cause the NFC driver to malfunction.

The impact is primarily availability-focused, as the vulnerability can cause kernel warnings and driver failures but does not directly enable arbitrary code execution or data disclosure.

Root Cause

The root cause is the use of inappropriate GPIO accessor functions in the nxp-nci driver. The gpiod_set_value() function includes a safety check that triggers a warning when called on GPIOs that may sleep. The driver should use gpiod_set_value_cansleep() to properly handle GPIOs connected to I2C expanders or other slow-access GPIO controllers that require the calling context to be able to sleep.

Attack Vector

Exploitation of this vulnerability requires local access to the system. An attacker with low-level privileges could potentially trigger the vulnerable code path by interacting with the NFC subsystem on a system configured with NXP NCI hardware using I2C GPIO expanders. The attack does not require user interaction and can lead to kernel warnings, driver malfunction, and potential system instability.

The vulnerability is triggered when:

  1. The nxp-nci driver initializes or controls the NFC hardware
  2. GPIO operations are performed on firmware or enable pins
  3. The underlying GPIO controller requires sleeping (e.g., I2C-connected GPIO expander)

Detection Methods for CVE-2026-31545

Indicators of Compromise

  • Kernel log messages containing WARNING: CPU: X PID: X at drivers/gpio/gpiolib.c:3880 gpiod_set_value
  • NFC subsystem failures or unexpected behavior related to nxp-nci driver
  • System instability correlated with NFC hardware initialization or usage

Detection Strategies

  • Monitor kernel logs for WARN_ON messages originating from gpiod_set_value in gpiolib.c
  • Audit systems for NXP NCI NFC hardware configurations using I2C GPIO expanders
  • Implement kernel tracing on GPIO operations within the nxp-nci driver module

Monitoring Recommendations

  • Configure syslog or journald to alert on kernel warnings from the GPIO subsystem
  • Monitor NFC subsystem availability and driver health through systemd service status
  • Deploy endpoint detection capable of correlating kernel warning patterns with NFC driver activity

How to Mitigate CVE-2026-31545

Immediate Actions Required

  • Update the Linux kernel to a patched version containing the fix
  • Temporarily disable NFC functionality if not required and running vulnerable configurations
  • Review system hardware configurations to identify affected NXP NCI NFC setups with I2C GPIO expanders

Patch Information

The Linux kernel maintainers have released patches across multiple stable branches to address this vulnerability. The fix modifies the nxp-nci driver to use gpiod_set_value_cansleep() instead of gpiod_set_value() for GPIO operations, properly handling GPIOs that may require sleeping.

Patches are available from the following kernel git commits:

  • Kernel Git Commit Change 1
  • Kernel Git Commit Change 2
  • Kernel Git Commit Change 3
  • Kernel Git Commit Change 4
  • Kernel Git Commit Change 5
  • Kernel Git Commit Change 6
  • Kernel Git Commit Change 7
  • Kernel Git Commit Change 8

Workarounds

  • Blacklist or unload the nxp-nci kernel module if NFC functionality is not required: modprobe -r nxp-nci
  • If using I2C GPIO expanders with NFC hardware, consider alternative GPIO configurations where possible
  • Prioritize kernel updates for systems actively using NXP NCI NFC hardware
bash
# Temporarily disable nxp-nci module
echo "blacklist nxp-nci" >> /etc/modprobe.d/nfc-disable.conf
modprobe -r nxp-nci

# Verify module is unloaded
lsmod | grep nxp

# After patching, re-enable by removing the blacklist
rm /etc/modprobe.d/nfc-disable.conf
modprobe nxp-nci

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

  • Vulnerability Details
  • TypeOther

  • 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
  • NVD-CWE-noinfo
  • Vendor Resources
  • Kernel Git Commit Change 1

  • Kernel Git Commit Change 2

  • Kernel Git Commit Change 3

  • Kernel Git Commit Change 4

  • Kernel Git Commit Change 5

  • Kernel Git Commit Change 6

  • Kernel Git Commit Change 7

  • Kernel Git Commit Change 8
  • Related CVEs
  • CVE-2026-31744: Linux Kernel NULL Pointer Vulnerability

  • CVE-2026-31746: Linux Kernel Memory Leak Vulnerability

  • CVE-2026-31752: Linux Kernel ND Option Vulnerability

  • CVE-2026-31738: Linux Kernel VXLAN Option Validation 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