# CVE-2026-89715: NFS/localio: fix ref leak on nfs\_uuid\_add\_file failure

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-09-11T19:46:29.227Z
- **Modified:** 2026-10-19T09:18:10.470Z

## Who should check

- Anyone running Linux \>= fdd015de767977f21892329af5e12276eb80375f, \< 5215e734bf7cba18237155f8cb2a0accb60ca339; \>= fdd015de767977f21892329af5e12276eb80375f, \< 9f59b05423ed381f8cdeaaae4bd6778adcb6865c; \>= fdd015de767977f21892329af5e12276eb80375f, \< ca018c19e0ba38975e5ddc3ef8117d5b734313aa; 55735dc5a0ee0c0fc14cb51e005eae862906a410; 7cac8a129fc53497f9ee5d66fca55a245d009b97; \>= 6.15.10, \< 6.16; \>= 6.16.1, \< 6.17
- Anyone running Linux 6.17

## Description

In the Linux kernel, the following vulnerability has been resolved:

NFS/localio: fix ref leak on nfs\_uuid\_add\_file failure

When nfs\_uuid\_add\_file() races with nfs\_uuid\_put() tearing down
uuid-\>net, it returns -ENXIO without publishing nfl-\>nfs\_uuid via
rcu\_assign\_pointer().  nfs\_open\_local\_fh() then enters its error
branch and only releases the slot's file ref and its paired net
ref plus its own entry-time net ref, while the close path is a
no-op:

    nfs\_close\_local\_fh()
      nfs\_uuid = rcu\_dereference(nfl-\>nfs\_uuid);
      if (!nfs\_uuid) { rcu\_read\_unlock(); return; }  /\* always \*/

nfsd\_open\_local\_fh() returns localio holding a caller-owned +1
nfsd\_file reference (from nfsd\_file\_get() after
nfsd\_file\_acquire\_local()) and an entry-time nfsd\_net reference
(from its first nfsd\_net\_try\_get()) embedded as nf-\>nf\_net.  Both
are leaked on the failure path, pinning one nfsd\_file (and the
underlying struct file, dentry, inode) and one nfsd\_net\_ref per
occurrence, which blocks nfsd\_net and netns teardown.

Fix by releasing the caller-owned file ref and its net ref through
the existing helper, using a stack-local RCU pointer so the helper
can xchg it out, then returning -ENXIO so callers do not
dereference a localio whose slot has been cleared:

    struct nfsd\_file \_\_rcu \*tmp = RCU\_INITIALIZER(localio);

    nfs\_to\_nfsd\_file\_put\_local(pnf);
    nfs\_to\_nfsd\_file\_put\_local(&tmp);
    localio = ERR\_PTR(-ENXIO);

The trailing nfs\_to\_nfsd\_net\_put(net) continues to release the
outer net ref, so all three nfsd\_net\_try\_get() increments are
balanced on the error branch.

## Affected and fixed versions

- Linux: \>= fdd015de767977f21892329af5e12276eb80375f, \< 5215e734bf7cba18237155f8cb2a0accb60ca339; \>= fdd015de767977f21892329af5e12276eb80375f, \< 9f59b05423ed381f8cdeaaae4bd6778adcb6865c; \>= fdd015de767977f21892329af5e12276eb80375f, \< ca018c19e0ba38975e5ddc3ef8117d5b734313aa; 55735dc5a0ee0c0fc14cb51e005eae862906a410; 7cac8a129fc53497f9ee5d66fca55a245d009b97; \>= 6.15.10, \< 6.16; \>= 6.16.1, \< 6.17 (cvelist)
- Linux: 6.17 (cvelist)

## Mitigation

- Upgrade Linux to 6.17 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-89715. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89715.md
Affected: Linux >= fdd015de767977f21892329af5e12276eb80375f, < 5215e734bf7cba18237155f8cb2a0accb60ca339; >= fdd015de767977f21892329af5e12276eb80375f, < 9f59b05423ed381f8cdeaaae4bd6778adcb6865c; >= fdd015de767977f21892329af5e12276eb80375f, < ca018c19e0ba38975e5ddc3ef8117d5b734313aa; 55735dc5a0ee0c0fc14cb51e00…
Fixed in: Linux 5215e734bf7cba18237155f8cb2a0accb60ca339, Linux 9f59b05423ed381f8cdeaaae4bd6778adcb6865c, Linux 6.16, Linux 6.17

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-89715 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= fdd015de767977f21892329af5e12276eb80375f, \< 5215e734bf7cba18237155f8cb2a0accb60ca339; \>= fdd015de767977f21892329af5e12276eb80375f, \< 9f59b05423ed381f8cdeaaae4bd6778adcb6865c; \>= fdd015de767977f21892329af5e12276eb80375f, \< ca018c19e0ba38975e5ddc3ef8117d5b734313aa; 55735dc5a0ee0c0fc14cb51e005eae862906a410; 7cac8a129fc53497f9ee5d66fca55a245d009b97; \>= 6.15.10, \< 6.16; \>= 6.16.1, \< 6.17; Linux 6.17.

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

Yes. Fixed in Linux 5215e734bf7cba18237155f8cb2a0accb60ca339, Linux 9f59b05423ed381f8cdeaaae4bd6778adcb6865c, Linux 6.16, Linux 6.17. Upgrade Linux to 6.17 or later.

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

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/5215e734bf7cba18237155f8cb2a0accb60ca339>
- other: <https://git.kernel.org/stable/c/9f59b05423ed381f8cdeaaae4bd6778adcb6865c>
- other: <https://git.kernel.org/stable/c/ca018c19e0ba38975e5ddc3ef8117d5b734313aa>

## 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-89715>

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