{"id":"CVE-2026-98683","title":"smb: client: flush dirty data before zeroing a range","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: flush dirty data before zeroing a range\n\nsmb3_zero_range() emulates FALLOC_FL_ZERO_RANGE by invalidating the\npage cache over the target range with truncate…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 91d1dfae464987aaf6c79ff51d8674880fb3be77 < cecf4114069fc19629d284710fd783d56bbca862","Linux >= 91d1dfae464987aaf6c79ff51d8674880fb3be77 < e8ba21c7e6ef3d4cb617858760673877b2e4a2bb","Linux >= 91d1dfae464987aaf6c79ff51d8674880fb3be77 < 8f8d32c1044f70e46e87550e039a15ff20a4b21c","Linux 13af7446428771e9e529284d390e7994df8be683","Linux 0a9423f99ded38b32bd1864347332cc557e6b141","Linux 7dfa4279c55f467a88e653a5d544817181b22aea","Linux >= 6.1.110 < 6.2","Linux >= 6.6.51 < 6.7","Linux >= 6.10.10 < 6.11","Linux 6.11"],"published":"2026-10-18","updated":"2026-10-18","sourceUpdated":"2026-10-18T15:45:50.014Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98683","references":[{"url":"https://git.kernel.org/stable/c/cecf4114069fc19629d284710fd783d56bbca862"},{"url":"https://git.kernel.org/stable/c/e8ba21c7e6ef3d4cb617858760673877b2e4a2bb"},{"url":"https://git.kernel.org/stable/c/8f8d32c1044f70e46e87550e039a15ff20a4b21c"}],"tags":["cve.org"],"ingestedAt":"2026-10-18T16:47:32.529Z","slug":"CVE-2026-98683","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: flush dirty data before zeroing a range\n\nsmb3_zero_range() emulates FALLOC_FL_ZERO_RANGE by invalidating the\npage cache over the target range with truncate_pagecache_range() and\nthen issuing FSCTL_SET_ZERO_DATA to the server.\n\nDirty data was only flushed conditionally, when the range reached or\nextended EOF.  For a purely interior zero range that does not reach\nEOF, no flush happened, so a dirty folio overlapping the range could\nbe written back to the server after the FSCTL and refill the range\nthat was just zeroed with stale data.\n\nFix this by unconditionally flushing and waiting for dirty data in the\nrange before invalidating the page cache and issuing\nFSCTL_SET_ZERO_DATA, exactly as was done for smb3_punch_hole() in\ncommit d7d2adcd022b (\"smb/client: flush dirty data before punching a\nhole\"); the two paths are structurally identical here.\n\nThis is observed as generic/363 randomly reading stale data where a\nzeroed range is expected against Windows Server.\n\n## Affected\n\n- `Linux >= 91d1dfae464987aaf6c79ff51d8674880fb3be77 < cecf4114069fc19629d284710fd783d56bbca862`\n- `Linux >= 91d1dfae464987aaf6c79ff51d8674880fb3be77 < e8ba21c7e6ef3d4cb617858760673877b2e4a2bb`\n- `Linux >= 91d1dfae464987aaf6c79ff51d8674880fb3be77 < 8f8d32c1044f70e46e87550e039a15ff20a4b21c`\n- `Linux 13af7446428771e9e529284d390e7994df8be683`\n- `Linux 0a9423f99ded38b32bd1864347332cc557e6b141`\n- `Linux 7dfa4279c55f467a88e653a5d544817181b22aea`\n- `Linux >= 6.1.110 < 6.2`\n- `Linux >= 6.6.51 < 6.7`\n- `Linux >= 6.10.10 < 6.11`\n- `Linux 6.11`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}