CVE-2026-98683

smb: client: flush dirty data before zeroing a range

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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

smb: client: flush dirty data before zeroing a range

smb3_zero_range() emulates FALLOC_FL_ZERO_RANGE by invalidating the page cache over the target range with truncate_pagecache_range() and then issuing FSCTL_SET_ZERO_DATA to the server.

Dirty data was only flushed conditionally, when the range reached or extended EOF. For a purely interior zero range that does not reach EOF, no flush happened, so a dirty folio overlapping the range could be written back to the server after the FSCTL and refill the range that was just zeroed with stale data.

Fix this by unconditionally flushing and waiting for dirty data in the range before invalidating the page cache and issuing FSCTL_SET_ZERO_DATA, exactly as was done for smb3_punch_hole() in commit d7d2adcd022b ("smb/client: flush dirty data before punching a hole"); the two paths are structurally identical here.

This is observed as generic/363 randomly reading stale data where a zeroed range is expected against Windows Server.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 91d1dfae464987aaf6c79ff51d8674880fb3be77 to before cecf4114069fc19629d284710fd783d56bbca862Affected
  • 91d1dfae464987aaf6c79ff51d8674880fb3be77 to before e8ba21c7e6ef3d4cb617858760673877b2e4a2bbAffected
  • 91d1dfae464987aaf6c79ff51d8674880fb3be77 to before 8f8d32c1044f70e46e87550e039a15ff20a4b21cAffected
  • 13af7446428771e9e529284d390e7994df8be683Affected
  • 0a9423f99ded38b32bd1864347332cc557e6b141Affected
  • 7dfa4279c55f467a88e653a5d544817181b22aeaAffected
  • 6.1.110 to before 6.2Affected
  • 6.6.51 to before 6.7Affected
  • 6.10.10 to before 6.11Affected
LinuxLinux
  • 6.11Affected
  • before 6.11Not affected
  • 6.18.56 through 6.18.*Not affected
  • 7.2.10 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.