# nfs: Clean up /proc/net/rpc/nfs when nfs_fs_proc_net_init() fails.

CVE record · `CVE-2025-38400`

- **Identifiers:** `CVE-2025-38400`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 25 Jul 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 25 Jul 2025, 12:53 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `31dd0cda5aa0547de447aaf184812f85ccc34044 to before 8785701fd7cd52ae74c0d2b35b82568df74e9dbb` (git)
  - affected: `6eef21eb7a165601882dad0419a630e32d2d7a2c to before 412534a1fb76958b88dca48360c6f3ad4f3390f4` (git)
  - affected: `0bbd429260821dfb81478749837d3e6377949ac6 to before b92397ce96743e4cc090207e2df2a856cb4cef08` (git)
  - affected: `9dd86e9d34b1078dcd647220e96a205028bf4e6f to before 7701c245ff1ac1a126bf431e72b24547519046ff` (git)
  - affected: `53a0365c9f9f66e1a981bf9188d8716d682e0739 to before d0877c479f44fe475f4c8c02c88ce9ad43e90298` (git)
  - affected: `d47151b79e3220e72ae323b8b8e9d6da20dc884e to before 3c94212b57bedec3a386ef3da1ef00602f5c3d1d` (git)
  - affected: `d47151b79e3220e72ae323b8b8e9d6da20dc884e to before 6acf340f8c1d296bcf535986175f5d0d6f2aab09` (git)
  - affected: `d47151b79e3220e72ae323b8b8e9d6da20dc884e to before e8d6f3ab59468e230f3253efe5cb63efa35289f7` (git)
  - affected: `e05194baae299f2148ab5f6bab659c6ce8d1f6d3` (git)
  - affected: `5.4.276 to before 5.4.296` (semver)
  - affected: `5.10.217 to before 5.10.240` (semver)
  - affected: `5.15.159 to before 5.15.187` (semver)
  - and 3 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.9`
  - unaffected: `before 6.9` (semver)
  - unaffected: `5.4.296 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.240 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.187 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.144 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.97 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.37 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.6 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel is affected from 6.9 onward, up to the fixed releases for each branch. When nfs_fs_proc_net_init() fails, the /proc/net/rpc/nfs entry is not removed, so later cleanup logs a kernel warning and leaves the entry behind. The source gives few details on who can trigger this. To fix it, upgrade to a fixed kernel for your branch: 5.4.296 or later, 5.10.240 or later, 5.15.187 or later, or 6.1.144 or later.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0022, the 13th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 25 Jul 2025, 12:53 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-38400)
- 25 Jul 2025, 13:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-38400)

## Sources

- [CVE List: CVE-2025-38400](https://www.cve.org/CVERecord?id=CVE-2025-38400)
- [NVD: CVE-2025-38400](https://nvd.nist.gov/vuln/detail/CVE-2025-38400)

### References from the CNA

- <https://git.kernel.org/stable/c/8785701fd7cd52ae74c0d2b35b82568df74e9dbb>
- <https://git.kernel.org/stable/c/412534a1fb76958b88dca48360c6f3ad4f3390f4>
- <https://git.kernel.org/stable/c/b92397ce96743e4cc090207e2df2a856cb4cef08>
- <https://git.kernel.org/stable/c/7701c245ff1ac1a126bf431e72b24547519046ff>
- <https://git.kernel.org/stable/c/d0877c479f44fe475f4c8c02c88ce9ad43e90298>
- <https://git.kernel.org/stable/c/3c94212b57bedec3a386ef3da1ef00602f5c3d1d>
- <https://git.kernel.org/stable/c/6acf340f8c1d296bcf535986175f5d0d6f2aab09>
- <https://git.kernel.org/stable/c/e8d6f3ab59468e230f3253efe5cb63efa35289f7>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-38400>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-38400/>. Everything for agents: <https://agentprime.io/llms.txt>.
