{"id":"CVE-2026-98686","summary":"smb: client: discard post-EOF pagecache when extending a file via zero range","details":"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.","modified":"2026-10-19T02:47:12.876896892Z","published":"2026-10-18T15:45:55.193Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98686.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6a8279c98ad289b27c0bdb11adb3f0c0b7fd456d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/94949b6b2f2bf0dba2e8786aed0b08cc6bc3a183"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b75dadb50a25eed525264bf6fea44fad94e7626f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98686.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98686"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"72c419d9b073628d3b5b0b2fc787b724f1a8c726"},{"fixed":"94949b6b2f2bf0dba2e8786aed0b08cc6bc3a183"},{"fixed":"b75dadb50a25eed525264bf6fea44fad94e7626f"},{"fixed":"6a8279c98ad289b27c0bdb11adb3f0c0b7fd456d"},{"fixed":"da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98686.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1.0"},{"fixed":"6.12.113"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.56"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98686.json"}}],"schema_version":"1.9.0"}