Skip to main content
VulnerabilityPublished

CVE-2026-138976: Linux kernel · fuse: don't drop destination page cache on a zero byte copy reply

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited · fixed in f7585e1ce3418ec282485854b3d8d31c6a961e37 : update Linux kernel when convenient.

Data as of 30 Nov 2026, 14:00 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in f7585e1ce3418ec282485854b3d8d31c6a961e37, dbc16179d423856a091cc63b88ec8b6ba4cde829, d4dfc65120fe73189b2b42143ed6ee8b8e93283a +7

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • >=5.4.49 <5.5
  • >=5.7.6 <5.8
Fixed in
  • f7585e1ce3418ec282485854b3d8d31c6a961e37
  • dbc16179d423856a091cc63b88ec8b6ba4cde829
  • d4dfc65120fe73189b2b42143ed6ee8b8e93283a
  • ac8661910ebee46daafa4be0b4da057fbe7d026b
  • 0567d02ce0f555d2dd4834454e4fe81bd54a7764
  • 103a14a30f4e0c6da43016a52c2abc6e1f921e79
  • 81f311ccfd77de3596e841af149dd06183a832ec
  • 49b519ebdb95850f1e932aeb02ebd56e37fcf81f
  • 5.8
  • 5.5
LinuxLinuxAffected
  • =5.8
Fixed in–

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.

References

Community reviews

Loading reviews…