<?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>Wed, 30 Sep 2026 13:02:20 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-64139 — ksmbd: fix SID memory leak in set_posix_acl_entries_dacl() on overflow</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-64139</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;ksmbd: fix SID memory leak in set_posix_acl_entries_dacl() on overflow&lt;/p&gt;
&lt;p&gt;Commit 299f962c0b02 (&amp;#34;ksmbd: use check_add_overflow() to prevent u16
DACL size overflow&amp;#34;) added check_add_overflow() guards that break out
of the ACE-building loops in set_posix_acl_entries_dacl() when the
accumulated DACL size would wrap past 65535.&lt;/p&gt;
&lt;p&gt;However, each iteration allocates a struct smb_sid via kmalloc_obj()
at the top of the loop and relies on the kfree(sid) call at the end
of the loop body (the &amp;#39;pass_same_sid&amp;#39; label in the first loop, and
the explicit kfree at the tail of the second loop) to release it.
The newly introduced &amp;#39;break&amp;#39; statements bypass those kfree() calls,
leaking the sid buffer every time an overflow is detected.&lt;/p&gt;
&lt;p&gt;A malicious or malformed file with enough POSIX ACL entries to trip
the overflow check will leak one or more struct smb_sid allocations
on every request that touches the file&amp;#39;s DACL, providing a trivial
kernel memory exhaustion vector.&lt;/p&gt;
&lt;p&gt;Free sid before breaking out of the loops to plug the leak.&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;ksmbd: fix SID memory leak in set_posix_acl_entries_dacl() on overflow&lt;/p&gt;
&lt;p&gt;Commit 299f962c0b02 (&amp;#34;ksmbd: use check_add_overflow() to prevent u16
DACL size overflow&amp;#34;) added check_add_overflow() guards that break out
of the ACE-building loops in set_posix_acl_entries_dacl() when the
accumulated DACL size would wrap past 65535.&lt;/p&gt;
&lt;p&gt;However, each iteration allocates a struct smb_sid via kmalloc_obj()
at the top of the loop and relies on the kfree(sid) call at the end
of the loop body (the &amp;#39;pass_same_sid&amp;#39; label in the first loop, and
the explicit kfree at the tail of the second loop) to release it.
The newly introduced &amp;#39;break&amp;#39; statements bypass those kfree() calls,
leaking the sid buffer every time an overflow is detected.&lt;/p&gt;
&lt;p&gt;A malicious or malformed file with enough POSIX ACL entries to trip
the overflow check will leak one or more struct smb_sid allocations
on every request that touches the file&amp;#39;s DACL, providing a trivial
kernel memory exhaustion vector.&lt;/p&gt;
&lt;p&gt;Free sid before breaking out of the loops to plug the leak.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-64139</guid>
    </item>
  </channel>
</rss>
