<?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 14:29:20 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-64394 — ksmbd: add a WRITE_DAC/WRITE_OWNER check to SMB2 SET_INFO SECURITY</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-64394</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: add a WRITE_DAC/WRITE_OWNER check to SMB2 SET_INFO SECURITY&lt;/p&gt;
&lt;p&gt;commit cc57232cae23 (&amp;#34;ksmbd: fix FSCTL permission bypass by adding a
permission check for FSCTL_SET_SPARSE&amp;#34;) added a fp-&amp;gt;daccess gate to
fsctl_set_sparse and noted that &amp;#34;similar handle-level checks exist in other
functions but are missing here.&amp;#34; The SMB2 SET_INFO SECURITY arm is one of
the missing ones, and the most security-relevant: smb2_set_info_sec() calls
set_info_sec() with no per-handle access check.&lt;/p&gt;
&lt;p&gt;set_info_sec() (fs/smb/server/smbacl.c) re-permissions the file: it
rewrites owner/group/mode via notify_change(), rewrites the POSIX ACL via
set_posix_acl(), and on KSMBD_SHARE_FLAG_ACL_XATTR shares removes and
rewrites the Windows security descriptor via ksmbd_vfs_set_sd_xattr().
Every other persistent-mutation arm of the sibling handler
smb2_set_info_file() checks fp-&amp;gt;daccess first (FILE_WRITE_DATA /
FILE_DELETE / FILE_WRITE_EA / FILE_WRITE_ATTRIBUTES); the SECURITY arm —
which mutates the access control itself — is the only one with no gate.&lt;/p&gt;
&lt;p&gt;A client can therefore open a handle with FILE_WRITE_ATTRIBUTES only (no
FILE_WRITE_DAC / FILE_WRITE_OWNER) and use SMB2_SET_INFO with InfoType
SMB2_O_INFO_SECURITY to rewrite the file&amp;#39;s DACL and owner, granting itself
access the handle&amp;#39;s daccess never carried. Unlike the FSCTL data arms this
is a metadata/xattr operation, so there is no FMODE_WRITE VFS backstop —
the missing fp-&amp;gt;daccess check…&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: add a WRITE_DAC/WRITE_OWNER check to SMB2 SET_INFO SECURITY&lt;/p&gt;
&lt;p&gt;commit cc57232cae23 (&amp;#34;ksmbd: fix FSCTL permission bypass by adding a
permission check for FSCTL_SET_SPARSE&amp;#34;) added a fp-&amp;gt;daccess gate to
fsctl_set_sparse and noted that &amp;#34;similar handle-level checks exist in other
functions but are missing here.&amp;#34; The SMB2 SET_INFO SECURITY arm is one of
the missing ones, and the most security-relevant: smb2_set_info_sec() calls
set_info_sec() with no per-handle access check.&lt;/p&gt;
&lt;p&gt;set_info_sec() (fs/smb/server/smbacl.c) re-permissions the file: it
rewrites owner/group/mode via notify_change(), rewrites the POSIX ACL via
set_posix_acl(), and on KSMBD_SHARE_FLAG_ACL_XATTR shares removes and
rewrites the Windows security descriptor via ksmbd_vfs_set_sd_xattr().
Every other persistent-mutation arm of the sibling handler
smb2_set_info_file() checks fp-&amp;gt;daccess first (FILE_WRITE_DATA /
FILE_DELETE / FILE_WRITE_EA / FILE_WRITE_ATTRIBUTES); the SECURITY arm —
which mutates the access control itself — is the only one with no gate.&lt;/p&gt;
&lt;p&gt;A client can therefore open a handle with FILE_WRITE_ATTRIBUTES only (no
FILE_WRITE_DAC / FILE_WRITE_OWNER) and use SMB2_SET_INFO with InfoType
SMB2_O_INFO_SECURITY to rewrite the file&amp;#39;s DACL and owner, granting itself
access the handle&amp;#39;s daccess never carried. Unlike the FSCTL data arms this
is a metadata/xattr operation, so there is no FMODE_WRITE VFS backstop —
the missing fp-&amp;gt;daccess check…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-64394</guid>
    </item>
  </channel>
</rss>
