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

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

CVE-2026-31400 is a use-after-free vulnerability in the Linux kernel's sunrpc cache_release function that causes memory leaks. This article covers the technical details, affected versions, and mitigation strategies.

Published: April 10, 2026

CVE-2026-31400 Overview

A memory leak vulnerability has been identified in the Linux kernel's sunrpc subsystem, specifically in the cache_release() function. When a reader's file descriptor is closed while in the middle of reading a cache_request (when rp->offset != 0), the cache_release() function decrements the request's readers count but fails to check whether it should free the request, leading to a resource leak.

Critical Impact

This memory leak vulnerability in the Linux kernel's sunrpc subsystem can lead to resource exhaustion over time, potentially causing system instability or denial of service conditions on systems utilizing NFS or other RPC-based services.

Affected Products

  • Linux Kernel (sunrpc subsystem)
  • Systems utilizing NFS (Network File System)
  • Systems with RPC-based cache operations

Discovery Timeline

  • 2026-04-03 - CVE-2026-31400 published to NVD
  • 2026-04-07 - Last updated in NVD database

Technical Details for CVE-2026-31400

Vulnerability Analysis

The vulnerability exists in the cache_release() function within the Linux kernel's sunrpc cache subsystem. The function is responsible for handling cleanup when a file descriptor associated with a cache request is closed. However, it contains a logic flaw that results in memory not being properly freed under specific conditions.

In the normal code path within cache_read(), when the readers count drops to 0 and the CACHE_PENDING flag is clear, the cache_request is properly removed from the queue and freed along with its buffer and cache_head reference. The cache_release() function, which handles file descriptor closure, lacks this essential cleanup logic.

Root Cause

The root cause is an incomplete cleanup path in cache_release(). The function properly decrements the readers count when a file descriptor is closed mid-read, but it fails to check whether the request should be freed when readers reaches 0. This creates a race condition scenario where:

  1. A reader begins reading a cache request (rp->offset != 0)
  2. The CACHE_PENDING flag transitions from set to clear while readers is still non-zero
  3. The file descriptor is closed, and cache_release() decrements readers to 0
  4. No cleanup occurs because cache_dequeue() only runs during the CACHE_PENDING transition
  5. The cache_request structure and its associated memory remain allocated but unreachable

Attack Vector

The vulnerability can be triggered through normal system operations involving NFS or RPC-based services where cache operations are interrupted. While exploitation requires specific timing conditions, sustained triggering could lead to memory exhaustion. The attack vector involves:

  • Local access to systems running NFS/RPC services
  • Ability to create and close file descriptors associated with cache operations
  • Repeated interruption of cache read operations to trigger the memory leak

The fix adds the same cleanup logic from cache_read() to cache_release(): after decrementing readers, the function now checks if it reached 0 with CACHE_PENDING clear, and if so, dequeues and frees the cache_request.

Detection Methods for CVE-2026-31400

Indicators of Compromise

  • Gradual increase in kernel memory usage over time on systems running NFS services
  • Memory allocation failures in the sunrpc subsystem logged in kernel messages
  • System instability or performance degradation correlated with RPC/NFS activity
  • Slab allocator statistics showing abnormal growth in sunrpc-related caches

Detection Strategies

  • Monitor /proc/meminfo and /proc/slabinfo for unusual memory growth patterns in kernel caches
  • Implement alerting on kernel memory exhaustion events related to sunrpc operations
  • Use kernel debugging tools like kmemleak to detect unreferenced memory allocations
  • Review system logs for OOM (Out of Memory) killer events on NFS server systems

Monitoring Recommendations

  • Establish baseline memory usage metrics for systems running NFS services
  • Deploy continuous monitoring of kernel memory subsystem statistics
  • Configure alerts for memory growth trends that deviate from established baselines
  • Implement regular system reboots as a temporary mitigation for affected production systems

How to Mitigate CVE-2026-31400

Immediate Actions Required

  • Review current Linux kernel version and identify if the sunrpc subsystem is in use
  • Plan kernel update maintenance windows for affected systems
  • Monitor affected systems for signs of memory exhaustion
  • Consider limiting exposure of NFS services to trusted networks

Patch Information

Multiple patches have been released to address this vulnerability across different kernel versions. The fix adds the same cleanup logic from cache_read() to cache_release() to ensure proper memory deallocation when readers drops to 0 with CACHE_PENDING clear.

Available patches:

  • Kernel Patch Commit 17ad31b
  • Kernel Patch Commit 301670d
  • Kernel Patch Commit 373457d
  • Kernel Patch Commit 41f6ba6
  • Kernel Patch Commit 7bcd5e3
  • Kernel Patch Commit be5c359

Workarounds

  • Schedule periodic system reboots to reclaim leaked memory on production systems where immediate patching is not possible
  • Reduce NFS/RPC service exposure by limiting access to trusted clients and networks
  • Monitor memory usage and implement automated alerts to trigger maintenance actions before resource exhaustion
  • Consider disabling unused RPC-based services if they are not required for system operation
bash
# Check current kernel version and sunrpc module status
uname -r
lsmod | grep sunrpc

# Monitor sunrpc cache memory usage
cat /proc/slabinfo | grep -i sunrpc

# Check for memory pressure indicators
dmesg | grep -i "out of memory\|oom\|sunrpc"

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.03%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Patch Commit 17ad31b

  • Kernel Patch Commit 301670d

  • Kernel Patch Commit 373457d

  • Kernel Patch Commit 41f6ba6

  • Kernel Patch Commit 7bcd5e3

  • Kernel Patch Commit be5c359
  • Related CVEs
  • CVE-2026-31745: Linux Kernel Use-After-Free Vulnerability

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

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

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