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

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

CVE-2026-31404 is a use-after-free flaw in the Linux kernel's NFSD export mechanism that can cause NULL pointer dereferences when RCU readers access freed resources. This article covers technical details, impact, and fixes.

Published: April 10, 2026

CVE-2026-31404 Overview

A Use-After-Free vulnerability has been identified in the Linux kernel's NFS server (NFSD) subsystem. The vulnerability exists in the svc_export_put() function, which incorrectly calls path_put() and auth_domain_put() immediately when the last reference drops, before the RCU (Read-Copy-Update) grace period completes. This race condition allows RCU readers in e_show() and c_show() to access both ex_path (via seq_path/d_path) and ex_client->name (via seq_escape) without holding a proper reference. If cache_clean removes the entry and drops the last reference concurrently, the sub-objects are freed while still in use, producing a NULL pointer dereference in d_path.

Critical Impact

This vulnerability can cause a NULL pointer dereference leading to a kernel crash (Denial of Service) on systems running NFS server services. Concurrent access patterns during cache cleanup operations can trigger the race condition.

Affected Products

  • Linux kernel with NFSD (NFS server) enabled
  • Systems running NFS export services

Discovery Timeline

  • April 3, 2026 - CVE-2026-31404 published to NVD
  • April 7, 2026 - Last updated in NVD database

Technical Details for CVE-2026-31404

Vulnerability Analysis

The vulnerability stems from improper synchronization between RCU-protected read operations and object deallocation in the NFSD export cache subsystem. The core issue involves a timing window where sub-objects (ex_path and ex_client) can be freed while RCU readers still access them.

The previous fix in commit 2530766492ec ("nfsd: fix UAF when access ex_uuid or ex_stats") addressed part of the problem by moving kfree of ex_uuid and ex_stats into the call_rcu callback. However, path_put() and auth_domain_put() were intentionally left outside the RCU callback because these functions may sleep, and call_rcu callbacks execute in softirq context where sleeping is prohibited.

This incomplete fix created the race condition where the path and authentication domain structures could be deallocated while still being accessed by concurrent readers iterating through the export cache via /proc filesystem interfaces.

Root Cause

The root cause is the use of call_rcu/kfree_rcu for deferred cleanup, which cannot accommodate sleeping operations like path_put() and auth_domain_put(). These functions require process context but were being called before the RCU grace period completed, violating RCU's safety guarantees for concurrent readers.

The same problematic pattern exists in expkey_put(), which has an identical issue with ek_path and ek_client cleanup.

Attack Vector

An attacker or system condition that triggers concurrent NFS export cache cleanup operations (via cache_clean) while other processes are reading export information (e.g., through /proc filesystem access to e_show() or c_show()) can trigger the race condition. This results in a NULL pointer dereference in d_path, causing a kernel panic and system crash.

The vulnerability is exploitable locally by users with access to NFS export information and systems under heavy NFS cache churn. While the attack vector requires specific timing conditions, the impact is a complete denial of service through kernel crash.

Detection Methods for CVE-2026-31404

Indicators of Compromise

  • Kernel panic or oops messages referencing d_path, e_show, or c_show functions
  • System crashes on servers running NFS export services during cache cleanup operations
  • NULL pointer dereference errors in kernel logs associated with NFSD subsystem
  • Unexpected system reboots on NFS servers under load

Detection Strategies

  • Monitor kernel logs for oops or panic messages containing references to nfsd, svc_export_put, or expkey_put functions
  • Implement kernel crash dump analysis to identify race condition patterns in NFS export cache operations
  • Deploy SentinelOne agents to detect anomalous kernel behavior and system crashes indicative of memory corruption

Monitoring Recommendations

  • Enable kernel crash dump collection (kdump) to capture evidence of exploitation attempts
  • Configure monitoring for NFS server availability and unexpected restarts
  • Review system logs for patterns indicating repeated NFS export cache-related crashes

How to Mitigate CVE-2026-31404

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes the fix replacing call_rcu/kfree_rcu with queue_rcu_work()
  • Review NFS server configurations and reduce exposure of export cache interfaces where possible
  • Consider temporarily disabling NFS services on critical systems until patches can be applied

Patch Information

The fix replaces call_rcu/kfree_rcu with queue_rcu_work(), which defers the callback until after the RCU grace period and executes it in process context where sleeping is permitted. This allows path_put() and auth_domain_put() to be moved into the deferred callback alongside other resource releases.

A dedicated workqueue scopes the shutdown drain to only NFSD export release work items. The nfsd_export_shutdown() function uses rcu_barrier() followed by flush_workqueue() to ensure all deferred release callbacks complete before the export caches are destroyed.

Kernel patches are available at the following locations:

  • Kernel Git Commit 2829e80d
  • Kernel Git Commit 48db8923
  • Kernel Git Commit f5ab1bec

Workarounds

  • Limit access to NFS export cache information through /proc filesystem by restricting file permissions where possible
  • Reduce frequency of export cache cleanup operations by adjusting NFS server configuration parameters
  • Implement network segmentation to limit access to NFS servers from untrusted systems
  • Consider using SentinelOne's runtime protection to detect and prevent exploitation attempts targeting kernel vulnerabilities

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

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

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

  • Kernel Git Commit Record

  • Kernel Git Commit Record
  • Related CVEs
  • CVE-2026-31475: Linux Kernel Use-After-Free Vulnerability

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

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

  • CVE-2026-31444: Linux Kernel Use-After-Free 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