<?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:29:59 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-142818 — ns: don't add init_ipc_ns and init_net without namespace support</title>
      <link>https://db.gcve.eu/vuln/cve-2026-142818</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;ns: don&amp;#39;t add init_ipc_ns and init_net without namespace support&lt;/p&gt;
&lt;p&gt;When CONFIG_IPC_NS or CONFIG_NET_NS are turned off we still add the
initial ipc and network namespace to the namespace trees. ipc_ns_init()
calls ns_tree_add(&amp;amp;init_ipc_ns) whenever CONFIG_SYSVIPC is set and
setup_net() calls ns_tree_add_raw() on init_net whenever CONFIG_NET is
set.&lt;/p&gt;
&lt;p&gt;But without CONFIG_IPC_NS and CONFIG_NET_NS these aren&amp;#39;t namespaces
userspace can do anything with. They don&amp;#39;t have proc_ns_operations so
there&amp;#39;s no /proc/&amp;lt;pid&amp;gt;/ns/{ipc,net} for them, nsfs_fh_to_dentry()
refuses them with -EOPNOTSUPP, and since ns-&amp;gt;ops is NULL
__ns_tree_add_raw() doesn&amp;#39;t add them to the owner list of init_user_ns
either. So they end up half registered. That&amp;#39;s also not how we treat
any of the other namespace types. Without CONFIG_UTS_NS, CONFIG_PID_NS,
CONFIG_TIME_NS or CONFIG_USER_NS the initial namespace is never added
to the tree.&lt;/p&gt;
&lt;p&gt;listns() walks the unified tree and calls is_current_namespace() for
every namespace it finds via may_list_ns(). But is_current_namespace()
only knows about CLONE_NEWIPC and CLONE_NEWNET if CONFIG_IPC_NS and
CONFIG_NET_NS are set. Otherwise we end up in the default case and its
VFS_WARN_ON_ONCE(). Any unprivileged caller can trigger that with a
plain listns() call:&lt;/p&gt;
&lt;p&gt;WARNING: CPU: 0 PID: 526 at fs/nsfs.c:508 is_current_namespace+0x12f/0x440
  Call Trace:
   legitimize_ns+0x25f/0x4c0
   do_listns+0x185/0x5c0
   __do_s…&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;ns: don&amp;#39;t add init_ipc_ns and init_net without namespace support&lt;/p&gt;
&lt;p&gt;When CONFIG_IPC_NS or CONFIG_NET_NS are turned off we still add the
initial ipc and network namespace to the namespace trees. ipc_ns_init()
calls ns_tree_add(&amp;amp;init_ipc_ns) whenever CONFIG_SYSVIPC is set and
setup_net() calls ns_tree_add_raw() on init_net whenever CONFIG_NET is
set.&lt;/p&gt;
&lt;p&gt;But without CONFIG_IPC_NS and CONFIG_NET_NS these aren&amp;#39;t namespaces
userspace can do anything with. They don&amp;#39;t have proc_ns_operations so
there&amp;#39;s no /proc/&amp;lt;pid&amp;gt;/ns/{ipc,net} for them, nsfs_fh_to_dentry()
refuses them with -EOPNOTSUPP, and since ns-&amp;gt;ops is NULL
__ns_tree_add_raw() doesn&amp;#39;t add them to the owner list of init_user_ns
either. So they end up half registered. That&amp;#39;s also not how we treat
any of the other namespace types. Without CONFIG_UTS_NS, CONFIG_PID_NS,
CONFIG_TIME_NS or CONFIG_USER_NS the initial namespace is never added
to the tree.&lt;/p&gt;
&lt;p&gt;listns() walks the unified tree and calls is_current_namespace() for
every namespace it finds via may_list_ns(). But is_current_namespace()
only knows about CLONE_NEWIPC and CLONE_NEWNET if CONFIG_IPC_NS and
CONFIG_NET_NS are set. Otherwise we end up in the default case and its
VFS_WARN_ON_ONCE(). Any unprivileged caller can trigger that with a
plain listns() call:&lt;/p&gt;
&lt;p&gt;WARNING: CPU: 0 PID: 526 at fs/nsfs.c:508 is_current_namespace+0x12f/0x440
  Call Trace:
   legitimize_ns+0x25f/0x4c0
   do_listns+0x185/0x5c0
   __do_s…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-142818</guid>
    </item>
  </channel>
</rss>
