{"id":"CVE-2026-98686","aliases":["CVE-2026-98686"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: discard post-EOF pagecache when extending a file via zero range","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: discard post-EOF pagecache when extending a file via zero range\n\nsmb3_zero_range() removed the pagecache only for the range being zeroed,\nso when it extends the file the folio straddling the old EOF - which may\nhold data dirtied past EOF through an mmap - was never dropped and became\nvisible as file content once the file was extended.\n\nLower the discard boundary to the smaller of the zero-range offset and the\nold EOF.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: discard post-EOF pagecache when extending a file via zero range\n\nsmb3_zero_range() removed the pagecache only for the range being zeroed,\nso when it extends the file the folio straddling the old EOF - which may\nhold data dirtied past EOF through an mmap - was never dropped and became\nvisible as file content once the file was extended.\n\nLower the discard boundary to the smaller of the zero-range offset and the\nold EOF.","source":"cvelist"}],"published":"2026-10-18T15:45:55.193Z","modified":"2026-10-30T13:21:18.100Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"72c419d9b073628d3b5b0b2fc787b724f1a8c726","fixed":"1ecf89d8efca618e0c758c06b9a1fdde8bd941da","status":"affected"},{"type":"git","introduced":"72c419d9b073628d3b5b0b2fc787b724f1a8c726","fixed":"03408d15c5405f8dc3e1a114cdce2174027a85f6","status":"affected"},{"type":"git","introduced":"72c419d9b073628d3b5b0b2fc787b724f1a8c726","fixed":"3df27277f8f95345d4a6c57367824bf1aefdbf66","status":"affected"},{"type":"git","introduced":"72c419d9b073628d3b5b0b2fc787b724f1a8c726","fixed":"94949b6b2f2bf0dba2e8786aed0b08cc6bc3a183","status":"affected"},{"type":"git","introduced":"72c419d9b073628d3b5b0b2fc787b724f1a8c726","fixed":"b75dadb50a25eed525264bf6fea44fad94e7626f","status":"affected"},{"type":"git","introduced":"72c419d9b073628d3b5b0b2fc787b724f1a8c726","fixed":"6a8279c98ad289b27c0bdb11adb3f0c0b7fd456d","status":"affected"},{"type":"git","introduced":"72c419d9b073628d3b5b0b2fc787b724f1a8c726","fixed":"da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.1","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.56","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.10","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/1ecf89d8efca618e0c758c06b9a1fdde8bd941da","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/03408d15c5405f8dc3e1a114cdce2174027a85f6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3df27277f8f95345d4a6c57367824bf1aefdbf66","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/94949b6b2f2bf0dba2e8786aed0b08cc6bc3a183","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b75dadb50a25eed525264bf6fea44fad94e7626f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6a8279c98ad289b27c0bdb11adb3f0c0b7fd456d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98686","url":"https://www.cve.org/CVERecord?id=CVE-2026-98686","licence":"CVE Terms of Use","modified":"2026-10-30T12:38:44.094Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98686","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98686","licence":"Public domain","modified":"2026-10-30T13:21:18.100Z"}],"updatedAt":"2026-11-25T22:59:45.269Z","epss":{"score":0.00173,"percentile":0.06988,"date":"2026-12-02T12:00:21.000Z"}}