{"id":"CVE-2026-89680","state":"PUBLISHED","title":"nfsd: fix nfsd_file leak on inter-server COPY setup failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: fix nfsd_file leak on inter-server COPY setup failure\n\nWhen nfsd4_setup_inter_ssc() fails, nfsd4_copy() returns\nnfserr_offload_denied directly, bypassing the out: label where\nrelease_copy_files() would drop the nf_dst reference taken by\nnfs4_preprocess_stateid_op(). Each failed inter-server COPY\nleaks one nfsd_file, pinning file/inode/dentry/vfsmount.\n\nFix by setting status and jumping to out: instead of returning\ndirectly.","publishedAt":"2026-09-11T19:46:03.468Z","updatedAt":"2026-10-30T12:32:39.849Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ce0887ac96d35c7105090e166bb0807dc0a0e838","status":"affected","lessThan":"d15f76fddc5d0215db5f18851048376a1ea79bd6","versionType":"git"},{"version":"ce0887ac96d35c7105090e166bb0807dc0a0e838","status":"affected","lessThan":"eb22420e5bd6eb3afa1f840036bb08a7ac90db76","versionType":"git"},{"version":"ce0887ac96d35c7105090e166bb0807dc0a0e838","status":"affected","lessThan":"94c28af6fd89cb204975e49b824f8ee521bb84e9","versionType":"git"},{"version":"ce0887ac96d35c7105090e166bb0807dc0a0e838","status":"affected","lessThan":"ab949252fdf102ae74329a0caa7995a849d0dafa","versionType":"git"},{"version":"ce0887ac96d35c7105090e166bb0807dc0a0e838","status":"affected","lessThan":"1a6a41b848455bf6ba2c9da2dfb0730e608ce7ab","versionType":"git"},{"version":"ce0887ac96d35c7105090e166bb0807dc0a0e838","status":"affected","lessThan":"424d5c95108a4809b832cb0a312c61de4aec0078","versionType":"git"},{"version":"ce0887ac96d35c7105090e166bb0807dc0a0e838","status":"affected","lessThan":"6ed8d6de7ec90c4ba84eb82673058f506e5777fd","versionType":"git"},{"version":"ce0887ac96d35c7105090e166bb0807dc0a0e838","status":"affected","lessThan":"88a76145451d703eedd867b5989bf73d17340399","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfsd/nfs4proc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.6","versionType":"semver"},{"version":"5.10.273","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.224","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.109","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.50","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.4","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfsd/nfs4proc.c"]}],"references":["https://git.kernel.org/stable/c/d15f76fddc5d0215db5f18851048376a1ea79bd6","https://git.kernel.org/stable/c/eb22420e5bd6eb3afa1f840036bb08a7ac90db76","https://git.kernel.org/stable/c/94c28af6fd89cb204975e49b824f8ee521bb84e9","https://git.kernel.org/stable/c/ab949252fdf102ae74329a0caa7995a849d0dafa","https://git.kernel.org/stable/c/1a6a41b848455bf6ba2c9da2dfb0730e608ce7ab","https://git.kernel.org/stable/c/424d5c95108a4809b832cb0a312c61de4aec0078","https://git.kernel.org/stable/c/6ed8d6de7ec90c4ba84eb82673058f506e5777fd","https://git.kernel.org/stable/c/88a76145451d703eedd867b5989bf73d17340399"],"weaknesses":[],"ingestedAt":"2026-10-30T12:52:04.348Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/89xxx/CVE-2026-89680.json","commit":"1f312381e38164a43607eebab851b151dd16861e","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-89680","state":"PUBLISHED","datePublished":"2026-09-11T19:46:03.468Z","dateUpdated":"2026-10-30T12:32:39.849Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-11T19:38:34.748Z"},"containers":{"cna":{"title":"nfsd: fix nfsd_file leak on inter-server COPY setup failure","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: fix nfsd_file leak on inter-server COPY setup failure\n\nWhen nfsd4_setup_inter_ssc() fails, nfsd4_copy() returns\nnfserr_offload_denied directly, bypassing the out: label where\nrelease_copy_files() would drop the nf_dst reference taken by\nnfs4_preprocess_stateid_op(). Each failed inter-server COPY\nleaks one nfsd_file, pinning file/inode/dentry/vfsmount.\n\nFix by setting status and jumping to out: instead of returning\ndirectly."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ce0887ac96d35c7105090e166bb0807dc0a0e838","status":"affected","lessThan":"d15f76fddc5d0215db5f18851048376a1ea79bd6","versionType":"git"},{"version":"ce0887ac96d35c7105090e166bb0807dc0a0e838","status":"affected","lessThan":"eb22420e5bd6eb3afa1f840036bb08a7ac90db76","versionType":"git"},{"version":"ce0887ac96d35c7105090e166bb0807dc0a0e838","status":"affected","lessThan":"94c28af6fd89cb204975e49b824f8ee521bb84e9","versionType":"git"},{"version":"ce0887ac96d35c7105090e166bb0807dc0a0e838","status":"affected","lessThan":"ab949252fdf102ae74329a0caa7995a849d0dafa","versionType":"git"},{"version":"ce0887ac96d35c7105090e166bb0807dc0a0e838","status":"affected","lessThan":"1a6a41b848455bf6ba2c9da2dfb0730e608ce7ab","versionType":"git"},{"version":"ce0887ac96d35c7105090e166bb0807dc0a0e838","status":"affected","lessThan":"424d5c95108a4809b832cb0a312c61de4aec0078","versionType":"git"},{"version":"ce0887ac96d35c7105090e166bb0807dc0a0e838","status":"affected","lessThan":"6ed8d6de7ec90c4ba84eb82673058f506e5777fd","versionType":"git"},{"version":"ce0887ac96d35c7105090e166bb0807dc0a0e838","status":"affected","lessThan":"88a76145451d703eedd867b5989bf73d17340399","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfsd/nfs4proc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.6","versionType":"semver"},{"version":"5.10.273","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.224","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.109","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.50","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.4","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfsd/nfs4proc.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d15f76fddc5d0215db5f18851048376a1ea79bd6"},{"url":"https://git.kernel.org/stable/c/eb22420e5bd6eb3afa1f840036bb08a7ac90db76"},{"url":"https://git.kernel.org/stable/c/94c28af6fd89cb204975e49b824f8ee521bb84e9"},{"url":"https://git.kernel.org/stable/c/ab949252fdf102ae74329a0caa7995a849d0dafa"},{"url":"https://git.kernel.org/stable/c/1a6a41b848455bf6ba2c9da2dfb0730e608ce7ab"},{"url":"https://git.kernel.org/stable/c/424d5c95108a4809b832cb0a312c61de4aec0078"},{"url":"https://git.kernel.org/stable/c/6ed8d6de7ec90c4ba84eb82673058f506e5777fd"},{"url":"https://git.kernel.org/stable/c/88a76145451d703eedd867b5989bf73d17340399"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - nfsd's NFSv4.2 OP_COPY is reached over TCP/2049: svc_recv to nfsd_dispatch to nfsd4_proc_compound to nfsd4_copy to nfsd4_setup_inter_ssc. A remote client triggers the leak with a COMPOUND; no local access to the server is required.\nAC:L - Once inter-server COPY offload is enabled, the attacker controls every trigger: async COPY on the wire, a valid dest write stateid, and a source nl4_server that makes nfsd4_interssc_connect fail (bad uaddr/netid or failed mount). No race or attacker-uncontrollable layout is required.\nPR:N - Under default AUTH_SYS, EXCHANGE_ID/CREATE_SESSION and OPEN verify no secret; a remote client permitted by the export asserts a UID and obtains write stateids. This matches PR:N on the same nfsd4_copy path (CVE-2024-53073, CVE-2024-50241).\nUI:N - The attacker's own NFSv4.2 COMPOUND traffic drives nfsd4_copy; no administrator or local user on the server must mount, open a file, or otherwise interact beyond nfsd already serving an export.\nS:U - The leaked nfsd_file reference pins file/inode/dentry/vfsmount inside the NFS server kernel's own security authority; there is no VM, IOMMU, or sandbox boundary crossing.\nC:N - The defect only skips nfsd_file_put() on an extra filecache reference taken by nfs4_preprocess_stateid_op(); there is no out-of-bounds read, use-after-free, or other disclosure of kernel memory to the client.\nI:N - COPY setup fails before nfsd_copy_range, so no file data is modified; the leaked reference is not attacker-controlled reused memory and yields no write or control-flow primitive.\nA:H - Each failed inter-server COPY permanently leaks one nfsd_file ref, pinning the dest file/inode/dentry/vfsmount. Repeating against many created-then-unlinked files unbounded-pins slab and inodes and blocks umount, enabling remote kernel memory exhaustion and NFS server DoS."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:32:39.849Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"5.10.273"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"5.15.224"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"6.12.109"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"6.18.50"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"7.2.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}