<?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://db.gcve.eu</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>Sat, 05 Dec 2026 12:45:03 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-142813 — ksmbd: use the existing xattr name for a named stream</title>
      <link>https://db.gcve.eu/vuln/cve-2026-142813</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: use the existing xattr name for a named stream&lt;/p&gt;
&lt;p&gt;SMB stream names are case-insensitive, but ksmbd stores each named
stream in an xattr whose name is case-sensitive. Opening an existing
stream finds its xattr with a case-insensitive match, yet the handle
keeps the name as the client spelled it, and every later operation that
needs an exact name uses that spelling:&lt;/p&gt;
&lt;p&gt;- a WRITE or an end-of-file change creates a second xattr, so a stream
   created as &amp;#34;Foo&amp;#34; and written through &amp;#34;foo&amp;#34; ends up stored twice, and
   which value a later lookup returns depends on xattr list order;
 - delete-on-close and delete-pending removal can fail with -ENODATA,
   or remove only a case-variant copy and leave the original;
 - the share mode check compares stream names with strcmp(), so two
   opens of the same stream that differ only in case do not conflict.&lt;/p&gt;
&lt;p&gt;Have ksmbd_vfs_casexattr_len() copy the matching xattr&amp;#39;s name into the
handle when the stream is opened, so later operations use the name
already on disk. The match must have the same length as the name it
replaces; the stream lookup passes a length that includes the
terminating NUL, which already guarantees that, and the check makes the
copy safe for any caller. A stream that does not exist yet keeps the
client&amp;#39;s spelling, as before.&lt;/p&gt;
&lt;p&gt;smb2_rename() compares and looks up fp-&amp;gt;stream.name case-insensitively,
so it behaves the same with either spelling.&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: use the existing xattr name for a named stream&lt;/p&gt;
&lt;p&gt;SMB stream names are case-insensitive, but ksmbd stores each named
stream in an xattr whose name is case-sensitive. Opening an existing
stream finds its xattr with a case-insensitive match, yet the handle
keeps the name as the client spelled it, and every later operation that
needs an exact name uses that spelling:&lt;/p&gt;
&lt;p&gt;- a WRITE or an end-of-file change creates a second xattr, so a stream
   created as &amp;#34;Foo&amp;#34; and written through &amp;#34;foo&amp;#34; ends up stored twice, and
   which value a later lookup returns depends on xattr list order;
 - delete-on-close and delete-pending removal can fail with -ENODATA,
   or remove only a case-variant copy and leave the original;
 - the share mode check compares stream names with strcmp(), so two
   opens of the same stream that differ only in case do not conflict.&lt;/p&gt;
&lt;p&gt;Have ksmbd_vfs_casexattr_len() copy the matching xattr&amp;#39;s name into the
handle when the stream is opened, so later operations use the name
already on disk. The match must have the same length as the name it
replaces; the stream lookup passes a length that includes the
terminating NUL, which already guarantees that, and the check makes the
copy safe for any caller. A stream that does not exist yet keeps the
client&amp;#39;s spelling, as before.&lt;/p&gt;
&lt;p&gt;smb2_rename() compares and looks up fp-&amp;gt;stream.name case-insensitively,
so it behaves the same with either spelling.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-142813</guid>
    </item>
  </channel>
</rss>
