Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-89678

HIGH 7.5EPSS 24%

nfsd: fix partial-write detection in nfsd_direct_write

Mitigation

  • Upgrade Linux to 250ec14932d5cfe102f68a57892bb566eee7f83e or later.

Who should check

  • Anyone running Linux >= 06c5c97293e3fca99ce15da157068edf45a7c6e4, < fa6590dfd16ab55f03b658b079072ace3504825e; >= 06c5c97293e3fca99ce15da157068edf45a7c6e4, < 250ec14932d5cfe102f68a57892bb566eee7f83e
  • Anyone running Linux 6.19

Vulnerability facts

Affected
Linux >= 06c5c97293e3fca99ce15da157068edf45a7c6e4, < fa6590dfd16ab55f03b658b079072ace3504825e; >= 06c5c97293e3fca99ce15da157068edf45a7c6e4, < 250ec14932d5cfe102f68a57892bb566eee7f83e; Linux 6.19
Fixed in
Linux 250ec14932d5cfe102f68a57892bb566eee7f83e
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NOpen in CVSS calculator
Show all 8 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
EPSS
0.38% chance of exploitation in 30 days (percentile 24, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: nfsd: fix partial-write detection in nfsd_direct_write nfsd_direct_write() walks a list of write segments and, after each vfs_iocb_iter_write(), tries to detect a short write so the loop can stop before placing the next segment at a wrong file offset: host_err = vfs_iocb_iter_write(file, kiocb, &segments[i].iter); if (host_err < 0) return host_err; *cnt += host_err; if (host_err < segments[i].iter.count) break; /* partial write */ vfs_iocb_iter_write() runs the iter through ->write_iter(), which advances the iter by the number of bytes written. By the time the check runs, segments[i].iter.count is the residual, not the original request length: before write_iter: iter.count == original_len after write_iter: iter.count == original_len - host_err The condition then reduces to host_err < original_len - host_err, so the break fires only when less than half of the segment was written. Any short write completing between 50% and 99% of the segment slips through; the loop advances to the next segment with kiocb->ki_pos only bumped by the short amount, writing the next segment's payload at the wrong offset and over-reporting *cnt to the NFS client. Snapshot the segment's byte count before the write and compare host_err against that snapshot so any short write breaks the loop.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 06c5c97293e3fca99ce15da157068edf45a7c6e4, < fa6590dfd16ab55f03b658b079072ace3504825e; >= 06c5c97293e3fca99ce15da157068edf45a7c6e4, < 250ec14932d5cfe102f68a57892bb566eee7f83e—cvelist
Linux6.19—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2026-89678.md
Affected: Linux >= 06c5c97293e3fca99ce15da157068edf45a7c6e4, < fa6590dfd16ab55f03b658b079072ace3504825e; >= 06c5c97293e3fca99ce15da157068edf45a7c6e4, < 250ec14932d5cfe102f68a57892bb566eee7f83e; Linux 6.19
Fixed in: Linux 250ec14932d5cfe102f68a57892bb566eee7f83e

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.

References

FAQ

Is CVE-2026-89678 being exploited?

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

How serious is CVE-2026-89678?

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

Which versions are affected by CVE-2026-89678?

Linux >= 06c5c97293e3fca99ce15da157068edf45a7c6e4, < fa6590dfd16ab55f03b658b079072ace3504825e; >= 06c5c97293e3fca99ce15da157068edf45a7c6e4, < 250ec14932d5cfe102f68a57892bb566eee7f83e; Linux 6.19.

Is there a fix for CVE-2026-89678?

Yes. Fixed in Linux 250ec14932d5cfe102f68a57892bb566eee7f83e. Upgrade Linux to 250ec14932d5cfe102f68a57892bb566eee7f83e or later.

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

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.

Sponsors