CVE-2026-89686
nfsd: fix BUG_ON in nfsd4_alloc_layout_stateid on racing delegation revoke
Check your servers for CVE-2026-89686
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89686 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.76%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 56.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c5c707f96fc9a6e5a57ca5baac892673270abe3d, before f5011c26246d1abed3dc750c9744e33cb79ff9bc affected from c5c707f96fc9a6e5a57ca5baac892673270abe3d, before d12af460df27876661707efab3a8532146cb961f affected from c5c707f96fc9a6e5a57ca5baac892673270abe3d, before c517f27498757e616d2a8fe6d16caad1fee422e6 affected from c5c707f96fc9a6e5a57ca5baac892673270abe3d, before 607a56fea772c1f4f4989d8e255dd4f7192d9604 affected from c5c707f96fc9a6e5a57ca5baac892673270abe3d, before 97bda8b4284d90897a1f1922e5082ff9e35d7c7e affected from c5c707f96fc9a6e5a57ca5baac892673270abe3d, before ca94ba36172046be6a694a7986f6931e47ed4d51
Other versions: unaffected
|
| Linux |
affected 4.0 unaffected before 4.0 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.109 up to and including 6.12.* unaffected from 6.18.50 up to and including 6.18.* unaffected from 7.2.4 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89686 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89686
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-89686
trivy image --scanners vuln IMAGE | grep CVE-2026-89686
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/f5011c26246d1abed3dc750c9744e33cb79ff9bc git.kernel.org
- https://git.kernel.org/stable/c/d12af460df27876661707efab3a8532146cb961f git.kernel.org
- https://git.kernel.org/stable/c/c517f27498757e616d2a8fe6d16caad1fee422e6 git.kernel.org
- https://git.kernel.org/stable/c/607a56fea772c1f4f4989d8e255dd4f7192d9604 git.kernel.org
- https://git.kernel.org/stable/c/97bda8b4284d90897a1f1922e5082ff9e35d7c7e git.kernel.org
- https://git.kernel.org/stable/c/ca94ba36172046be6a694a7986f6931e47ed4d51 git.kernel.org
Source: the record CVE-2026-89686 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse