CVE-2026-89682
nfsd: fix fcache_disposal UAF by inlining dispose state into nfsd_net
Check your servers for CVE-2026-89682
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-89682 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 fcache_disposal UAF by inlining dispose state into nfsd_net
nfsd_file_dispose_list_delayed() defers fput() to nfsd service threads via a per-net freeme queue, preventing the shrinker and GC worker from bearing the cost of closing files (see ffb402596147). However, the queue lives in a separately-allocated struct nfsd_fcache_disposal that is freed by nfsd_free_fcache_disposal_net() during per-net teardown. The global shrinker, laundrette, and fsnotify callbacks can still be inside nfsd_file_dispose_list_delayed() dereferencing that pointer, causing a use-after-free.
Inline the spinlock and freeme list directly into struct nfsd_net (as fcache_dispose_lock and fcache_dispose_list), eliminating the separately allocated struct nfsd_fcache_disposal entirely. These fields now have the same lifetime as the net namespace itself, so there is no dangling pointer to chase.
nfsd_file_cache_start_net() now just initializes the inline fields and cannot fail due to allocation. nfsd_file_cache_shutdown_net() drains the inline list directly instead of freeing a separate struct. The alloc/free helpers are removed.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/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
- high: an attack depends on conditions outside the control of the attacker, such as a race
- 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.53%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 46.3% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1463b38e7cf34d4cc60f41daff459ad807b2e408, before 41fe0e804bbf1110c0aba2ebdfc729efb240d8a6 affected from 1463b38e7cf34d4cc60f41daff459ad807b2e408, before e6c3a43d0a41f03abae3764fc82a59369360c7e0 affected from 1463b38e7cf34d4cc60f41daff459ad807b2e408, before 9c8ac7c2b9b150e13b7ad0d0fae54f17747dce67 affected from 1463b38e7cf34d4cc60f41daff459ad807b2e408, before ba0ee9e04b7a0356c28d5a2fe445db675d24e572 affected from 1463b38e7cf34d4cc60f41daff459ad807b2e408, before cadc9036d5a8209f89e7026ddba7cfb1c716b03c affected from 1463b38e7cf34d4cc60f41daff459ad807b2e408, before bbf13732f74351d21c5e0e8dd9bd8e1c48dc35d4 affected e8f923e1e9fcc0832a12c8a2461792e5a9544c03 affected 3bc94fb44f10ef852723e1aeaac6794c5ab16aec affected from 5.10.220, before 5.11 affected from 5.15.154, before 5.16
Other versions: unaffected
|
| Linux |
affected 5.17 unaffected before 5.17 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.114 up to and including 6.12.* unaffected from 6.18.51 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-89682 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89682
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-89682
trivy image --scanners vuln IMAGE | grep CVE-2026-89682
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/41fe0e804bbf1110c0aba2ebdfc729efb240d8a6 git.kernel.org
- https://git.kernel.org/stable/c/e6c3a43d0a41f03abae3764fc82a59369360c7e0 git.kernel.org
- https://git.kernel.org/stable/c/9c8ac7c2b9b150e13b7ad0d0fae54f17747dce67 git.kernel.org
- https://git.kernel.org/stable/c/ba0ee9e04b7a0356c28d5a2fe445db675d24e572 git.kernel.org
- https://git.kernel.org/stable/c/cadc9036d5a8209f89e7026ddba7cfb1c716b03c git.kernel.org
- https://git.kernel.org/stable/c/bbf13732f74351d21c5e0e8dd9bd8e1c48dc35d4 git.kernel.org
Source: the record CVE-2026-89682 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse