{"id":"CVE-2026-138976","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:17:59.680","lastModified":"2026-11-30T14:17:59.680","vulnStatus":"Received","cveTags":[],"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":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/fuse/file.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"9b46418c40fe910e6537618f9932a8be78a3dd6c","lessThan":"d4dfc65120fe73189b2b42143ed6ee8b8e93283a","versionType":"git","status":"affected"},{"version":"9b46418c40fe910e6537618f9932a8be78a3dd6c","lessThan":"49b519ebdb95850f1e932aeb02ebd56e37fcf81f","versionType":"git","status":"affected"},{"version":"9b46418c40fe910e6537618f9932a8be78a3dd6c","lessThan":"0567d02ce0f555d2dd4834454e4fe81bd54a7764","versionType":"git","status":"affected"},{"version":"9b46418c40fe910e6537618f9932a8be78a3dd6c","lessThan":"dbc16179d423856a091cc63b88ec8b6ba4cde829","versionType":"git","status":"affected"},{"version":"9b46418c40fe910e6537618f9932a8be78a3dd6c","lessThan":"103a14a30f4e0c6da43016a52c2abc6e1f921e79","versionType":"git","status":"affected"},{"version":"9b46418c40fe910e6537618f9932a8be78a3dd6c","lessThan":"81f311ccfd77de3596e841af149dd06183a832ec","versionType":"git","status":"affected"},{"version":"9b46418c40fe910e6537618f9932a8be78a3dd6c","lessThan":"ac8661910ebee46daafa4be0b4da057fbe7d026b","versionType":"git","status":"affected"},{"version":"9b46418c40fe910e6537618f9932a8be78a3dd6c","lessThan":"f7585e1ce3418ec282485854b3d8d31c6a961e37","versionType":"git","status":"affected"},{"version":"d658c127fc419ad62ae6a40d0548eeb63d16294c","versionType":"git","status":"affected"},{"version":"6805031556e1e702c2eafa838d93651abe33824f","versionType":"git","status":"affected"},{"version":"5.4.49","lessThan":"5.5","versionType":"semver","status":"affected"},{"version":"5.7.6","lessThan":"5.8","versionType":"semver","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/fuse/file.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.8","status":"affected"},{"version":"0","lessThan":"5.8","versionType":"semver","status":"unaffected"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/0567d02ce0f555d2dd4834454e4fe81bd54a7764","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/103a14a30f4e0c6da43016a52c2abc6e1f921e79","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/49b519ebdb95850f1e932aeb02ebd56e37fcf81f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/81f311ccfd77de3596e841af149dd06183a832ec","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ac8661910ebee46daafa4be0b4da057fbe7d026b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d4dfc65120fe73189b2b42143ed6ee8b8e93283a","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/dbc16179d423856a091cc63b88ec8b6ba4cde829","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f7585e1ce3418ec282485854b3d8d31c6a961e37","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}