<?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 08:40:19 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-89638 — smb: client: clear setuid/setgid bit on write with cifsacl/modefromsid/posix extensions</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-89638</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: clear setuid/setgid bit on write with cifsacl/modefromsid/posix extensions&lt;/p&gt;
&lt;p&gt;When a file has the setuid or setgid bit set and is written to, the VFS
strips those bits and issues a setattr with ATTR_KILL_SUID/ATTR_KILL_SGID
together with an ATTR_MODE carrying the already-cleared mode.&lt;/p&gt;
&lt;p&gt;Both cifs_setattr_unix() and cifs_setattr_nounix() unconditionally dropped
ATTR_MODE in that case:&lt;/p&gt;
&lt;p&gt;/* skip mode change if it&amp;#39;s just for clearing setuid/setgid */
	if (attrs-&amp;gt;ia_valid &amp;amp; (ATTR_KILL_SUID|ATTR_KILL_SGID))
		attrs-&amp;gt;ia_valid &amp;amp;= ~ATTR_MODE;&lt;/p&gt;
&lt;p&gt;This is fine for the default mount, where the mode is only emulated via
the DOS read-only attribute and cannot represent the setuid/setgid bits
anyway.  However, with the &amp;#34;cifsacl&amp;#34; or &amp;#34;modefromsid&amp;#34; mount options the
mode is stored on the server through an ACL (id_mode_to_cifs_acl()), with
the SMB3.1.1 POSIX extensions the mode is sent to the server directly,
and with the SMB1 Unix extensions (cifs_setattr_unix) the mode is sent
via CIFSSMBUnixSetPathInfo().  In all those cases dropping ATTR_MODE means
the cleared mode is never pushed to the server, so the setuid/setgid bit
survives the write.&lt;/p&gt;
&lt;p&gt;This is a security issue: on local filesystems the setuid bit is stripped
when a file is written, but over these cifs.ko mounts the bit persists on
the server, potentially allowing an unexpected privilege escalation on
subsequent execution.&lt;/p&gt;
&lt;p&gt;Fix this in two places:&lt;/p&gt;
&lt;p&gt;1. cifs_…&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: clear setuid/setgid bit on write with cifsacl/modefromsid/posix extensions&lt;/p&gt;
&lt;p&gt;When a file has the setuid or setgid bit set and is written to, the VFS
strips those bits and issues a setattr with ATTR_KILL_SUID/ATTR_KILL_SGID
together with an ATTR_MODE carrying the already-cleared mode.&lt;/p&gt;
&lt;p&gt;Both cifs_setattr_unix() and cifs_setattr_nounix() unconditionally dropped
ATTR_MODE in that case:&lt;/p&gt;
&lt;p&gt;/* skip mode change if it&amp;#39;s just for clearing setuid/setgid */
	if (attrs-&amp;gt;ia_valid &amp;amp; (ATTR_KILL_SUID|ATTR_KILL_SGID))
		attrs-&amp;gt;ia_valid &amp;amp;= ~ATTR_MODE;&lt;/p&gt;
&lt;p&gt;This is fine for the default mount, where the mode is only emulated via
the DOS read-only attribute and cannot represent the setuid/setgid bits
anyway.  However, with the &amp;#34;cifsacl&amp;#34; or &amp;#34;modefromsid&amp;#34; mount options the
mode is stored on the server through an ACL (id_mode_to_cifs_acl()), with
the SMB3.1.1 POSIX extensions the mode is sent to the server directly,
and with the SMB1 Unix extensions (cifs_setattr_unix) the mode is sent
via CIFSSMBUnixSetPathInfo().  In all those cases dropping ATTR_MODE means
the cleared mode is never pushed to the server, so the setuid/setgid bit
survives the write.&lt;/p&gt;
&lt;p&gt;This is a security issue: on local filesystems the setuid bit is stripped
when a file is written, but over these cifs.ko mounts the bit persists on
the server, potentially allowing an unexpected privilege escalation on
subsequent execution.&lt;/p&gt;
&lt;p&gt;Fix this in two places:&lt;/p&gt;
&lt;p&gt;1. cifs_…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-89638</guid>
    </item>
  </channel>
</rss>
