VDB

CVE-2026-89704

CVE-2026-89704 PUBLISHED CVSS 7.5 HIGH

nfsd: sample writeback error cursor before async COPY loop

Reported by linux · Published September 11, 2026

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().

EPSS 0.53% · 45.5th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
bpftoolAmazon Linux1:6.1.188-233.385.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.51-120.162.amzn2023
python3-perf6.12Amazon Linux1:6.12.110-135.201.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.51-120.162.amzn2023
kernel6.12-headersAmazon Linux1:6.12.110-135.201.amzn2023
kernel-toolsAmazon Linux1:6.1.188-233.385.amzn2023
perfAmazon Linux1:6.1.188-233.385.amzn2023
kernel-develAmazon Linux1:6.1.188-233.385.amzn2023
kernel-livepatch-6.1.188-233.385Amazon Linux1:1.0-0.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.51-120.162.amzn2023
kernel6.12Amazon Linux1:6.12.110-135.201.amzn2023

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS Score
0.53%
45.5th percentile

Affected products

VendorProductVersions
LinuxLinuxf14816f2f928c560d28ba344af689f56efcd6f55, 3145fe0ebb16e1715ad541a301bc6675c8375fcd, 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb
LinuxLinux5.17, 0, 5.10.270
amazon:2023bpftool0
amazon:2023kernel6.18-tools-devel0
amazon:2023python3-perf6.120
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-headers0
amazon:2023kernel-tools0
amazon:2023perf0
amazon:2023kernel-devel0
amazon:2023kernel-livepatch-6.1.188-233.3850
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.120
linuxlinux_kernel5.17, 5.15.49, 5.17
amazon:2023kernel6.180
amazon:2023perf6.120
amazon:2023perf6.180
amazon:2023kernel6.18-devel0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-devel0

…and 18 more

Timeline

  • Sep 11, 2026 CVE Published
  • Sep 12, 2026 EPSS Score (29 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-89704
vulnetix vdb fixes CVE-2026-89704

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89704/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›