Home

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

PUBLISHED Reserved 2025-04-16 | Published 2025-08-19 | Updated 2025-09-29 | Assigner Linux

Product status

Default status
unaffected

986a21ace186433e0397a59491646edad8c8d636 before fcb0a417fddb605530c4837e0996620f8ed38023
affected

e6f7e1487ab528a6c653bd0d42812ff2942846cd before c4bf8f26c51e51bbb840935659a7b3b65a802c07
affected

e6f7e1487ab528a6c653bd0d42812ff2942846cd before e5a73150776f18547ee685c9f6bfafe549714899
affected

Default status
affected

6.16
affected

Any version before 6.16
unaffected

6.15.10
unaffected

6.16.1
unaffected

6.17
unaffected

References

git.kernel.org/...c/fcb0a417fddb605530c4837e0996620f8ed38023

git.kernel.org/...c/c4bf8f26c51e51bbb840935659a7b3b65a802c07

git.kernel.org/...c/e5a73150776f18547ee685c9f6bfafe549714899

cve.org (CVE-2025-38567)

nvd.nist.gov (CVE-2025-38567)

Download JSON