<?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>Fri, 04 Dec 2026 18:59:52 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99952 — statmount: don't copy the reserved empty string past the buffer</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99952</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;statmount: don&amp;#39;t copy the reserved empty string past the buffer&lt;/p&gt;
&lt;p&gt;statmount_string() reserves an empty string at the start of the seq
buffer before it calls the handler for the requested string. That&amp;#39;s
what the offsets of unset strings point to since commit e52e97f09fb6
(&amp;#34;statmount: let unset strings be empty&amp;#34;).&lt;/p&gt;
&lt;p&gt;If the handler emits nothing the early return from commit 75ead69a7173
(&amp;#34;fs: don&amp;#39;t let statmount return empty strings&amp;#34;) skips the size check
against the caller&amp;#39;s buffer. Back then an empty emission meant an empty
seq buffer and there was nothing to copy. Now the reserved NUL byte is
there and copy_statmount_to_user() copies it to buf + sizeof(struct
statmount) no matter how small bufsize is.&lt;/p&gt;
&lt;p&gt;So request a string that may turn out empty with a buffer that&amp;#39;s
smaller than struct statmount and the kernel writes one zero byte past
the caller&amp;#39;s buffer and reports a size that&amp;#39;s larger than the buffer.
STATMOUNT_MNT_UIDMAP or STATMOUNT_MNT_GIDMAP on a mount that isn&amp;#39;t
idmapped will do, so will STATMOUNT_FS_SUBTYPE on anything but fuse or
STATMOUNT_OPT_ARRAY on a filesystem without -&amp;gt;show_options(). None of
this needs privileges. The byte only lands in the caller&amp;#39;s own address
space but that&amp;#39;s still not ok.&lt;/p&gt;
&lt;p&gt;prepare_kstatmount() already refuses a buffer of exactly sizeof(struct
statmount) for string requests. A smaller buffer can&amp;#39;t hold a string
either and it can&amp;#39;t even hold the reserved empty string. So ref…&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;statmount: don&amp;#39;t copy the reserved empty string past the buffer&lt;/p&gt;
&lt;p&gt;statmount_string() reserves an empty string at the start of the seq
buffer before it calls the handler for the requested string. That&amp;#39;s
what the offsets of unset strings point to since commit e52e97f09fb6
(&amp;#34;statmount: let unset strings be empty&amp;#34;).&lt;/p&gt;
&lt;p&gt;If the handler emits nothing the early return from commit 75ead69a7173
(&amp;#34;fs: don&amp;#39;t let statmount return empty strings&amp;#34;) skips the size check
against the caller&amp;#39;s buffer. Back then an empty emission meant an empty
seq buffer and there was nothing to copy. Now the reserved NUL byte is
there and copy_statmount_to_user() copies it to buf + sizeof(struct
statmount) no matter how small bufsize is.&lt;/p&gt;
&lt;p&gt;So request a string that may turn out empty with a buffer that&amp;#39;s
smaller than struct statmount and the kernel writes one zero byte past
the caller&amp;#39;s buffer and reports a size that&amp;#39;s larger than the buffer.
STATMOUNT_MNT_UIDMAP or STATMOUNT_MNT_GIDMAP on a mount that isn&amp;#39;t
idmapped will do, so will STATMOUNT_FS_SUBTYPE on anything but fuse or
STATMOUNT_OPT_ARRAY on a filesystem without -&amp;gt;show_options(). None of
this needs privileges. The byte only lands in the caller&amp;#39;s own address
space but that&amp;#39;s still not ok.&lt;/p&gt;
&lt;p&gt;prepare_kstatmount() already refuses a buffer of exactly sizeof(struct
statmount) for string requests. A smaller buffer can&amp;#39;t hold a string
either and it can&amp;#39;t even hold the reserved empty string. So ref…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99952</guid>
    </item>
  </channel>
</rss>
