nfsd: fix nfsd_file leak on inter-server COPY setup failure
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.109, 6.18.50, 7.2.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: nfsd: fix nfsd_file leak on inter-server COPY setup failure When nfsd4_setup_inter_ssc() fails, nfsd4_copy() returns nfserr_offload_denied directly, bypassing the out: label where release_copy_files() would drop the nf_dst reference taken by nfs4_preprocess_stateid_op(). Each failed inter-server COPY leaks one nfsd_file, pinning file/inode/dentry/vfsmount. Fix by setting status and jumping to out: instead of returning directly.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From ce0887ac96d35c7105090e166bb0807dc0a0e838 · fixed in ab949252fdf102ae74329a0caa7995a849d0dafa; From ce0887ac96d35c7105090e166bb0807dc0a0e838 · fixed in 1a6a41b848455bf6ba2c9da2dfb0730e608ce7ab; From ce0887ac96d35c7105090e166bb0807dc0a0e838 · fixed in 424d5c95108a4809b832cb0a312c61de4aec0078; From ce0887ac96d35c7105090e166bb0807dc0a0e838 · fixed in 6ed8d6de7ec90c4ba84eb82673058f506e5777fd; From ce0887ac96d35c7105090e166bb0807dc0a0e838 · fixed in 88a76145451d703eedd867b5989bf73d17340399
- Linux Linux
5.6
- KernelLinux
From 5.6.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.109; From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4