{"api_version":"1","generated_at":"2026-10-23T07:49:30+00:00","cve":"CVE-2026-98685","urls":{"html":"https://cve.report/CVE-2026-98685","api":"https://cve.report/api/cve/CVE-2026-98685.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98685","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98685"},"summary":{"title":"smb: client: discard post-EOF pagecache when extending a file via clone range","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: discard post-EOF pagecache when extending a file via clone range\n\ncifs_remap_file_range() discarded the pagecache only for the folios\noverlapping the destination region, so when a clone extends the file the\nfolio straddling the old EOF - which may hold data dirtied past EOF\nthrough an mmap - was never dropped and became visible as file content\nonce the file was extended.\n\nStart the discard at the smaller of fstart and the old EOF.  i_size is\nstill old here, so nothing past the old EOF is flushed to the server.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-18 16:17:21","updated_at":"2026-10-19 10:19:32"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/4721587f96cb8de8164f3fd203093a0875560999","name":"https://git.kernel.org/stable/c/4721587f96cb8de8164f3fd203093a0875560999","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/15bb9f1d3e967e328649e92a1451e60a0dc66118","name":"https://git.kernel.org/stable/c/15bb9f1d3e967e328649e92a1451e60a0dc66118","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98685","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98685","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c54fc3a4f375663f2361a9cbb2955fb4ef912879 15bb9f1d3e967e328649e92a1451e60a0dc66118 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c54fc3a4f375663f2361a9cbb2955fb4ef912879 4721587f96cb8de8164f3fd203093a0875560999 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 358bd5f436d820bb758833050aae065b35d6986c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 43801359c8971cc49b4a4db5015fba77fbd09c32 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.68 6.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.7 6.7 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.7","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.7 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.10 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/smb/client/cifsfs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"15bb9f1d3e967e328649e92a1451e60a0dc66118","status":"affected","version":"c54fc3a4f375663f2361a9cbb2955fb4ef912879","versionType":"git"},{"lessThan":"4721587f96cb8de8164f3fd203093a0875560999","status":"affected","version":"c54fc3a4f375663f2361a9cbb2955fb4ef912879","versionType":"git"},{"status":"affected","version":"358bd5f436d820bb758833050aae065b35d6986c","versionType":"git"},{"status":"affected","version":"43801359c8971cc49b4a4db5015fba77fbd09c32","versionType":"git"},{"lessThan":"6.2","status":"affected","version":"6.1.68","versionType":"semver"},{"lessThan":"6.7","status":"affected","version":"6.6.7","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/smb/client/cifsfs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.7"},{"lessThan":"6.7","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.10","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.10","versionStartIncluding":"6.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"6.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.68","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.7","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: discard post-EOF pagecache when extending a file via clone range\n\ncifs_remap_file_range() discarded the pagecache only for the folios\noverlapping the destination region, so when a clone extends the file the\nfolio straddling the old EOF - which may hold data dirtied past EOF\nthrough an mmap - was never dropped and became visible as file content\nonce the file was extended.\n\nStart the discard at the smaller of fstart and the old EOF.  i_size is\nstill old here, so nothing past the old EOF is flushed to the server."}],"providerMetadata":{"dateUpdated":"2026-10-19T09:23:55.472Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/15bb9f1d3e967e328649e92a1451e60a0dc66118"},{"url":"https://git.kernel.org/stable/c/4721587f96cb8de8164f3fd203093a0875560999"}],"title":"smb: client: discard post-EOF pagecache when extending a file via clone range","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-98685","datePublished":"2026-10-18T15:45:53.821Z","dateReserved":"2026-09-25T10:25:14.364Z","dateUpdated":"2026-10-19T09:23:55.472Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-18 16:17:21","lastModifiedDate":"2026-10-19 10:19:32","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98685","Ordinal":"1","Title":"smb: client: discard post-EOF pagecache when extending a file vi","CVE":"CVE-2026-98685","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98685","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: discard post-EOF pagecache when extending a file via clone range\n\ncifs_remap_file_range() discarded the pagecache only for the folios\noverlapping the destination region, so when a clone extends the file the\nfolio straddling the old EOF - which may hold data dirtied past EOF\nthrough an mmap - was never dropped and became visible as file content\nonce the file was extended.\n\nStart the discard at the smaller of fstart and the old EOF.  i_size is\nstill old here, so nothing past the old EOF is flushed to the server.","Type":"Description","Title":"smb: client: discard post-EOF pagecache when extending a file vi"}]}}}