<?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>Mon, 19 Oct 2026 12:35:26 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98844 — netfs: clear post-EOF pagecache when extending a file via write</title>
      <link>https://db.gcve.eu/vuln/cve-2026-98844</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;netfs: clear post-EOF pagecache when extending a file via write&lt;/p&gt;
&lt;p&gt;Fix netfs to erase the contents of a hole created after the EOF by an
ordinary write if dirty data has been previously left there by writes
through an mmapped region.  Neither the buffered nor the unbuffered/DIO
write path clears that stale pagecache.&lt;/p&gt;
&lt;p&gt;Zero the tail of the folio straddling the EOF before an extending
write.  That is the only folio that can hold data written past the EOF
through an mmap, as pages wholly beyond the EOF can&amp;#39;t be faulted in.
The folio is zeroed rather than dropped so a concurrent extending write
can&amp;#39;t lose data.&lt;/p&gt;
&lt;p&gt;Both write paths downgrade the i_rwsem to shared, so extending writes
can run concurrently and the i_size read by the caller may be stale by
the time the folio is locked.  Re-read i_size under the folio lock and
clamp the zeroed range up to it, so a racing write that already put
data into the folio isn&amp;#39;t clobbered.&lt;/p&gt;
&lt;p&gt;Wait for any writeback on the folio to finish before zeroing it so that
the pagecache isn&amp;#39;t modified while it may still be read by the transport
during transmission.  Honour IOCB_NOWAIT by returning -EAGAIN rather
than blocking on the folio lock, on writeback, or in folio_mkclean()&amp;#39;s
rmap walk when the folio is mapped.&lt;/p&gt;
&lt;p&gt;truncate_pagecache() can&amp;#39;t be used here: it must be called with the
i_rwsem held exclusively, but these write paths only hold it shared,
and it would block unconditionally, bre…&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;netfs: clear post-EOF pagecache when extending a file via write&lt;/p&gt;
&lt;p&gt;Fix netfs to erase the contents of a hole created after the EOF by an
ordinary write if dirty data has been previously left there by writes
through an mmapped region.  Neither the buffered nor the unbuffered/DIO
write path clears that stale pagecache.&lt;/p&gt;
&lt;p&gt;Zero the tail of the folio straddling the EOF before an extending
write.  That is the only folio that can hold data written past the EOF
through an mmap, as pages wholly beyond the EOF can&amp;#39;t be faulted in.
The folio is zeroed rather than dropped so a concurrent extending write
can&amp;#39;t lose data.&lt;/p&gt;
&lt;p&gt;Both write paths downgrade the i_rwsem to shared, so extending writes
can run concurrently and the i_size read by the caller may be stale by
the time the folio is locked.  Re-read i_size under the folio lock and
clamp the zeroed range up to it, so a racing write that already put
data into the folio isn&amp;#39;t clobbered.&lt;/p&gt;
&lt;p&gt;Wait for any writeback on the folio to finish before zeroing it so that
the pagecache isn&amp;#39;t modified while it may still be read by the transport
during transmission.  Honour IOCB_NOWAIT by returning -EAGAIN rather
than blocking on the folio lock, on writeback, or in folio_mkclean()&amp;#39;s
rmap walk when the folio is mapped.&lt;/p&gt;
&lt;p&gt;truncate_pagecache() can&amp;#39;t be used here: it must be called with the
i_rwsem held exclusively, but these write paths only hold it shared,
and it would block unconditionally, bre…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-98844</guid>
    </item>
  </channel>
</rss>
