# CVE-2026-89686: nfsd: fix BUG\_ON in nfsd4\_alloc\_layout\_stateid on racing delegation revoke

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; 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.72% (percentile 50, 2026-11-26)
- **Published:** 2026-09-11T19:46:07.877Z
- **Modified:** 2026-10-30T13:20:26.500Z

## Who should check

- Anyone running Linux \>= c5c707f96fc9a6e5a57ca5baac892673270abe3d, \< f5011c26246d1abed3dc750c9744e33cb79ff9bc; \>= c5c707f96fc9a6e5a57ca5baac892673270abe3d, \< d12af460df27876661707efab3a8532146cb961f; \>= c5c707f96fc9a6e5a57ca5baac892673270abe3d, \< c517f27498757e616d2a8fe6d16caad1fee422e6; \>= c5c707f96fc9a6e5a57ca5baac892673270abe3d, \< 607a56fea772c1f4f4989d8e255dd4f7192d9604; \>= c5c707f96fc9a6e5a57ca5baac892673270abe3d, \< 97bda8b4284d90897a1f1922e5082ff9e35d7c7e; \>= c5c707f96fc9a6e5a57ca5baac892673270abe3d, \< ca94ba36172046be6a694a7986f6931e47ed4d51
- Anyone running Linux 4.0

## Description

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

nfsd: fix BUG\_ON in nfsd4\_alloc\_layout\_stateid on racing delegation revoke

nfsd4\_alloc\_layout\_stateid reads fp-\>fi\_deleg\_file without holding
fi\_lock when the parent stateid is a delegation. A concurrent delegation
revoke via the laundromat can clear fi\_deleg\_file under fi\_lock, causing
nfsd\_file\_get() to return NULL and triggering the BUG\_ON.

This race is client-reachable: two NFS clients can trigger it by having
one hold a delegation while another opens the same file to force a
recall. When the first client doesn't respond to the recall, the
laundromat revokes it. A concurrent LAYOUTGET from any client using the
delegation stateid hits the race window.

Fix this by taking fi\_lock around the fi\_deleg\_file read in the
SC\_TYPE\_DELEG path, matching the locking discipline of the
find\_any\_file() arm, and replacing the BUG\_ON with a graceful error
return that cleans up the partially-initialized layout stateid.

## Affected and fixed versions

- Linux: \>= c5c707f96fc9a6e5a57ca5baac892673270abe3d, \< f5011c26246d1abed3dc750c9744e33cb79ff9bc; \>= c5c707f96fc9a6e5a57ca5baac892673270abe3d, \< d12af460df27876661707efab3a8532146cb961f; \>= c5c707f96fc9a6e5a57ca5baac892673270abe3d, \< c517f27498757e616d2a8fe6d16caad1fee422e6; \>= c5c707f96fc9a6e5a57ca5baac892673270abe3d, \< 607a56fea772c1f4f4989d8e255dd4f7192d9604; \>= c5c707f96fc9a6e5a57ca5baac892673270abe3d, \< 97bda8b4284d90897a1f1922e5082ff9e35d7c7e; \>= c5c707f96fc9a6e5a57ca5baac892673270abe3d, \< ca94ba36172046be6a694a7986f6931e47ed4d51 (cvelist)
- Linux: 4.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-89686.md
Affected: Linux >= c5c707f96fc9a6e5a57ca5baac892673270abe3d, < f5011c26246d1abed3dc750c9744e33cb79ff9bc; >= c5c707f96fc9a6e5a57ca5baac892673270abe3d, < d12af460df27876661707efab3a8532146cb961f; >= c5c707f96fc9a6e5a57ca5baac892673270abe3d, < c517f27498757e616d2a8fe6d16caad1fee422e6; >= c5c707f96fc9a6e5a57ca5b…
Fixed in: Linux 607a56fea772c1f4f4989d8e255dd4f7192d9604, Linux 97bda8b4284d90897a1f1922e5082ff9e35d7c7e

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

There is no confirmed exploitation: CVE-2026-89686 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-89686?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= c5c707f96fc9a6e5a57ca5baac892673270abe3d, \< f5011c26246d1abed3dc750c9744e33cb79ff9bc; \>= c5c707f96fc9a6e5a57ca5baac892673270abe3d, \< d12af460df27876661707efab3a8532146cb961f; \>= c5c707f96fc9a6e5a57ca5baac892673270abe3d, \< c517f27498757e616d2a8fe6d16caad1fee422e6; \>= c5c707f96fc9a6e5a57ca5baac892673270abe3d, \< 607a56fea772c1f4f4989d8e255dd4f7192d9604; \>= c5c707f96fc9a6e5a57ca5baac892673270abe3d, \< 97bda8b4284d90897a1f1922e5082ff9e35d7c7e; \>= c5c707f96fc9a6e5a57ca5baac892673270abe3d, \< ca94ba36172046be6a694a7986f6931e47ed4d51; Linux 4.0.

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

Yes. Fixed in Linux 607a56fea772c1f4f4989d8e255dd4f7192d9604, Linux 97bda8b4284d90897a1f1922e5082ff9e35d7c7e. No fix listed yet: follow the vendor advisory.

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

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/f5011c26246d1abed3dc750c9744e33cb79ff9bc>
- other: <https://git.kernel.org/stable/c/d12af460df27876661707efab3a8532146cb961f>
- other: <https://git.kernel.org/stable/c/c517f27498757e616d2a8fe6d16caad1fee422e6>
- other: <https://git.kernel.org/stable/c/607a56fea772c1f4f4989d8e255dd4f7192d9604>
- other: <https://git.kernel.org/stable/c/97bda8b4284d90897a1f1922e5082ff9e35d7c7e>
- other: <https://git.kernel.org/stable/c/ca94ba36172046be6a694a7986f6931e47ed4d51>

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

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