# CVE-2026-98683: smb: client: flush dirty data before zeroing a range

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-10-18T15:45:50.014Z
- Modified: 2026-11-23T08:17:27.890Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 13af7446428771e9e529284d390e7994df8be683 before 78a254a676c7bd18850ce6ee5e8268ad3fdd03ab; from 0a9423f99ded38b32bd1864347332cc557e6b141 before 2263b748e9180b14649671fd68ee80116286747a; from 91d1dfae464987aaf6c79ff51d8674880fb3be77 before 1506390a788c45af11008adc91a38dfb5beaf03c; from 91d1dfae464987aaf6c79ff51d8674880fb3be77 before cecf4114069fc19629d284710fd783d56bbca862; from 91d1dfae464987aaf6c79ff51d8674880fb3be77 before e8ba21c7e6ef3d4cb617858760673877b2e4a2bb; from 91d1dfae464987aaf6c79ff51d8674880fb3be77 before 8f8d32c1044f70e46e87550e039a15ff20a4b21c; 7dfa4279c55f467a88e653a5d544817181b22aea; from 6.1.110 before 6.1.193; from 6.6.51 before 6.6.163; from 6.10.10 before 6.11; 6.11 (not affected: before 6.11; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/78a254a676c7bd18850ce6ee5e8268ad3fdd03ab>
- <https://git.kernel.org/stable/c/2263b748e9180b14649671fd68ee80116286747a>
- <https://git.kernel.org/stable/c/1506390a788c45af11008adc91a38dfb5beaf03c>
- <https://git.kernel.org/stable/c/cecf4114069fc19629d284710fd783d56bbca862>
- <https://git.kernel.org/stable/c/e8ba21c7e6ef3d4cb617858760673877b2e4a2bb>
- <https://git.kernel.org/stable/c/8f8d32c1044f70e46e87550e039a15ff20a4b21c>

## Sources

- CVE List: [CVE-2026-98683](https://www.cve.org/CVERecord?id=CVE-2026-98683), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-98683](https://nvd.nist.gov/vuln/detail/CVE-2026-98683), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-98683 · Whole record: https://cve.day/CVE-2026-98683.json · Rebuilt by cve.day 2026-11-25T22:59:45.266Z
