# CVE-2026-89704: nfsd: sample writeback error cursor before async COPY loop

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.55% (percentile 40, 2026-11-26)
- **Published:** 2026-09-11T19:46:21.039Z
- **Modified:** 2026-10-19T09:18:09.080Z

## Who should check

- Anyone running Linux \>= f14816f2f928c560d28ba344af689f56efcd6f55, \< 435e4246c7dfff2fbd76dfdbf91975d5d9f788c9; \>= 3145fe0ebb16e1715ad541a301bc6675c8375fcd, \< 9f539a1c0791f907eb4e6d04b43178d9962e2def; \>= 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, \< 4728504c021656128a07f4693af80ed4a5fcc863; \>= 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, \< 322422d66d1a04434a0dcc0c9d3a4c4b3f225117; \>= 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, \< 52b2db7a72e19ac2686fa4b2a52406661e7bf9e2; \>= 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, \< 8277d4a11ae2cb5495842be558fd946032c24363; \>= 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, \< a1cbafe756cd5e6ab0e099062f37da7a5b081169; \>= 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, \< 20a67a7d18221af736f124770c2c5e859b479046; \>= 5.10.124, \< 5.10.270; \>= 5.15.49, \< 5.15.221
- Anyone running Linux 5.17

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

## Affected and fixed versions

- Linux: \>= f14816f2f928c560d28ba344af689f56efcd6f55, \< 435e4246c7dfff2fbd76dfdbf91975d5d9f788c9; \>= 3145fe0ebb16e1715ad541a301bc6675c8375fcd, \< 9f539a1c0791f907eb4e6d04b43178d9962e2def; \>= 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, \< 4728504c021656128a07f4693af80ed4a5fcc863; \>= 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, \< 322422d66d1a04434a0dcc0c9d3a4c4b3f225117; \>= 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, \< 52b2db7a72e19ac2686fa4b2a52406661e7bf9e2; \>= 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, \< 8277d4a11ae2cb5495842be558fd946032c24363; \>= 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, \< a1cbafe756cd5e6ab0e099062f37da7a5b081169; \>= 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, \< 20a67a7d18221af736f124770c2c5e859b479046; \>= 5.10.124, \< 5.10.270; \>= 5.15.49, \< 5.15.221 (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- Upgrade Linux to 5.15.221 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-89704.md
Affected: Linux >= f14816f2f928c560d28ba344af689f56efcd6f55, < 435e4246c7dfff2fbd76dfdbf91975d5d9f788c9; >= 3145fe0ebb16e1715ad541a301bc6675c8375fcd, < 9f539a1c0791f907eb4e6d04b43178d9962e2def; >= 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, < 4728504c021656128a07f4693af80ed4a5fcc863; >= 555dbf1a9aac6d3150c8b52…
Fixed in: Linux 435e4246c7dfff2fbd76dfdbf91975d5d9f788c9, Linux 9f539a1c0791f907eb4e6d04b43178d9962e2def, Linux 4728504c021656128a07f4693af80ed4a5fcc863, Linux 322422d66d1a04434a0dcc0c9d3a4c4b3f225117, Linux 52b2db7a72e19ac2686fa4b2a52406661e7bf9e2, Linux 8277d4a11ae2cb5495842be558fd946032c24363, Linux 20a67…

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

There is no confirmed exploitation: CVE-2026-89704 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.55% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89704?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= f14816f2f928c560d28ba344af689f56efcd6f55, \< 435e4246c7dfff2fbd76dfdbf91975d5d9f788c9; \>= 3145fe0ebb16e1715ad541a301bc6675c8375fcd, \< 9f539a1c0791f907eb4e6d04b43178d9962e2def; \>= 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, \< 4728504c021656128a07f4693af80ed4a5fcc863; \>= 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, \< 322422d66d1a04434a0dcc0c9d3a4c4b3f225117; \>= 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, \< 52b2db7a72e19ac2686fa4b2a52406661e7bf9e2; \>= 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, \< 8277d4a11ae2cb5495842be558fd946032c24363; \>= 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, \< a1cbafe756cd5e6ab0e099062f37da7a5b081169; \>= 555dbf1a9aac6d3150c8b52fa35f768a692f4eeb, \< 20a67a7d18221af736f124770c2c5e859b479046; \>= 5.10.124, \< 5.10.270; \>= 5.15.49, \< 5.15.221; Linux 5.17.

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

Yes. Fixed in Linux 435e4246c7dfff2fbd76dfdbf91975d5d9f788c9, Linux 9f539a1c0791f907eb4e6d04b43178d9962e2def, Linux 4728504c021656128a07f4693af80ed4a5fcc863, Linux 322422d66d1a04434a0dcc0c9d3a4c4b3f225117, Linux 52b2db7a72e19ac2686fa4b2a52406661e7bf9e2, Linux 8277d4a11ae2cb5495842be558fd946032c24363, Linux 20a67a7d18221af736f124770c2c5e859b479046, Linux 5.10.270, Linux 5.15.221. Upgrade Linux to 5.15.221 or later.

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

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/435e4246c7dfff2fbd76dfdbf91975d5d9f788c9>
- other: <https://git.kernel.org/stable/c/9f539a1c0791f907eb4e6d04b43178d9962e2def>
- other: <https://git.kernel.org/stable/c/4728504c021656128a07f4693af80ed4a5fcc863>
- other: <https://git.kernel.org/stable/c/322422d66d1a04434a0dcc0c9d3a4c4b3f225117>
- other: <https://git.kernel.org/stable/c/52b2db7a72e19ac2686fa4b2a52406661e7bf9e2>
- other: <https://git.kernel.org/stable/c/8277d4a11ae2cb5495842be558fd946032c24363>
- other: <https://git.kernel.org/stable/c/a1cbafe756cd5e6ab0e099062f37da7a5b081169>
- other: <https://git.kernel.org/stable/c/20a67a7d18221af736f124770c2c5e859b479046>

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

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