# CVE-2026-89667: nfsd: close shrinker/GC/fsnotify vs per-net shutdown race in filecache

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

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.57% (percentile 41, 2026-11-26)
- **Published:** 2026-09-11T19:45:53.609Z
- **Modified:** 2026-10-19T09:18:04.767Z

## Who should check

- Anyone running Linux \>= ffb402596147ac583f3464ff5c48feb9423e3838, \< b15997b53b61c74fb4d083f7261d19f389ff854f; \>= ffb402596147ac583f3464ff5c48feb9423e3838, \< 6d6b9f6a75c3767250e9c23ace4e384ab8f7843e; \>= ffb402596147ac583f3464ff5c48feb9423e3838, \< 08af9593e2b472fd98c00faf1bf03bdbb7203477; \>= ffb402596147ac583f3464ff5c48feb9423e3838, \< 40162cfea79b9510380decfdd1795b754dc9f972
- Anyone running Linux 6.9

## Description

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

nfsd: close shrinker/GC/fsnotify vs per-net shutdown race in filecache

The shrinker, GC worker, and fsnotify/lease callbacks can unhash an
nfsd\_file from the rhashtable and then call
nfsd\_file\_dispose\_list\_delayed() to move it to the per-net dispose list.
If nfsd\_file\_cache\_shutdown\_net() runs concurrently, its rhashtable walk
misses the already-unhashed file, and its drain of the per-net dispose
list can run before the file has been queued.  The file then sits on
the per-net list with no thread to drain it, leaking both the file and
its associated state.

The GC worker and shrinker already hold nfsd\_gc\_lock while walking the
LRU, but in the original code they release it before calling
nfsd\_file\_dispose\_list\_delayed().  The fsnotify/lease path
(nfsd\_file\_close\_inode) has no synchronization at all.

Fix this by:

  1. Widening nfsd\_gc\_lock in both nfsd\_file\_gc() and nfsd\_file\_lru\_scan()
     to cover the nfsd\_file\_dispose\_list\_delayed() call.

  2. Wrapping nfsd\_file\_close\_inode() in nfsd\_gc\_lock so that all three
     callers of nfsd\_file\_dispose\_list\_delayed() hold the lock.

  3. Adding a spin\_lock/unlock(nfsd\_gc\_lock) barrier in
     nfsd\_file\_cache\_shutdown\_net() after the purge, so that any
     in-progress disposal has fully completed before the per-net list
     is drained.

All operations inside the lock are non-sleeping (rhashtable lookups,
atomic bit/refcount ops, list moves, svc\_wake\_up), so the spinlock is
appropriate.

## Affected and fixed versions

- Linux: \>= ffb402596147ac583f3464ff5c48feb9423e3838, \< b15997b53b61c74fb4d083f7261d19f389ff854f; \>= ffb402596147ac583f3464ff5c48feb9423e3838, \< 6d6b9f6a75c3767250e9c23ace4e384ab8f7843e; \>= ffb402596147ac583f3464ff5c48feb9423e3838, \< 08af9593e2b472fd98c00faf1bf03bdbb7203477; \>= ffb402596147ac583f3464ff5c48feb9423e3838, \< 40162cfea79b9510380decfdd1795b754dc9f972 (cvelist)
- Linux: 6.9 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-89667.md
Affected: Linux >= ffb402596147ac583f3464ff5c48feb9423e3838, < b15997b53b61c74fb4d083f7261d19f389ff854f; >= ffb402596147ac583f3464ff5c48feb9423e3838, < 6d6b9f6a75c3767250e9c23ace4e384ab8f7843e; >= ffb402596147ac583f3464ff5c48feb9423e3838, < 08af9593e2b472fd98c00faf1bf03bdbb7203477; >= ffb402596147ac583f3464f…
Fixed in: Linux 6d6b9f6a75c3767250e9c23ace4e384ab8f7843e, Linux 08af9593e2b472fd98c00faf1bf03bdbb7203477, Linux 40162cfea79b9510380decfdd1795b754dc9f972

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

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

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

High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= ffb402596147ac583f3464ff5c48feb9423e3838, \< b15997b53b61c74fb4d083f7261d19f389ff854f; \>= ffb402596147ac583f3464ff5c48feb9423e3838, \< 6d6b9f6a75c3767250e9c23ace4e384ab8f7843e; \>= ffb402596147ac583f3464ff5c48feb9423e3838, \< 08af9593e2b472fd98c00faf1bf03bdbb7203477; \>= ffb402596147ac583f3464ff5c48feb9423e3838, \< 40162cfea79b9510380decfdd1795b754dc9f972; Linux 6.9.

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

Yes. Fixed in Linux 6d6b9f6a75c3767250e9c23ace4e384ab8f7843e, Linux 08af9593e2b472fd98c00faf1bf03bdbb7203477, Linux 40162cfea79b9510380decfdd1795b754dc9f972. Upgrade Linux to 40162cfea79b9510380decfdd1795b754dc9f972 or later.

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

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/b15997b53b61c74fb4d083f7261d19f389ff854f>
- other: <https://git.kernel.org/stable/c/6d6b9f6a75c3767250e9c23ace4e384ab8f7843e>
- other: <https://git.kernel.org/stable/c/08af9593e2b472fd98c00faf1bf03bdbb7203477>
- other: <https://git.kernel.org/stable/c/40162cfea79b9510380decfdd1795b754dc9f972>

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

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