{"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-11-01T02:32:05.107394769Z","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":"WEB","url":"https://git.kernel.org/stable/c/03408d15c5405f8dc3e1a114cdce2174027a85f6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1ecf89d8efca618e0c758c06b9a1fdde8bd941da"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3df27277f8f95345d4a6c57367824bf1aefdbf66"},{"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"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"72c419d9b073628d3b5b0b2fc787b724f1a8c726"},{"fixed":"1ecf89d8efca618e0c758c06b9a1fdde8bd941da"},{"fixed":"03408d15c5405f8dc3e1a114cdce2174027a85f6"},{"fixed":"3df27277f8f95345d4a6c57367824bf1aefdbf66"},{"fixed":"94949b6b2f2bf0dba2e8786aed0b08cc6bc3a183"},{"fixed":"b75dadb50a25eed525264bf6fea44fad94e7626f"},{"fixed":"6a8279c98ad289b27c0bdb11adb3f0c0b7fd456d"},{"fixed":"da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98686.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1.0"},{"fixed":"5.15.224"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.191"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.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/osv-test-cve-osv-conversion/osv-output/CVE-2026-98686.json"}}],"schema_version":"1.9.2"}