# CVE-2026-89707: nfsd: release path refs on follow\_down() error

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.72% (percentile 50, 2026-11-26)
- **Published:** 2026-09-11T19:46:23.293Z
- **Modified:** 2026-10-30T13:20:26.963Z

## Who should check

- Anyone running Linux \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< bdf5a0f88d21239d8f9f7519b87359ba95fd045c; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< 18847cbf5900f5c6c55bef5a6f7a34a1918d1181; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< e301c5cdb0dc2c4aeffc0c055ea15615d9c51fdc; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< 085cfde7c2186acaad103f02d2c25435ad5224e9; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< 194316df81263519156ebe714c4a286bee00e5be; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< 467d56fd3ff57447a790c6dc3ede2d02a947d224; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< 2bc4343308d85ee4e0dd3877b384306c96f114c2; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< 6cba08dc1922140d260cfeb30bbda4ee1bf869d8
- Anyone running Linux 2.6.38

## Description

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.

## Affected and fixed versions

- Linux: \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< bdf5a0f88d21239d8f9f7519b87359ba95fd045c; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< 18847cbf5900f5c6c55bef5a6f7a34a1918d1181; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< e301c5cdb0dc2c4aeffc0c055ea15615d9c51fdc; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< 085cfde7c2186acaad103f02d2c25435ad5224e9; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< 194316df81263519156ebe714c4a286bee00e5be; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< 467d56fd3ff57447a790c6dc3ede2d02a947d224; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< 2bc4343308d85ee4e0dd3877b384306c96f114c2; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< 6cba08dc1922140d260cfeb30bbda4ee1bf869d8 (cvelist)
- Linux: 2.6.38 (cvelist)

## Mitigation

- Upgrade Linux to 6cba08dc1922140d260cfeb30bbda4ee1bf869d8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89707. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89707.md
Affected: Linux >= cc53ce53c86924bfe98a12ea20b7465038a08792, < bdf5a0f88d21239d8f9f7519b87359ba95fd045c; >= cc53ce53c86924bfe98a12ea20b7465038a08792, < 18847cbf5900f5c6c55bef5a6f7a34a1918d1181; >= cc53ce53c86924bfe98a12ea20b7465038a08792, < e301c5cdb0dc2c4aeffc0c055ea15615d9c51fdc; >= cc53ce53c86924bfe98a12e…
Fixed in: Linux 18847cbf5900f5c6c55bef5a6f7a34a1918d1181, Linux 085cfde7c2186acaad103f02d2c25435ad5224e9, Linux 194316df81263519156ebe714c4a286bee00e5be, Linux 467d56fd3ff57447a790c6dc3ede2d02a947d224, Linux 2bc4343308d85ee4e0dd3877b384306c96f114c2, Linux 6cba08dc1922140d260cfeb30bbda4ee1bf869d8

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89707 being exploited?

There is no confirmed exploitation: CVE-2026-89707 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.72% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89707?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-89707?

Linux \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< bdf5a0f88d21239d8f9f7519b87359ba95fd045c; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< 18847cbf5900f5c6c55bef5a6f7a34a1918d1181; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< e301c5cdb0dc2c4aeffc0c055ea15615d9c51fdc; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< 085cfde7c2186acaad103f02d2c25435ad5224e9; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< 194316df81263519156ebe714c4a286bee00e5be; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< 467d56fd3ff57447a790c6dc3ede2d02a947d224; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< 2bc4343308d85ee4e0dd3877b384306c96f114c2; \>= cc53ce53c86924bfe98a12ea20b7465038a08792, \< 6cba08dc1922140d260cfeb30bbda4ee1bf869d8; Linux 2.6.38.

### Is there a fix for CVE-2026-89707?

Yes. Fixed in Linux 18847cbf5900f5c6c55bef5a6f7a34a1918d1181, Linux 085cfde7c2186acaad103f02d2c25435ad5224e9, Linux 194316df81263519156ebe714c4a286bee00e5be, Linux 467d56fd3ff57447a790c6dc3ede2d02a947d224, Linux 2bc4343308d85ee4e0dd3877b384306c96f114c2, Linux 6cba08dc1922140d260cfeb30bbda4ee1bf869d8. Upgrade Linux to 6cba08dc1922140d260cfeb30bbda4ee1bf869d8 or later.

### How do I check if I'm affected by CVE-2026-89707?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/bdf5a0f88d21239d8f9f7519b87359ba95fd045c>
- other: <https://git.kernel.org/stable/c/18847cbf5900f5c6c55bef5a6f7a34a1918d1181>
- other: <https://git.kernel.org/stable/c/e301c5cdb0dc2c4aeffc0c055ea15615d9c51fdc>
- other: <https://git.kernel.org/stable/c/085cfde7c2186acaad103f02d2c25435ad5224e9>
- other: <https://git.kernel.org/stable/c/194316df81263519156ebe714c4a286bee00e5be>
- other: <https://git.kernel.org/stable/c/467d56fd3ff57447a790c6dc3ede2d02a947d224>
- other: <https://git.kernel.org/stable/c/2bc4343308d85ee4e0dd3877b384306c96f114c2>
- other: <https://git.kernel.org/stable/c/6cba08dc1922140d260cfeb30bbda4ee1bf869d8>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89707>

HTML: <https://flawdb.com/CVE-2026-89707> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89707>
