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

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

CVE-2026-31404 is a use-after-free vulnerability in the Linux kernel NFSD export handling that can cause NULL pointer dereferences. This article covers the technical details, affected systems, and mitigation strategies.

Updated: May 14, 2026

CVE-2026-31404 Overview

CVE-2026-31404 is a use-after-free vulnerability in the Linux kernel's NFS server (NFSD) subsystem. The flaw exists in the export cache cleanup path, specifically in svc_export_put() and expkey_put(). These callbacks release sub-objects such as ex_path and ex_client immediately when the last reference drops, before the RCU grace period completes. Concurrent RCU readers in e_show() and c_show() can then dereference freed memory through seq_path, d_path, and seq_escape, producing a NULL pointer dereference in d_path. The vulnerability affects Linux systems running the in-kernel NFS server.

Critical Impact

A local attacker triggering concurrent NFSD export cache operations can cause a kernel NULL pointer dereference, leading to denial of service or potential memory corruption.

Affected Products

  • Linux kernel NFSD subsystem (in-kernel NFS server)
  • Distributions shipping affected kernel revisions prior to the fix commits
  • Systems exporting filesystems via NFS using kernel NFSD

Discovery Timeline

  • 2026-04-03 - CVE-2026-31404 published to NVD
  • 2026-04-27 - Last updated in NVD database

Technical Details for CVE-2026-31404

Vulnerability Analysis

The NFSD export cache stores svc_export and svc_expkey entries protected by RCU. Readers walking the cache through /proc/net/rpc/nfsd.export/content and nfsd.fh/content access fields such as ex_path and ex_client->name without acquiring a reference. The original svc_export_put() implementation called path_put() and auth_domain_put() synchronously when the last reference dropped.

When cache_clean removes an entry and drops the final reference concurrently with a reader, the underlying path and auth_domain structures are freed while still in use by the reader. The reader subsequently dereferences freed memory inside d_path, triggering a NULL pointer dereference [CWE-416].

A prior fix in commit 2530766492ec moved kfree of ex_uuid and ex_stats into a call_rcu callback. However, path_put() and auth_domain_put() can sleep, and call_rcu callbacks execute in softirq context where sleeping is forbidden. These releases therefore remained outside the grace period.

Root Cause

The root cause is incorrect lifetime management of sub-objects in RCU-protected cache entries. Resources requiring sleepable cleanup were released before the RCU grace period expired, violating the read-side guarantee that pointers remain valid for the duration of the RCU critical section.

Attack Vector

A local user with the ability to read NFSD export procfs entries while exports are being modified can race the reader against cache_clean. The vector is local with low privileges and no user interaction. Successful exploitation produces a kernel-level fault impacting confidentiality, integrity, and availability of the host.

No public proof-of-concept code has been published. Refer to the upstream commits for technical context: Kernel Git Commit 2829e80, Kernel Git Commit 48db892, and Kernel Git Commit f5ab1be.

Detection Methods for CVE-2026-31404

Indicators of Compromise

  • Kernel oops or panic messages referencing d_path, svc_export_put, or expkey_put in dmesg or /var/log/kern.log.
  • NULL pointer dereference stack traces involving e_show, c_show, seq_path, or seq_escape.
  • Unexpected NFSD service restarts or hung tasks on systems under export cache churn.

Detection Strategies

  • Monitor kernel logs for crash signatures correlated with reads of /proc/net/rpc/nfsd.export/content or nfsd.fh/content.
  • Track kernel version inventory across NFS server hosts to identify unpatched systems.
  • Alert on local users invoking export cache operations concurrently with cache flushes via exportfs -f.

Monitoring Recommendations

  • Forward kernel ring buffer events to a centralized logging pipeline for cross-host correlation.
  • Watch for repeated NFSD soft lockups or RCU stall warnings that may precede or follow exploitation attempts.
  • Audit local account activity on NFS servers, including reads of NFSD procfs entries by non-administrative users.

How to Mitigate CVE-2026-31404

Immediate Actions Required

  • Apply the upstream kernel patches referenced in commits 2829e80, 48db892, and f5ab1be or upgrade to a distribution kernel that includes them.
  • Restrict local shell access on NFS servers to trusted administrators until patches are deployed.
  • Limit read access to NFSD procfs entries where operationally feasible.

Patch Information

The fix replaces call_rcu/kfree_rcu with queue_rcu_work(), deferring cleanup until after the RCU grace period and running it in process context where sleeping is permitted. path_put() and auth_domain_put() are moved into the deferred callback alongside the other resource releases. A dedicated workqueue scopes the shutdown drain to NFSD export release work items. nfsd_export_shutdown() calls rcu_barrier() followed by flush_workqueue() to ensure deferred callbacks complete before cache destruction. See the upstream commits for the canonical patches.

Workarounds

  • Disable the in-kernel NFS server on hosts that do not require it by stopping and masking the nfs-server service.
  • Reduce export cache churn by avoiding frequent exportfs -f or exportfs -r invocations during periods of heavy NFSD activity.
  • Tighten local access controls to prevent untrusted users from interacting with NFSD procfs interfaces.
bash
# Configuration example: disable kernel NFSD where not required
sudo systemctl stop nfs-server
sudo systemctl mask nfs-server

# Verify running kernel includes the fix commits
uname -r
rpm -q --changelog kernel | grep -E '2829e80|48db892|f5ab1be'

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

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • Technical References
  • Kernel Git Commit 2829e80

  • Kernel Git Commit 48db892

  • Kernel Git Commit f5ab1be
  • 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