<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-04T19:24:39.905456+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-99841</id>
    <title>CVE-2026-99841 — proc: don't let an entry below /proc/&lt;pid&gt;/net be a mountpoint</title>
    <updated>2026-12-04T19:24:39.906841+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>proc: don't let an entry below /proc/&lt;pid&gt;/net be a mountpoint</p>
<p>proc_net_d_revalidate() always returns 0 so that a dentry below
/proc/&lt;pid&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.</p>
<p>Then lookup_slow() creates a new dentry for the same entry. So a mount
on /proc/&lt;pid&gt;/net/dev succeeds and goes away with the first lookup of
the name by anybody with search permission on the directory. Given it's
0555 that's everyone's grandma. A mask on such a name hides nothing as
the repro below shows.</p>
<p>Treat those entries like I did fd/, fdinfo/ and map_files/ and refuse to
mount on them in the first place. It's nonsensical theater otherwise:</p>
<p>procnet net/dev stat</p>
<p>// SPDX-License-Identifier: GPL-2.0
  /*
   * procnet: cover an entry of /proc/&lt;pid&gt;/ with a bind mount, lock the mount,
   * then look the name up.
   *
   * The first task stays alive, &lt;pid&gt; is its pid. The "container" task has its
   * own mount namespace. There it binds a mask on /proc/&lt;pid&gt;/&lt;name&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…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-99841"/>
  </entry>
</feed>
