<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 04 Dec 2026 18:06:49 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-138976 — fuse: don't drop destination page cache on a zero byte copy reply</title>
      <link>https://db.gcve.eu/vuln/cve-2026-138976</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;fuse: don&amp;#39;t drop destination page cache on a zero byte copy reply&lt;/p&gt;
&lt;p&gt;__fuse_copy_file_range() clears the destination page cache after the
server replies:&lt;/p&gt;
&lt;p&gt;truncate_inode_pages_range(inode_out-&amp;gt;i_mapping,
				   ALIGN_DOWN(pos_out, PAGE_SIZE),
				   ALIGN(pos_out + bytes_copied, PAGE_SIZE) - 1);&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Skip the call when the server copied nothing, since there is nothing
stale to clear in that case.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;fuse: don&amp;#39;t drop destination page cache on a zero byte copy reply&lt;/p&gt;
&lt;p&gt;__fuse_copy_file_range() clears the destination page cache after the
server replies:&lt;/p&gt;
&lt;p&gt;truncate_inode_pages_range(inode_out-&amp;gt;i_mapping,
				   ALIGN_DOWN(pos_out, PAGE_SIZE),
				   ALIGN(pos_out + bytes_copied, PAGE_SIZE) - 1);&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Skip the call when the server copied nothing, since there is nothing
stale to clear in that case.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-138976</guid>
    </item>
  </channel>
</rss>
