<?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 19:27:36 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-143043 — smb: client: fix out-of-bounds read in dfs_parse_target_referral()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-143043</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;smb: client: fix out-of-bounds read in dfs_parse_target_referral()&lt;/p&gt;
&lt;p&gt;dfs_parse_target_referral() decides whether a prefix path remains after
the consumed part of full_path with:&lt;/p&gt;
&lt;p&gt;if (strlen(full_path) - ref-&amp;gt;path_consumed)&lt;/p&gt;
&lt;p&gt;strlen() returns size_t, so if path_consumed is larger than the length
of full_path, the subtraction wraps around to a huge non-zero value.
The branch is then taken, prepath is set to a pointer past the
terminating NUL of full_path, and *prepath reads out of bounds.&lt;/p&gt;
&lt;p&gt;path_consumed can exceed strlen(full_path) when the mount charset is
not utf8.  The referral code derives path_consumed from the canonical
path, which is in the DFS cache charset (utf8), but it is applied here
to full_path, which is in the mount charset.  Each non-ASCII character
in the consumed part of the path that is longer in utf8 than in the
mount charset makes the count too large by the difference.&lt;/p&gt;
&lt;p&gt;This was reproduced with iocharset=iso8859-1 against a Samba DFS root
containing a link named &amp;#34;café&amp;#34;, mounting with the single Latin-1 byte
0xe9 in the path.  On an unmodified tree such a mount fails earlier
with -ENOENT because the path is converted to utf8 twice in
setup_dfs_ref(); with that fixed (&amp;#34;smb: client: fix double conversion
of DFS path in setup_dfs_ref()&amp;#34;), the mount reaches this code.
full_path was 29 bytes while path_consumed was 30:&lt;/p&gt;
&lt;p&gt;BUG: KASAN: slab-out-of-bounds in dfs_parse_target_referral+0x26a/0x270…&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;smb: client: fix out-of-bounds read in dfs_parse_target_referral()&lt;/p&gt;
&lt;p&gt;dfs_parse_target_referral() decides whether a prefix path remains after
the consumed part of full_path with:&lt;/p&gt;
&lt;p&gt;if (strlen(full_path) - ref-&amp;gt;path_consumed)&lt;/p&gt;
&lt;p&gt;strlen() returns size_t, so if path_consumed is larger than the length
of full_path, the subtraction wraps around to a huge non-zero value.
The branch is then taken, prepath is set to a pointer past the
terminating NUL of full_path, and *prepath reads out of bounds.&lt;/p&gt;
&lt;p&gt;path_consumed can exceed strlen(full_path) when the mount charset is
not utf8.  The referral code derives path_consumed from the canonical
path, which is in the DFS cache charset (utf8), but it is applied here
to full_path, which is in the mount charset.  Each non-ASCII character
in the consumed part of the path that is longer in utf8 than in the
mount charset makes the count too large by the difference.&lt;/p&gt;
&lt;p&gt;This was reproduced with iocharset=iso8859-1 against a Samba DFS root
containing a link named &amp;#34;café&amp;#34;, mounting with the single Latin-1 byte
0xe9 in the path.  On an unmodified tree such a mount fails earlier
with -ENOENT because the path is converted to utf8 twice in
setup_dfs_ref(); with that fixed (&amp;#34;smb: client: fix double conversion
of DFS path in setup_dfs_ref()&amp;#34;), the mount reaches this code.
full_path was 29 bytes while path_consumed was 30:&lt;/p&gt;
&lt;p&gt;BUG: KASAN: slab-out-of-bounds in dfs_parse_target_referral+0x26a/0x270…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-143043</guid>
    </item>
  </channel>
</rss>
