{"api_version":"1","generated_at":"2026-09-12T04:34:23+00:00","cve":"CVE-2026-89707","urls":{"html":"https://cve.report/CVE-2026-89707","api":"https://cve.report/api/cve/CVE-2026-89707.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-89707","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-89707"},"summary":{"title":"nfsd: release path refs on follow_down() error","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: release path refs on follow_down() error\n\nnfsd_cross_mnt() initializes a local struct path with mntget() and\ndget() before calling follow_down(). On a negative return the error\narm jumps to out without releasing those references:\n\n    err = follow_down(&path, follow_flags);\n    if (err < 0)\n            goto out;\n\nfollow_down() never drops the caller's entry-time refs on any error\nsub-case; for example a pre-cross d_manage() failure leaves path\nuntouched, so the mntget()/dget() taken on entry survive the call.\n\nEvery other early-exit arm in nfsd_cross_mnt() (other-namespace\nreturn, IS_ERR(exp2), and the success tail after the swap) already\ncalls path_put(&path); the err < 0 arm is the lone omission. The\nleak inflates mnt_count and d_count on each failed cross-mount,\nblocking umount and pinning dentries against the shrinker, and is\nreachable by any authenticated NFS client through nfsd_lookup_dentry\nor the NFSv4 READDIR encode path.\n\nFix by calling path_put(&path) before the goto out in the err < 0\narm so the entry-time refs are released on all follow_down() error\nreturns.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-11 20:19:58","updated_at":"2026-09-11 20:19:58"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/194316df81263519156ebe714c4a286bee00e5be","name":"https://git.kernel.org/stable/c/194316df81263519156ebe714c4a286bee00e5be","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/467d56fd3ff57447a790c6dc3ede2d02a947d224","name":"https://git.kernel.org/stable/c/467d56fd3ff57447a790c6dc3ede2d02a947d224","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6cba08dc1922140d260cfeb30bbda4ee1bf869d8","name":"https://git.kernel.org/stable/c/6cba08dc1922140d260cfeb30bbda4ee1bf869d8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2bc4343308d85ee4e0dd3877b384306c96f114c2","name":"https://git.kernel.org/stable/c/2bc4343308d85ee4e0dd3877b384306c96f114c2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89707","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89707","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected cc53ce53c86924bfe98a12ea20b7465038a08792 194316df81263519156ebe714c4a286bee00e5be git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected cc53ce53c86924bfe98a12ea20b7465038a08792 467d56fd3ff57447a790c6dc3ede2d02a947d224 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected cc53ce53c86924bfe98a12ea20b7465038a08792 2bc4343308d85ee4e0dd3877b384306c96f114c2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected cc53ce53c86924bfe98a12ea20b7465038a08792 6cba08dc1922140d260cfeb30bbda4ee1bf869d8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.38","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.38 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.109 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.50 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.4 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/nfsd/vfs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"194316df81263519156ebe714c4a286bee00e5be","status":"affected","version":"cc53ce53c86924bfe98a12ea20b7465038a08792","versionType":"git"},{"lessThan":"467d56fd3ff57447a790c6dc3ede2d02a947d224","status":"affected","version":"cc53ce53c86924bfe98a12ea20b7465038a08792","versionType":"git"},{"lessThan":"2bc4343308d85ee4e0dd3877b384306c96f114c2","status":"affected","version":"cc53ce53c86924bfe98a12ea20b7465038a08792","versionType":"git"},{"lessThan":"6cba08dc1922140d260cfeb30bbda4ee1bf869d8","status":"affected","version":"cc53ce53c86924bfe98a12ea20b7465038a08792","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/nfsd/vfs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.38"},{"lessThan":"2.6.38","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.109","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.50","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.109","versionStartIncluding":"2.6.38","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.50","versionStartIncluding":"2.6.38","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.4","versionStartIncluding":"2.6.38","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"2.6.38","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: release path refs on follow_down() error\n\nnfsd_cross_mnt() initializes a local struct path with mntget() and\ndget() before calling follow_down(). On a negative return the error\narm jumps to out without releasing those references:\n\n    err = follow_down(&path, follow_flags);\n    if (err < 0)\n            goto out;\n\nfollow_down() never drops the caller's entry-time refs on any error\nsub-case; for example a pre-cross d_manage() failure leaves path\nuntouched, so the mntget()/dget() taken on entry survive the call.\n\nEvery other early-exit arm in nfsd_cross_mnt() (other-namespace\nreturn, IS_ERR(exp2), and the success tail after the swap) already\ncalls path_put(&path); the err < 0 arm is the lone omission. The\nleak inflates mnt_count and d_count on each failed cross-mount,\nblocking umount and pinning dentries against the shrinker, and is\nreachable by any authenticated NFS client through nfsd_lookup_dentry\nor the NFSv4 READDIR encode path.\n\nFix by calling path_put(&path) before the goto out in the err < 0\narm so the entry-time refs are released on all follow_down() error\nreturns."}],"providerMetadata":{"dateUpdated":"2026-09-11T19:46:23.293Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/194316df81263519156ebe714c4a286bee00e5be"},{"url":"https://git.kernel.org/stable/c/467d56fd3ff57447a790c6dc3ede2d02a947d224"},{"url":"https://git.kernel.org/stable/c/2bc4343308d85ee4e0dd3877b384306c96f114c2"},{"url":"https://git.kernel.org/stable/c/6cba08dc1922140d260cfeb30bbda4ee1bf869d8"}],"title":"nfsd: release path refs on follow_down() error","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-89707","datePublished":"2026-09-11T19:46:23.293Z","dateReserved":"2026-09-11T19:38:34.751Z","dateUpdated":"2026-09-11T19:46:23.293Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-11 20:19:58","lastModifiedDate":"2026-09-11 20:19:58","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"89707","Ordinal":"1","Title":"nfsd: release path refs on follow_down() error","CVE":"CVE-2026-89707","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"89707","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: release path refs on follow_down() error\n\nnfsd_cross_mnt() initializes a local struct path with mntget() and\ndget() before calling follow_down(). On a negative return the error\narm jumps to out without releasing those references:\n\n    err = follow_down(&path, follow_flags);\n    if (err < 0)\n            goto out;\n\nfollow_down() never drops the caller's entry-time refs on any error\nsub-case; for example a pre-cross d_manage() failure leaves path\nuntouched, so the mntget()/dget() taken on entry survive the call.\n\nEvery other early-exit arm in nfsd_cross_mnt() (other-namespace\nreturn, IS_ERR(exp2), and the success tail after the swap) already\ncalls path_put(&path); the err < 0 arm is the lone omission. The\nleak inflates mnt_count and d_count on each failed cross-mount,\nblocking umount and pinning dentries against the shrinker, and is\nreachable by any authenticated NFS client through nfsd_lookup_dentry\nor the NFSv4 READDIR encode path.\n\nFix by calling path_put(&path) before the goto out in the err < 0\narm so the entry-time refs are released on all follow_down() error\nreturns.","Type":"Description","Title":"nfsd: release path refs on follow_down() error"}]}}}