CVE-2026-89704

nfsd: sample writeback error cursor before async COPY loop

7.5 high EPSS 0.53%

Published 11 Sep 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-89704

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-89704 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.

Check my servers

Description

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

nfsd: sample writeback error cursor before async COPY loop

_nfsd_copy_file_range() samples dst->f_wb_err into "since" after the copy loop, then uses it to detect writeback errors via filemap_check_wb_err() once vfs_fsync_range() returns. Because the nfsd_file cache reuses a single struct file across requests targeting the same inode, a concurrent COMMIT or stable WRITE on dst advances dst->f_wb_err to the current mapping->wb_err via file_check_and_advance_wb_err() during its own vfs_fsync_range(). If that advancement lands between the writeback error appearing in mapping->wb_err and the COPY worker sampling "since", the worker captures the already-advanced cursor, errseq_check() sees cur == since and returns zero, and NFSD4_COPY_F_COMMITTED is set even though writeback failed. CB_OFFLOAD then encodes wr_stable_how = FILE_SYNC4, the client treats the copied data as durable, and the failure becomes silent data loss.

Sample since once at the start of the function. The cursor then reflects state in effect before this COPY issues any writes, and filemap_check_wb_err() detects any error that occurs during the copy regardless of which thread first observes it. This matches the pattern used by nfsd_vfs_write() and nfsd4_clone_file_range().

Severity (CVSS)

7.5 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
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 none, integrity high, availability none: 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.0% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from f14816f2f928c560d28ba344af689f56efcd6f55, before 435e4246c7dfff2fbd76dfdbf91975d5d9f788c9
affected from 3145fe0ebb16e1715ad541a301bc6675c8375fcd, before 9f539a1c0791f907eb4e6d04b43178d9962e2def
affected from 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, before 4728504c021656128a07f4693af80ed4a5fcc863
affected from 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, before 322422d66d1a04434a0dcc0c9d3a4c4b3f225117
affected from 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, before 52b2db7a72e19ac2686fa4b2a52406661e7bf9e2
affected from 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, before 8277d4a11ae2cb5495842be558fd946032c24363
affected from 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, before a1cbafe756cd5e6ab0e099062f37da7a5b081169
affected from 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, before 20a67a7d18221af736f124770c2c5e859b479046
affected from 5.10.124, before 5.10.270
affected from 5.15.49, before 5.15.221
Other versions: unaffected
Linux
affected 5.17
unaffected before 5.17
unaffected from 5.10.270 up to and including 5.10.*
unaffected from 5.15.221 up to and including 5.15.*
unaffected from 6.1.188 up to and including 6.1.*
unaffected from 6.6.157 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-89704 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89704

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-89704
trivy image --scanners vuln IMAGE | grep CVE-2026-89704

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

Source: the record CVE-2026-89704 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.