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).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of writing. The EPSS score is approximately 0.024% (very low probability of exploitation in the near term). The vulnerability requires local access with low privileges (no user interaction needed), limiting its attack surface. It has not been added to the CISA Known Exploited Vulnerabilities catalog (GitHub Advisory, 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

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.170-1

Fixed

sid

linux: 6.19.10-1

Fixed

trixie

linux: 6.12.85-1

Fixed

Ubuntu

Fixed

bionic (esm-infra)

linux

Affected

bionic (fips-updates)

linux-fips

Affected

bionic (fips)

linux-fips

Affected

devel

linux

Not Affected

focal

linux-azure-fde-5.15

Not Affected

focal (esm-infra)

linux

Affected

focal (fips-updates)

linux-fips

Affected

focal (fips)

linux-fips

Affected

RHEL / CentOS

Affected

RHEL 8

kernel-rt.src

Affected

RHEL 9

kernel-rt.src

Affected

RHEL 10

kernel.src

Affected

Source: This 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-98429NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel6.18
NoYesOct 14, 2026
CVE-2026-98424NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-aws-6.17
NoYesOct 14, 2026
CVE-2026-98417NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-aws-7.0
NoYesOct 14, 2026
CVE-2026-98414NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-oracle-7.0
NoYesOct 14, 2026
CVE-2026-98398NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp
NoYesOct 14, 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