<?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 19:56:49 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-46139 — smb: client: use kzalloc to zero-initialize security descriptor buffer</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-46139</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: use kzalloc to zero-initialize security descriptor buffer&lt;/p&gt;
&lt;p&gt;Commit 62e7dd0a39c2d (&amp;#34;smb: common: change the data type of num_aces
to le16&amp;#34;) split struct smb_acl&amp;#39;s __le32 num_aces field into __le16
num_aces and __le16 reserved. The reserved field corresponds to Sbz2
in the MS-DTYP ACL wire format, which must be zero [1].&lt;/p&gt;
&lt;p&gt;When building an ACL descriptor in build_sec_desc(), we are using a
kmalloc()&amp;#39;ed descriptor buffer and writing the fields explicitly using
le16() writes now. This never writes to the 2 byte reserved field,
leaving it as uninitialized heap data.&lt;/p&gt;
&lt;p&gt;When the reserved field happens to contain non-zero slab garbage,
Samba rejects the security descriptor with &amp;#34;ndr_pull_security_descriptor
failed: Range Error&amp;#34;, causing chmod to fail with EINVAL.&lt;/p&gt;
&lt;p&gt;Change kmalloc() to kzalloc() to ensure the entire buffer is
zero-initialized.&lt;/p&gt;
&lt;p&gt;[1] https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-dtyp/20233ed8-a6c6-4097-aafa-dd545ed24428&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: use kzalloc to zero-initialize security descriptor buffer&lt;/p&gt;
&lt;p&gt;Commit 62e7dd0a39c2d (&amp;#34;smb: common: change the data type of num_aces
to le16&amp;#34;) split struct smb_acl&amp;#39;s __le32 num_aces field into __le16
num_aces and __le16 reserved. The reserved field corresponds to Sbz2
in the MS-DTYP ACL wire format, which must be zero [1].&lt;/p&gt;
&lt;p&gt;When building an ACL descriptor in build_sec_desc(), we are using a
kmalloc()&amp;#39;ed descriptor buffer and writing the fields explicitly using
le16() writes now. This never writes to the 2 byte reserved field,
leaving it as uninitialized heap data.&lt;/p&gt;
&lt;p&gt;When the reserved field happens to contain non-zero slab garbage,
Samba rejects the security descriptor with &amp;#34;ndr_pull_security_descriptor
failed: Range Error&amp;#34;, causing chmod to fail with EINVAL.&lt;/p&gt;
&lt;p&gt;Change kmalloc() to kzalloc() to ensure the entire buffer is
zero-initialized.&lt;/p&gt;
&lt;p&gt;[1] https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-dtyp/20233ed8-a6c6-4097-aafa-dd545ed24428&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-46139</guid>
    </item>
  </channel>
</rss>
