CVE-2026-138976
publishedfuse: don't drop destination page cache on a zero byte copy reply
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux9b46418c40fe910e6537618f9932a8be78a3dd6c to < d4dfc65120fe73189b2b42143ed6ee8b8e93283a · 9b46418c40fe910e6537618f9932a8be78a3dd6c to < 49b519ebdb95850f1e932aeb02ebd56e37fcf81f · 9b46418c40fe910e6537618f9932a8be78a3dd6c to < 0567d02ce0f555d2dd4834454e4fe81bd54a7764 · 9b46418c40fe910e6537618f9932a8be78a3dd6c to < dbc16179d423856a091cc63b88ec8b6ba4cde829 · 9b46418c40fe910e6537618f9932a8be78a3dd6c to < 103a14a30f4e0c6da43016a52c2abc6e1f921e79 · 9b46418c40fe910e6537618f9932a8be78a3dd6c to < 81f311ccfd77de3596e841af149dd06183a832ec · 9b46418c40fe910e6537618f9932a8be78a3dd6c to < ac8661910ebee46daafa4be0b4da057fbe7d026b · 9b46418c40fe910e6537618f9932a8be78a3dd6c to < f7585e1ce3418ec282485854b3d8d31c6a961e37 · d658c127fc419ad62ae6a40d0548eeb63d16294c · 6805031556e1e702c2eafa838d93651abe33824f · 5.4.49 to < 5.5 · 5.7.6 to < 5.8 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.8 (affected) · 0 to < 5.8 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
Description
In the Linux kernel, the following vulnerability has been resolved: fuse: don't drop destination page cache on a zero byte copy reply __fuse_copy_file_range() clears the destination page cache after the server replies: truncate_inode_pages_range(inode_out->i_mapping, ALIGN_DOWN(pos_out, PAGE_SIZE), ALIGN(pos_out + bytes_copied, PAGE_SIZE) - 1); A server may legitimately reply that it copied nothing, eg if the source file turns out to be shorter than the size the kernel has cached for it. If pos_out is 0 as well, the end of the range is ALIGN(0, PAGE_SIZE) - 1, which is -1. lend is a uoff_t and truncate_inode_pages_range() takes -1 as its end of file sentinel, so rather than clearing nothing it drops every folio in the destination mapping. That is not only a cache drop. truncate_cleanup_folio() calls folio_cancel_dirty(), and fuse_writeback_range() only wrote back [pos_out, pos_out + len - 1], so dirty data elsewhere in the destination file is discarded without ever reaching the server. Skip the call when the server copied nothing, since there is nothing stale to clear in that case.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 9b46418c40fe910e6537618f9932a8be78a3dd6c to < d4dfc65120fe73189b2b42143ed6ee8b8e93283a (affected · git)9b46418c40fe910e6537618f9932a8be78a3dd6c to < 49b519ebdb95850f1e932aeb02ebd56e37fcf81f (affected · git)9b46418c40fe910e6537618f9932a8be78a3dd6c to < 0567d02ce0f555d2dd4834454e4fe81bd54a7764 (affected · git)9b46418c40fe910e6537618f9932a8be78a3dd6c to < dbc16179d423856a091cc63b88ec8b6ba4cde829 (affected · git)9b46418c40fe910e6537618f9932a8be78a3dd6c to < 103a14a30f4e0c6da43016a52c2abc6e1f921e79 (affected · git)9b46418c40fe910e6537618f9932a8be78a3dd6c to < 81f311ccfd77de3596e841af149dd06183a832ec (affected · git)9b46418c40fe910e6537618f9932a8be78a3dd6c to < ac8661910ebee46daafa4be0b4da057fbe7d026b (affected · git)9b46418c40fe910e6537618f9932a8be78a3dd6c to < f7585e1ce3418ec282485854b3d8d31c6a961e37 (affected · git)d658c127fc419ad62ae6a40d0548eeb63d16294c (affected · git)6805031556e1e702c2eafa838d93651abe33824f (affected · git)5.4.49 to < 5.5 (affected · semver)5.7.6 to < 5.8 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.8 (affected)0 to < 5.8 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/0567d02ce0f555d2dd4834454e4fe81bd54a7764
- https://git.kernel.org/stable/c/103a14a30f4e0c6da43016a52c2abc6e1f921e79
- https://git.kernel.org/stable/c/49b519ebdb95850f1e932aeb02ebd56e37fcf81f
- https://git.kernel.org/stable/c/81f311ccfd77de3596e841af149dd06183a832ec
- https://git.kernel.org/stable/c/ac8661910ebee46daafa4be0b4da057fbe7d026b
- https://git.kernel.org/stable/c/d4dfc65120fe73189b2b42143ed6ee8b8e93283a
- https://git.kernel.org/stable/c/dbc16179d423856a091cc63b88ec8b6ba4cde829
- https://git.kernel.org/stable/c/f7585e1ce3418ec282485854b3d8d31c6a961e37
Provider assertions
1Linux · cna
fuse: don't drop destination page cache on a zero byte copy reply
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c9e3f57cf520f3a0580118d691bd9b35908f64000505e7d38dfe24ba3e640101
- Ingested
- 30 Nov 2026, 13:36:39 UTC
- Source record
- Official CVE record