<?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:38:29 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99844 — mount: refuse setns() with a shared fs_struct again</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99844</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;mount: refuse setns() with a shared fs_struct again&lt;/p&gt;
&lt;p&gt;mntns_install() refuses to switch the mount namespace of a task that
shares its fs_struct, since root and cwd of the others would move to a
namespace they are not in.  It looks at nsset-&amp;gt;fs for that.  If more
than the mount namespace is asked for, that is a private copy made by
prepare_nsset(), which has one user by definition; commit_nsset() then
writes root and cwd of the copy to the fs_struct of the task.&lt;/p&gt;
&lt;p&gt;A thread of a process with two threads, pidfd of a task in another
mount namespace:&lt;/p&gt;
&lt;p&gt;setns(pidfd, CLONE_NEWNS)			-EINVAL
	setns(pidfd, CLONE_NEWNS | CLONE_NEWUTS)	0&lt;/p&gt;
&lt;p&gt;and after the second call the other thread, still in the old mount
namespace, has lost its cwd (/tmp became /) and sees the mounts of the
other namespace under /.&lt;/p&gt;
&lt;p&gt;Look at the fs_struct that is going to be changed.  The second call then
fails with -EINVAL like the first one.&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;mount: refuse setns() with a shared fs_struct again&lt;/p&gt;
&lt;p&gt;mntns_install() refuses to switch the mount namespace of a task that
shares its fs_struct, since root and cwd of the others would move to a
namespace they are not in.  It looks at nsset-&amp;gt;fs for that.  If more
than the mount namespace is asked for, that is a private copy made by
prepare_nsset(), which has one user by definition; commit_nsset() then
writes root and cwd of the copy to the fs_struct of the task.&lt;/p&gt;
&lt;p&gt;A thread of a process with two threads, pidfd of a task in another
mount namespace:&lt;/p&gt;
&lt;p&gt;setns(pidfd, CLONE_NEWNS)			-EINVAL
	setns(pidfd, CLONE_NEWNS | CLONE_NEWUTS)	0&lt;/p&gt;
&lt;p&gt;and after the second call the other thread, still in the old mount
namespace, has lost its cwd (/tmp became /) and sees the mounts of the
other namespace under /.&lt;/p&gt;
&lt;p&gt;Look at the fs_struct that is going to be changed.  The second call then
fails with -EINVAL like the first one.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99844</guid>
    </item>
  </channel>
</rss>
