CVE-2025-38567

published 19 Aug 2025 · updated 17 Nov 2026

nfsd: avoid ref leak in nfsd_open_local_fh()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.15.10, Kernel c4bf8f26c51e51bbb840935659a7b3b65a802c07, Kernel e5a73150776f18547ee685c9f6bfafe549714899 and 2 more.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=6.15.3 <6.15.10, >=e6f7e1487ab528a6c653bd0d42812ff2942846cd <c4bf8f26c51e51bbb840935659a7b3b65a802c07, >=e6f7e1487ab528a6c653bd0d42812ff2942846cd <e5a73150776f18547ee685c9f6bfafe549714899, =6.16, >=986a21ace186433e0397a59491646edad8c8d636 <fcb0a417fddb605530c4837e0996620f8ed380236.15.10, c4bf8f26c51e51bbb840935659a7b3b65a802c07, e5a73150776f18547ee685c9f6bfafe549714899, fcb0a417fddb605530c4837e0996620f8ed38023
linux-kernel: Kernel>=6.16.0 <6.16.1, >=6.15.3 <6.15.106.16.1, 6.15.10

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38567 severity on Zeptric[![CVE-2025-38567](https://zeptric.io/badge/cve/CVE-2025-38567.svg)](https://zeptric.io/cve/CVE-2025-38567)