<?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 19:16:04 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99841 — proc: don't let an entry below /proc/&lt;pid&gt;/net be a mountpoint</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99841</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;proc: don&amp;#39;t let an entry below /proc/&amp;lt;pid&amp;gt;/net be a mountpoint&lt;/p&gt;
&lt;p&gt;proc_net_d_revalidate() always returns 0 so that a dentry below
/proc/&amp;lt;pid&amp;gt;/net is never reused after setns(). So lookup_fast() will end
up calling d_invalidate(), which unhashes the dentry and detaches every
mount on it, in every mount namespace; including locked mounts.&lt;/p&gt;
&lt;p&gt;Then lookup_slow() creates a new dentry for the same entry. So a mount
on /proc/&amp;lt;pid&amp;gt;/net/dev succeeds and goes away with the first lookup of
the name by anybody with search permission on the directory. Given it&amp;#39;s
0555 that&amp;#39;s everyone&amp;#39;s grandma. A mask on such a name hides nothing as
the repro below shows.&lt;/p&gt;
&lt;p&gt;Treat those entries like I did fd/, fdinfo/ and map_files/ and refuse to
mount on them in the first place. It&amp;#39;s nonsensical theater otherwise:&lt;/p&gt;
&lt;p&gt;procnet net/dev stat&lt;/p&gt;
&lt;p&gt;// SPDX-License-Identifier: GPL-2.0
  /*
   * procnet: cover an entry of /proc/&amp;lt;pid&amp;gt;/ with a bind mount, lock the mount,
   * then look the name up.
   *
   * The first task stays alive, &amp;lt;pid&amp;gt; is its pid. The &amp;#34;container&amp;#34; task has its
   * own mount namespace. There it binds a mask on /proc/&amp;lt;pid&amp;gt;/&amp;lt;name&amp;gt;. It drops to
   * uid 1000 and enters a new user namespace with a new mount namespace, so that
   * the mask is locked. Then one task looks the name up:
   *
   *   stat    the container calls stat() on the name
   *   umount  the container calls umount2(MNT_DETACH) on the name
   *   nobody  a task with uid…&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;proc: don&amp;#39;t let an entry below /proc/&amp;lt;pid&amp;gt;/net be a mountpoint&lt;/p&gt;
&lt;p&gt;proc_net_d_revalidate() always returns 0 so that a dentry below
/proc/&amp;lt;pid&amp;gt;/net is never reused after setns(). So lookup_fast() will end
up calling d_invalidate(), which unhashes the dentry and detaches every
mount on it, in every mount namespace; including locked mounts.&lt;/p&gt;
&lt;p&gt;Then lookup_slow() creates a new dentry for the same entry. So a mount
on /proc/&amp;lt;pid&amp;gt;/net/dev succeeds and goes away with the first lookup of
the name by anybody with search permission on the directory. Given it&amp;#39;s
0555 that&amp;#39;s everyone&amp;#39;s grandma. A mask on such a name hides nothing as
the repro below shows.&lt;/p&gt;
&lt;p&gt;Treat those entries like I did fd/, fdinfo/ and map_files/ and refuse to
mount on them in the first place. It&amp;#39;s nonsensical theater otherwise:&lt;/p&gt;
&lt;p&gt;procnet net/dev stat&lt;/p&gt;
&lt;p&gt;// SPDX-License-Identifier: GPL-2.0
  /*
   * procnet: cover an entry of /proc/&amp;lt;pid&amp;gt;/ with a bind mount, lock the mount,
   * then look the name up.
   *
   * The first task stays alive, &amp;lt;pid&amp;gt; is its pid. The &amp;#34;container&amp;#34; task has its
   * own mount namespace. There it binds a mask on /proc/&amp;lt;pid&amp;gt;/&amp;lt;name&amp;gt;. It drops to
   * uid 1000 and enters a new user namespace with a new mount namespace, so that
   * the mask is locked. Then one task looks the name up:
   *
   *   stat    the container calls stat() on the name
   *   umount  the container calls umount2(MNT_DETACH) on the name
   *   nobody  a task with uid…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99841</guid>
    </item>
  </channel>
</rss>
