A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-31660

CVE-2026-31660: Linux Kernel Use-After-Free Vulnerability

CVE-2026-31660 is a use-after-free flaw in the Linux Kernel's NFC pn533 driver that can lead to NULL pointer dereference. This article covers the technical details, affected versions, security impact, and mitigation.

Updated: May 16, 2026

CVE-2026-31660 Overview

CVE-2026-31660 is a medium-severity flaw in the Linux kernel's NFC pn533 driver. The pn532_receive_buf() function consumes bytes into recv_skb and may hand a complete frame to pn533_recv_frame() before allocating a fresh receive buffer. When the subsequent alloc_skb() call fails, the callback returns 0 despite having already consumed bytes, leaving recv_skb set to NULL for the next receive callback. This breaks the receive_buf() accounting contract and can trigger a NULL pointer dereference on the next skb_put_u8() call. The result is a local denial-of-service condition on systems using PN532-based NFC hardware over serdev.

Critical Impact

A local attacker with low privileges on a system using the affected NFC driver can trigger a NULL pointer dereference, leading to a kernel crash and denial of service.

Affected Products

  • Linux Kernel (multiple stable branches affected; see kernel.org commits)
  • Linux Kernel 5.5 release
  • Linux Kernel 7.0 release candidates (rc1 through rc7)

Discovery Timeline

  • 2026-04-24 - CVE-2026-31660 published to NVD
  • 2026-04-27 - Last updated in NVD database

Technical Details for CVE-2026-31660

Vulnerability Analysis

The defect resides in the pn532_receive_buf() callback within the kernel's nfc/pn533 driver. This callback is registered with the serial device (serdev) core and is invoked when bytes arrive from the PN532 NFC controller over a UART transport. The serdev contract requires the callback to return the exact number of bytes it accepted from the supplied buffer.

In the vulnerable implementation, the callback consumes incoming bytes into the receive socket buffer (recv_skb) and may forward a completed frame to pn533_recv_frame(). After dispatching the frame, the code attempts to allocate a fresh recv_skb for the next incoming frame. If alloc_skb() returns NULL under memory pressure, the function returns 0 despite having already consumed bytes from the serdev buffer.

Root Cause

Two defects compound here. First, the function violates the serdev receive_buf() accounting contract by returning 0 after bytes have already been consumed. Second, leaving recv_skb as NULL causes the next invocation of the callback to dereference a NULL pointer when it calls skb_put_u8() to append the next byte. The fix allocates the receive skb lazily, immediately before consuming the next byte, and returns the count of already-accepted bytes if allocation fails.

Attack Vector

Exploitation requires local access with low privileges on a system that has the pn533 driver loaded and a PN532 NFC device connected via serdev. An attacker who can induce kernel memory pressure while NFC traffic is being processed can race the alloc_skb() failure path. Successful triggering produces a NULL dereference in soft-interrupt context, crashing the kernel. The flaw cannot be reached remotely and does not leak data or escalate privileges.

No public proof-of-concept is available and the EPSS score remains very low, reflecting limited exploitation appeal for a local DoS in a niche driver.

Detection Methods for CVE-2026-31660

Indicators of Compromise

  • Kernel oops or panic messages referencing pn533_recv_frame, pn532_receive_buf, or skb_put_u8 in dmesg output.
  • Unexpected reboots or hangs on systems with PN532 NFC hardware attached via UART/serdev.
  • Memory allocation failure messages (page allocation failure) preceding NFC subsystem faults.

Detection Strategies

  • Inventory hosts with the pn533_uart or pn533 modules loaded using lsmod and centralized configuration management telemetry.
  • Correlate kernel crash dumps and kdump artifacts against the affected commit hashes listed in the kernel.org references.
  • Compare running kernel versions against the patched stable release lines to identify unpatched assets.

Monitoring Recommendations

  • Forward kernel ring buffer (/dev/kmsg) and journald logs to a centralized log platform and alert on BUG:, Oops:, and NFC-tagged kernel messages.
  • Track module load events for pn533 on production hosts where NFC functionality is not required.
  • Monitor kernel patch state across the fleet to ensure the fix is deployed on all affected stable branches.

How to Mitigate CVE-2026-31660

Immediate Actions Required

  • Apply the upstream kernel patches referenced by commit 07cb6c72e66b, 16649adc2e19, 21ae2cda66a5, 2ca64fb7e2d2, 7e37da42eda4, 8b71299d587d, a9495069b43b, and c71ba669b570 from the Linux stable tree.
  • Reboot affected systems after kernel updates to load the fixed driver.
  • Where NFC is not required, blacklist the pn533 and pn533_uart modules to remove the attack surface entirely.

Patch Information

The upstream fix allocates the receive skb lazily before consuming the next byte. If allocation fails, the callback now returns the number of bytes already accepted, preserving the serdev accounting contract and eliminating the NULL dereference. The patches are merged into multiple Linux stable branches; consult the kernel.org commit references and apply the version corresponding to your distribution kernel.

Workarounds

  • Unload the affected driver with modprobe -r pn533_uart pn533 on systems that do not require NFC.
  • Add pn533 and pn533_uart to /etc/modprobe.d/blacklist.conf to prevent automatic loading at boot.
  • Restrict physical and local access on systems where NFC hardware must remain operational until patching is complete.
bash
# Blacklist the affected modules until the kernel is patched
echo 'blacklist pn533' | sudo tee /etc/modprobe.d/disable-pn533.conf
echo 'blacklist pn533_uart' | sudo tee -a /etc/modprobe.d/disable-pn533.conf
sudo modprobe -r pn533_uart pn533
sudo update-initramfs -u

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

  • Vulnerability Details
  • TypeUse After Free

  • 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-Other
  • Vendor Resources
  • Kernel Patch Changes

  • Kernel Commit Updates

  • Kernel Security Enhancements

  • Kernel Commit Modifications

  • Kernel Performance Fixes

  • Kernel Bug Fix Commits

  • Kernel Improvement Changes

  • Kernel Stability Updates
  • Related CVEs
  • CVE-2026-46241: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-46233: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-46227: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-46222: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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