<?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://vulnerability.circl.lu</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, 02 Oct 2026 09:02:41 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-64063 — netfs: Fix streaming write being overwritten</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-64063</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: Fix streaming write being overwritten&lt;/p&gt;
&lt;p&gt;In order to avoid reading whilst writing, netfslib will allow &amp;#34;streaming
writes&amp;#34; in which dirty data is stored directly into folios without reading
them first.  Such folios are marked dirty but may not be marked uptodate.
If a folio is entirely written by a streaming write, uptodate will be set,
otherwise it will have a netfs_folio struct attached to -&amp;gt;private recording
the dirty region.&lt;/p&gt;
&lt;p&gt;In the event that a partially written streaming write page is to be
overwritten entirely by a single write(), netfs_perform_write() will try to
copy over it, but doesn&amp;#39;t discard the netfs_folio if it succeeds; further,
it doesn&amp;#39;t correctly handle a partial copy that overwrites some of the
dirty data.&lt;/p&gt;
&lt;p&gt;Fix this by the following:&lt;/p&gt;
&lt;p&gt;(1) If the folio is successfully overwritten, free the netfs_folio struct
     before marking the page uptodate.&lt;/p&gt;
&lt;p&gt;(2) If the copy to the folio partially fails, but short of the dirty data,
     just ignore the copy.&lt;/p&gt;
&lt;p&gt;(3) If the copy partially fails and overwrites some of the dirty data,
     accept the copy, update the netfs_folio struct to record the new data.
     If the folio is now filled, free the netfs_folio and set uptodate,
     otherwise return a partial write.&lt;/p&gt;
&lt;p&gt;Found with:&lt;/p&gt;
&lt;p&gt;fsx -q -N 1000000 -p 10000 -o 128000 -l 600000 \
	  /xfstest.test/junk --replay-ops=junk.fsxops&lt;/p&gt;
&lt;p&gt;using the following as junk.fsxops:&lt;/p&gt;
&lt;p&gt;truncate 0x0 0 0x927c0
	write 0x6…&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: Fix streaming write being overwritten&lt;/p&gt;
&lt;p&gt;In order to avoid reading whilst writing, netfslib will allow &amp;#34;streaming
writes&amp;#34; in which dirty data is stored directly into folios without reading
them first.  Such folios are marked dirty but may not be marked uptodate.
If a folio is entirely written by a streaming write, uptodate will be set,
otherwise it will have a netfs_folio struct attached to -&amp;gt;private recording
the dirty region.&lt;/p&gt;
&lt;p&gt;In the event that a partially written streaming write page is to be
overwritten entirely by a single write(), netfs_perform_write() will try to
copy over it, but doesn&amp;#39;t discard the netfs_folio if it succeeds; further,
it doesn&amp;#39;t correctly handle a partial copy that overwrites some of the
dirty data.&lt;/p&gt;
&lt;p&gt;Fix this by the following:&lt;/p&gt;
&lt;p&gt;(1) If the folio is successfully overwritten, free the netfs_folio struct
     before marking the page uptodate.&lt;/p&gt;
&lt;p&gt;(2) If the copy to the folio partially fails, but short of the dirty data,
     just ignore the copy.&lt;/p&gt;
&lt;p&gt;(3) If the copy partially fails and overwrites some of the dirty data,
     accept the copy, update the netfs_folio struct to record the new data.
     If the folio is now filled, free the netfs_folio and set uptodate,
     otherwise return a partial write.&lt;/p&gt;
&lt;p&gt;Found with:&lt;/p&gt;
&lt;p&gt;fsx -q -N 1000000 -p 10000 -o 128000 -l 600000 \
	  /xfstest.test/junk --replay-ops=junk.fsxops&lt;/p&gt;
&lt;p&gt;using the following as junk.fsxops:&lt;/p&gt;
&lt;p&gt;truncate 0x0 0 0x927c0
	write 0x6…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-64063</guid>
    </item>
  </channel>
</rss>
