CVE-2026-31400
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-31400 is a memory leak vulnerability in the Linux kernel's sunrpc subsystem, specifically in the cache_release() function. When a reader's file descriptor is closed mid-read of a cache_request (i.e., rp->offset != 0), the function decrements the request's readers count but fails to free the request when readers reaches 0 and CACHE_PENDING is clear. This affects Linux kernel versions from 2.6.12 through multiple stable branches, with fixed versions including 5.10.253, 5.15.203, 6.1.167, 6.6.130, 6.12.78, 6.18.20, 6.19.10, and 7.0-rc5. It carries a CVSS v3.1 base score of 5.5 (Medium) (GitHub Advisory, Feedly).

Technical details

The root cause is classified as CWE-401 (Missing Release of Memory after Effective Lifetime). In cache_read(), when the readers count drops to 0 and CACHE_PENDING is clear, the cache_request is dequeued and freed along with its buffer and cache_head reference. However, cache_release() — called when a file descriptor is closed — decrements the readers count without performing this same cleanup. The only other cleanup path, cache_dequeue(), only runs when CACHE_PENDING transitions from set to clear; if that transition already occurred while readers was non-zero, cache_dequeue() skips the request and no subsequent call reclaims it. The fix mirrors the cleanup logic from cache_read() into cache_release(): after decrementing readers, check if it reached 0 with CACHE_PENDING clear, and if so, dequeue and free the cache_request (GitHub Advisory).

Impact

Successful exploitation leads to kernel memory exhaustion and denial of service. A local user with low privileges can repeatedly open and close file descriptors while reading sunrpc cache entries, causing cache_request objects to accumulate without being freed. Over time, this degrades system performance and can cause kernel instability or crashes. The impact is confined to kernel memory management within the sunrpc subsystem, with no confidentiality or integrity impact (Feedly).

Mitigation and workarounds

Update the Linux kernel to a patched version corresponding to your supported branch: 5.10.253, 5.15.203, 6.1.167, 6.6.130, 6.12.78, 6.18.20, 6.19.10, or 7.0-rc5 and later. Vendor-specific updates are available from Amazon Linux (ALAS2023-2026-1594, ALAS2023-2026-1681, ALAS2KERNEL-5.15-2026-102), SUSE (SUSE-SU-2026:2068-1, SUSE-SU-2026:2217-1, SUSE-SU-2026:2238-1), and Debian. If immediate patching is not feasible, restrict local user access to systems running NFS/sunrpc services and monitor kernel memory usage for unusual growth (GitHub Advisory, Feedly).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management