<?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 21:41:51 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-46289 — lib/scatterlist: fix length calculations in extract_kvec_to_sg</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-46289</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;lib/scatterlist: fix length calculations in extract_kvec_to_sg&lt;/p&gt;
&lt;p&gt;Patch series &amp;#34;Fix bugs in extract_iter_to_sg()&amp;#34;, v3.&lt;/p&gt;
&lt;p&gt;Fix bugs in the kvec and user variants of extract_iter_to_sg.  This series
is growing due to useful remarks made by sashiko.dev.&lt;/p&gt;
&lt;p&gt;The main bugs are:
- The length for an sglist entry when extracting from
  a kvec can exceed the number of bytes in the page. This
  is obviously not intended.
- When extracting a user buffer the sglist is temporarily
  used as a scratch buffer for extracted page pointers.
  If the sglist already contains some elements this scratch
  buffer could overlap with existing entries in the sglist.&lt;/p&gt;
&lt;p&gt;The series adds test cases to the kunit_iov_iter test that demonstrate all
of these bugs.  Additionally, there is a memory leak fix for the test
itself.&lt;/p&gt;
&lt;p&gt;The bugs were orignally introduced into kernel v6.3 where the function
lived in fs/netfs/iterator.c.  It was later moved to lib/scatterlist.c in
v6.5.  Thus the actual fix is only marked for backports to v6.5+.&lt;/p&gt;
&lt;p&gt;This patch (of 5):&lt;/p&gt;
&lt;p&gt;When extracting from a kvec to a scatterlist, do not cross page
boundaries.  The required length was already calculated but not used as
intended.&lt;/p&gt;
&lt;p&gt;Adjust the copied length if the loop runs out of sglist entries without
extracting everything.&lt;/p&gt;
&lt;p&gt;While there, return immediately from extract_iter_to_sg if there are no
sglist entries at all.&lt;/p&gt;
&lt;p&gt;A subsequent commit will add kunit test cases that demonstrat…&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;lib/scatterlist: fix length calculations in extract_kvec_to_sg&lt;/p&gt;
&lt;p&gt;Patch series &amp;#34;Fix bugs in extract_iter_to_sg()&amp;#34;, v3.&lt;/p&gt;
&lt;p&gt;Fix bugs in the kvec and user variants of extract_iter_to_sg.  This series
is growing due to useful remarks made by sashiko.dev.&lt;/p&gt;
&lt;p&gt;The main bugs are:
- The length for an sglist entry when extracting from
  a kvec can exceed the number of bytes in the page. This
  is obviously not intended.
- When extracting a user buffer the sglist is temporarily
  used as a scratch buffer for extracted page pointers.
  If the sglist already contains some elements this scratch
  buffer could overlap with existing entries in the sglist.&lt;/p&gt;
&lt;p&gt;The series adds test cases to the kunit_iov_iter test that demonstrate all
of these bugs.  Additionally, there is a memory leak fix for the test
itself.&lt;/p&gt;
&lt;p&gt;The bugs were orignally introduced into kernel v6.3 where the function
lived in fs/netfs/iterator.c.  It was later moved to lib/scatterlist.c in
v6.5.  Thus the actual fix is only marked for backports to v6.5+.&lt;/p&gt;
&lt;p&gt;This patch (of 5):&lt;/p&gt;
&lt;p&gt;When extracting from a kvec to a scatterlist, do not cross page
boundaries.  The required length was already calculated but not used as
intended.&lt;/p&gt;
&lt;p&gt;Adjust the copied length if the loop runs out of sglist entries without
extracting everything.&lt;/p&gt;
&lt;p&gt;While there, return immediately from extract_iter_to_sg if there are no
sglist entries at all.&lt;/p&gt;
&lt;p&gt;A subsequent commit will add kunit test cases that demonstrat…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-46289</guid>
    </item>
  </channel>
</rss>
