VDB

CVE-2026-89707

CVE-2026-89707 PUBLISHED CVSS 7.5 HIGH

nfsd: release path refs on follow_down() error

Reported by linux · Published September 11, 2026

In the Linux kernel, the following vulnerability has been resolved: nfsd: release path refs on follow_down() error nfsd_cross_mnt() initializes a local struct path with mntget() and dget() before calling follow_down(). On a negative return the error arm jumps to out without releasing those references: err = follow_down(&path, follow_flags); if (err < 0) goto out; follow_down() never drops the caller's entry-time refs on any error sub-case; for example a pre-cross d_manage() failure leaves path untouched, so the mntget()/dget() taken on entry survive the call. Every other early-exit arm in nfsd_cross_mnt() (other-namespace return, IS_ERR(exp2), and the success tail after the swap) already calls path_put(&path); the err < 0 arm is the lone omission. The leak inflates mnt_count and d_count on each failed cross-mount, blocking umount and pinning dentries against the shrinker, and is reachable by any authenticated NFS client through nfsd_lookup_dentry or the NFSv4 READDIR encode path. Fix by calling path_put(&path) before the goto out in the err < 0 arm so the entry-time refs are released on all follow_down() error returns.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-livepatch-6.12.110-135.201Amazon Linux1:1.0-0.amzn2023
bpftool6.12Amazon Linux1:6.12.110-135.201.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.110-135.201.amzn2023
python3-perf6.12Amazon Linux1:6.12.110-135.201.amzn2023
kernel6.18-headersAmazon Linux1:6.18.51-120.162.amzn2023
kernel6.18-develAmazon Linux1:6.18.51-120.162.amzn2023
kernel6.12-develAmazon Linux1:6.12.110-135.201.amzn2023
bpftool6.18Amazon Linux1:6.18.51-120.162.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.51-120.162.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.51-120.162.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.51-120.162.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.51-120.162.amzn2023

6 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinuxcc53ce53c86924bfe98a12ea20b7465038a08792, cc53ce53c86924bfe98a12ea20b7465038a08792, cc53ce53c86924bfe98a12ea20b7465038a08792
LinuxLinux2.6.38, 0, 5.10.273
amazon:2023kernel-livepatch-6.12.110-135.2010
amazon:2023bpftool6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023python3-perf6.120
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.12-devel0
amazon:2023bpftool6.180
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-tools-devel0
amazon:2023microvm-kernel6.180
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel-livepatch-6.18.51-120.1620
amazon:2023perf6.120
amazon:2023perf6.180
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.180
LinuxLinux7.3, *, *

…and 7 more

Timeline

  • Sep 11, 2026 CVE Published
  • Sep 12, 2026 EPSS Score (29 in total, the first dated here)
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-89707
vulnetix vdb fixes CVE-2026-89707

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89707/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›