<?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>Thu, 01 Oct 2026 20:16:13 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-39723 — netfs: Fix unbuffered write error handling</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-39723</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 unbuffered write error handling&lt;/p&gt;
&lt;p&gt;If all the subrequests in an unbuffered write stream fail, the subrequest
collector doesn&amp;#39;t update the stream-&amp;gt;transferred value and it retains its
initial LONG_MAX value.  Unfortunately, if all active streams fail, then we
take the smallest value of { LONG_MAX, LONG_MAX, ... } as the value to set
in wreq-&amp;gt;transferred - which is then returned from -&amp;gt;write_iter().&lt;/p&gt;
&lt;p&gt;LONG_MAX was chosen as the initial value so that all the streams can be
quickly assessed by taking the smallest value of all stream-&amp;gt;transferred -
but this only works if we&amp;#39;ve set any of them.&lt;/p&gt;
&lt;p&gt;Fix this by adding a flag to indicate whether the value in
stream-&amp;gt;transferred is valid and checking that when we integrate the
values.  stream-&amp;gt;transferred can then be initialised to zero.&lt;/p&gt;
&lt;p&gt;This was found by running the generic/750 xfstest against cifs with
cache=none.  It splices data to the target file.  Once (if) it has used up
all the available scratch space, the writes start failing with ENOSPC.
This causes -&amp;gt;write_iter() to fail.  However, it was returning
wreq-&amp;gt;transferred, i.e. LONG_MAX, rather than an error (because it thought
the amount transferred was non-zero) and iter_file_splice_write() would
then try to clean up that amount of pipe bufferage - leading to an oops
when it overran.  The kernel log showed:&lt;/p&gt;
&lt;p&gt;CIFS: VFS: Send error in write = -28&lt;/p&gt;
&lt;p&gt;followed by:&lt;/p&gt;
&lt;p&gt;BUG: kernel NULL pointer dereference…&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 unbuffered write error handling&lt;/p&gt;
&lt;p&gt;If all the subrequests in an unbuffered write stream fail, the subrequest
collector doesn&amp;#39;t update the stream-&amp;gt;transferred value and it retains its
initial LONG_MAX value.  Unfortunately, if all active streams fail, then we
take the smallest value of { LONG_MAX, LONG_MAX, ... } as the value to set
in wreq-&amp;gt;transferred - which is then returned from -&amp;gt;write_iter().&lt;/p&gt;
&lt;p&gt;LONG_MAX was chosen as the initial value so that all the streams can be
quickly assessed by taking the smallest value of all stream-&amp;gt;transferred -
but this only works if we&amp;#39;ve set any of them.&lt;/p&gt;
&lt;p&gt;Fix this by adding a flag to indicate whether the value in
stream-&amp;gt;transferred is valid and checking that when we integrate the
values.  stream-&amp;gt;transferred can then be initialised to zero.&lt;/p&gt;
&lt;p&gt;This was found by running the generic/750 xfstest against cifs with
cache=none.  It splices data to the target file.  Once (if) it has used up
all the available scratch space, the writes start failing with ENOSPC.
This causes -&amp;gt;write_iter() to fail.  However, it was returning
wreq-&amp;gt;transferred, i.e. LONG_MAX, rather than an error (because it thought
the amount transferred was non-zero) and iter_file_splice_write() would
then try to clean up that amount of pipe bufferage - leading to an oops
when it overran.  The kernel log showed:&lt;/p&gt;
&lt;p&gt;CIFS: VFS: Send error in write = -28&lt;/p&gt;
&lt;p&gt;followed by:&lt;/p&gt;
&lt;p&gt;BUG: kernel NULL pointer dereference…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-39723</guid>
    </item>
  </channel>
</rss>
