{"id":"CVE-2026-89707","published":"2026-09-11T19:46:23Z","modified":"2026-10-30T12:32:46Z","title":"nfsd: release path refs on follow_down() error","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00696,"percentile":0.53927,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/bdf5a0f88d21239d8f9f7519b87359ba95fd045c","tags":[]},{"url":"https://git.kernel.org/stable/c/18847cbf5900f5c6c55bef5a6f7a34a1918d1181","tags":[]},{"url":"https://git.kernel.org/stable/c/e301c5cdb0dc2c4aeffc0c055ea15615d9c51fdc","tags":[]},{"url":"https://git.kernel.org/stable/c/085cfde7c2186acaad103f02d2c25435ad5224e9","tags":[]},{"url":"https://git.kernel.org/stable/c/194316df81263519156ebe714c4a286bee00e5be","tags":[]},{"url":"https://git.kernel.org/stable/c/467d56fd3ff57447a790c6dc3ede2d02a947d224","tags":[]},{"url":"https://git.kernel.org/stable/c/2bc4343308d85ee4e0dd3877b384306c96f114c2","tags":[]},{"url":"https://git.kernel.org/stable/c/6cba08dc1922140d260cfeb30bbda4ee1bf869d8","tags":[]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":10.79},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= cc53ce53c86924bfe98a12ea20b7465038a08792, < bdf5a0f88d21239d8f9f7519b87359ba95fd045c",">= cc53ce53c86924bfe98a12ea20b7465038a08792, < 18847cbf5900f5c6c55bef5a6f7a34a1918d1181",">= cc53ce53c86924bfe98a12ea20b7465038a08792, < e301c5cdb0dc2c4aeffc0c055ea15615d9c51fdc",">= cc53ce53c86924bfe98a12ea20b7465038a08792, < 085cfde7c2186acaad103f02d2c25435ad5224e9",">= cc53ce53c86924bfe98a12ea20b7465038a08792, < 194316df81263519156ebe714c4a286bee00e5be",">= cc53ce53c86924bfe98a12ea20b7465038a08792, < 467d56fd3ff57447a790c6dc3ede2d02a947d224",">= cc53ce53c86924bfe98a12ea20b7465038a08792, < 2bc4343308d85ee4e0dd3877b384306c96f114c2",">= cc53ce53c86924bfe98a12ea20b7465038a08792, < 6cba08dc1922140d260cfeb30bbda4ee1bf869d8"]},{"vendor":"Linux","product":"Linux","versions":["2.6.38"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-16T19:26:16.926763Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-76619","exploited":false,"provenance":"source"}}