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.
https://git.kernel.org/stable/c/88a76145451d703eedd867b5989bf73d17340399
https://git.kernel.org/stable/c/6ed8d6de7ec90c4ba84eb82673058f506e5777fd
https://git.kernel.org/stable/c/424d5c95108a4809b832cb0a312c61de4aec0078
https://git.kernel.org/stable/c/1a6a41b848455bf6ba2c9da2dfb0730e608ce7ab