CVE-2026-138976

Not scored yetLast modified Nov 30, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-138977In the Linux kernel, the following vulnerability has been resolved: fuse: don't shorten the folio descriptor at LLONG_MAX fuse_send_readpaCVE-2026-138978In the Linux kernel, the following vulnerability has been resolved: regulator: core: Fix coupled regulators reference leak on removal of_pCVE-2026-138979In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: ptdump: Check the page tables aren't freed when accessing CVE-2026-138988.8Use after free in Cast Receiver in Google Chrome prior to 150.0.7871.47 allowed a remote attacker to execute arbitrary code inside a sandboxCVE-2026-138980In the Linux kernel, the following vulnerability has been resolved: clk: mvebu: ap-cpu-clk: Assign .num before accessing .hws Commit f316cCVE-2026-138981In the Linux kernel, the following vulnerability has been resolved: ASoC: rt712-sdca-dmic: fix drvdata type in the gain controls rt712_sdcCVE-2026-138982In the Linux kernel, the following vulnerability has been resolved: ASoC: Intel: atom: Fix platform device leak on probe failure sst_acpi_CVE-2026-138983In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix deadlock between nilfs_evict_inode() and find_inode() SyzbCVE-2026-138984In the Linux kernel, the following vulnerability has been resolved: mfd: da903x: Cancel IRQ work during teardown The IRQ handler disables CVE-2026-138985In the Linux kernel, the following vulnerability has been resolved: ASoC: fsl_xcvr: free IRQ before canceling reset work irq0_isr() scheduCVE-2026-138986In the Linux kernel, the following vulnerability has been resolved: media: atmel-isi: release unregistered video device on remove atmel_isCVE-2026-138987In the Linux kernel, the following vulnerability has been resolved: media: go7007: unregister the I2C adapter on USB probe failure USB pro
CVE-2026-138976: Unscored | Vulnix