CVE-2025-38400
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38400 is a resource cleanup vulnerability in the Linux kernel's NFS (Network File System) module, specifically in the nfs_fs_proc_net_init() function. When this function fails, the /proc/net/rpc/nfs procfs directory is not properly removed, causing a kernel warning when rpc_proc_exit() later attempts to remove the non-empty /proc/net/rpc parent directory. The vulnerability was published on July 25, 2025, and affects multiple Linux kernel stable branches. It carries a CVSS v3.1 base score of 5.5 (Medium), requiring local access with low privileges (Feedly).

Technical details

The root cause is improper error handling (CWE-459: Incomplete Cleanup) in fs/nfs/client.c within the nfs_net_init() function, which calls nfs_fs_proc_net_init() but does not clean up the /proc/net/rpc/nfs entry on failure. This was discovered via syzbot fault injection targeting failslab in the kernel memory allocator, which triggered the failure path during network namespace creation (copy_net_nssetup_netops_initnfs_net_init). The bug manifests as a kernel warning when rpc_proc_exit() attempts to remove /proc/net/rpc while it still contains the orphaned nfs subdirectory. Exploitation requires local access to trigger namespace operations under fault conditions (Feedly).

Impact

The vulnerability's primary impact is on availability — it can cause system instability, kernel warnings, and resource leaks during network namespace operations. Repeated triggering may result in accumulation of orphaned procfs entries, degrading system performance or creating inconsistent kernel state. There is no confidentiality or integrity impact, and no known path to privilege escalation or lateral movement from this vulnerability alone (Feedly).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of reporting. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.024% (0.000240), indicating very low probability of exploitation in the near term. Triggering the bug requires local access and the ability to create network namespaces under specific fault conditions (Feedly).

Mitigation and workarounds

Patches have been released for all affected Linux kernel stable branches. Users should update to the following fixed versions or later: 5.4.296+, 5.10.240+, 5.15.187+, 6.1.144+, 6.6.97+, 6.12.37+, or 6.15.6+. Downstream distributions including Ubuntu (USN-7774-x, USN-7775-x, USN-7834-1), Amazon Linux 2 (ALAS2KERNEL-5.15-2025-084, ALAS2KERNEL-5.10-2025-101), Oracle Linux 8, Red Hat (RHSA-2026:18587), and AlmaLinux have issued their own kernel update advisories. No configuration-based workaround is available; upgrading the kernel is the recommended remediation (Ubuntu Advisory, AWS Advisory, Red Hat Advisory).

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-68454HIGH8.8
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel-matched
NoYesAug 13, 2026
CVE-2026-68452HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-headers
NoYesAug 13, 2026
CVE-2026-68451HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-oracle-5.15
NoYesAug 13, 2026
CVE-2026-68453HIGH7.1
  • Linux Kernel logoLinux Kernel
  • kernel-uki-virt-addons
NoYesAug 13, 2026
CVE-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fips
NoYesAug 12, 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