<?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>Tue, 29 Sep 2026 03:33:59 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-31613 — smb: client: fix OOB reads parsing symlink error response</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-31613</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 OOB reads parsing symlink error response&lt;/p&gt;
&lt;p&gt;When a CREATE returns STATUS_STOPPED_ON_SYMLINK, smb2_check_message()
returns success without any length validation, leaving the symlink
parsers as the only defense against an untrusted server.&lt;/p&gt;
&lt;p&gt;symlink_data() walks SMB 3.1.1 error contexts with the loop test &amp;#34;p &amp;lt;
end&amp;#34;, but reads p-&amp;gt;ErrorId at offset 4 and p-&amp;gt;ErrorDataLength at offset
0.  When the server-controlled ErrorDataLength advances p to within 1-7
bytes of end, the next iteration will read past it.  When the matching
context is found, sym-&amp;gt;SymLinkErrorTag is read at offset 4 from
p-&amp;gt;ErrorContextData with no check that the symlink header itself fits.&lt;/p&gt;
&lt;p&gt;smb2_parse_symlink_response() then bounds-checks the substitute name
using SMB2_SYMLINK_STRUCT_SIZE as the offset of PathBuffer from
iov_base.  That value is computed as sizeof(smb2_err_rsp) +
sizeof(smb2_symlink_err_rsp), which is correct only when
ErrorContextCount == 0.&lt;/p&gt;
&lt;p&gt;With at least one error context the symlink data sits 8 bytes deeper,
and each skipped non-matching context shifts it further by 8 +
ALIGN(ErrorDataLength, 8).  The check is too short, allowing the
substitute name read to run past iov_len.  The out-of-bound heap bytes
are UTF-16-decoded into the symlink target and returned to userspace via
readlink(2).&lt;/p&gt;
&lt;p&gt;Fix this all up by making the loops test require the full context header
to fit, rejecting sym if its header runs past end,…&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 OOB reads parsing symlink error response&lt;/p&gt;
&lt;p&gt;When a CREATE returns STATUS_STOPPED_ON_SYMLINK, smb2_check_message()
returns success without any length validation, leaving the symlink
parsers as the only defense against an untrusted server.&lt;/p&gt;
&lt;p&gt;symlink_data() walks SMB 3.1.1 error contexts with the loop test &amp;#34;p &amp;lt;
end&amp;#34;, but reads p-&amp;gt;ErrorId at offset 4 and p-&amp;gt;ErrorDataLength at offset
0.  When the server-controlled ErrorDataLength advances p to within 1-7
bytes of end, the next iteration will read past it.  When the matching
context is found, sym-&amp;gt;SymLinkErrorTag is read at offset 4 from
p-&amp;gt;ErrorContextData with no check that the symlink header itself fits.&lt;/p&gt;
&lt;p&gt;smb2_parse_symlink_response() then bounds-checks the substitute name
using SMB2_SYMLINK_STRUCT_SIZE as the offset of PathBuffer from
iov_base.  That value is computed as sizeof(smb2_err_rsp) +
sizeof(smb2_symlink_err_rsp), which is correct only when
ErrorContextCount == 0.&lt;/p&gt;
&lt;p&gt;With at least one error context the symlink data sits 8 bytes deeper,
and each skipped non-matching context shifts it further by 8 +
ALIGN(ErrorDataLength, 8).  The check is too short, allowing the
substitute name read to run past iov_len.  The out-of-bound heap bytes
are UTF-16-decoded into the symlink target and returned to userspace via
readlink(2).&lt;/p&gt;
&lt;p&gt;Fix this all up by making the loops test require the full context header
to fit, rejecting sym if its header runs past end,…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-31613</guid>
    </item>
  </channel>
</rss>
