{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-138976","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.906Z","datePublished":"2026-11-30T13:26:43.599Z","dateUpdated":"2026-11-30T13:26:43.599Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:26:43.599Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfuse: don't drop destination page cache on a zero byte copy reply\n\n__fuse_copy_file_range() clears the destination page cache after the\nserver replies:\n\n\ttruncate_inode_pages_range(inode_out->i_mapping,\n\t\t\t\t   ALIGN_DOWN(pos_out, PAGE_SIZE),\n\t\t\t\t   ALIGN(pos_out + bytes_copied, PAGE_SIZE) - 1);\n\nA server may legitimately reply that it copied nothing, eg if the source\nfile turns out to be shorter than the size the kernel has cached for it.\n\nIf pos_out is 0 as well, the end of the range is ALIGN(0, PAGE_SIZE) - 1,\nwhich is -1. lend is a uoff_t and truncate_inode_pages_range() takes -1\nas its end of file sentinel, so rather than clearing nothing it drops\nevery folio in the destination mapping.\n\nThat is not only a cache drop. truncate_cleanup_folio() calls\nfolio_cancel_dirty(), and fuse_writeback_range() only wrote back\n[pos_out, pos_out + len - 1], so dirty data elsewhere in the destination\nfile is discarded without ever reaching the server.\n\nSkip the call when the server copied nothing, since there is nothing\nstale to clear in that case."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/fuse/file.c"],"versions":[{"version":"9b46418c40fe910e6537618f9932a8be78a3dd6c","lessThan":"d4dfc65120fe73189b2b42143ed6ee8b8e93283a","status":"affected","versionType":"git"},{"version":"9b46418c40fe910e6537618f9932a8be78a3dd6c","lessThan":"49b519ebdb95850f1e932aeb02ebd56e37fcf81f","status":"affected","versionType":"git"},{"version":"9b46418c40fe910e6537618f9932a8be78a3dd6c","lessThan":"0567d02ce0f555d2dd4834454e4fe81bd54a7764","status":"affected","versionType":"git"},{"version":"9b46418c40fe910e6537618f9932a8be78a3dd6c","lessThan":"dbc16179d423856a091cc63b88ec8b6ba4cde829","status":"affected","versionType":"git"},{"version":"9b46418c40fe910e6537618f9932a8be78a3dd6c","lessThan":"103a14a30f4e0c6da43016a52c2abc6e1f921e79","status":"affected","versionType":"git"},{"version":"9b46418c40fe910e6537618f9932a8be78a3dd6c","lessThan":"81f311ccfd77de3596e841af149dd06183a832ec","status":"affected","versionType":"git"},{"version":"9b46418c40fe910e6537618f9932a8be78a3dd6c","lessThan":"ac8661910ebee46daafa4be0b4da057fbe7d026b","status":"affected","versionType":"git"},{"version":"9b46418c40fe910e6537618f9932a8be78a3dd6c","lessThan":"f7585e1ce3418ec282485854b3d8d31c6a961e37","status":"affected","versionType":"git"},{"version":"d658c127fc419ad62ae6a40d0548eeb63d16294c","status":"affected","versionType":"git"},{"version":"6805031556e1e702c2eafa838d93651abe33824f","status":"affected","versionType":"git"},{"version":"5.4.49","lessThan":"5.5","status":"affected","versionType":"semver"},{"version":"5.7.6","lessThan":"5.8","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/fuse/file.c"],"versions":[{"version":"5.8","status":"affected"},{"version":"0","lessThan":"5.8","status":"unaffected","versionType":"semver"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"6.12.118"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"7.4-rc1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.49"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7.6"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/d4dfc65120fe73189b2b42143ed6ee8b8e93283a"},{"url":"https://git.kernel.org/stable/c/49b519ebdb95850f1e932aeb02ebd56e37fcf81f"},{"url":"https://git.kernel.org/stable/c/0567d02ce0f555d2dd4834454e4fe81bd54a7764"},{"url":"https://git.kernel.org/stable/c/dbc16179d423856a091cc63b88ec8b6ba4cde829"},{"url":"https://git.kernel.org/stable/c/103a14a30f4e0c6da43016a52c2abc6e1f921e79"},{"url":"https://git.kernel.org/stable/c/81f311ccfd77de3596e841af149dd06183a832ec"},{"url":"https://git.kernel.org/stable/c/ac8661910ebee46daafa4be0b4da057fbe7d026b"},{"url":"https://git.kernel.org/stable/c/f7585e1ce3418ec282485854b3d8d31c6a961e37"}],"title":"fuse: don't drop destination page cache on a zero byte copy reply","x_generator":{"engine":"bippy-1.2.0"}}}}