<?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:17:07 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99843 — userns: don't drop the exec securebits</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99843</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;userns: don&amp;#39;t drop the exec securebits&lt;/p&gt;
&lt;p&gt;SECBIT_EXEC_RESTRICT_FILE and SECBIT_EXEC_DENY_INTERACTIVE tell script
interpreters to only run what AT_EXECVE_CHECK allows and to refuse
interactive input. A service manager sets them together with their lock
bits so that nothing below it can turn them off again.&lt;/p&gt;
&lt;p&gt;But set_cred_user_ns() resets all securebits to SECUREBITS_DEFAULT. So
any task that can create a user namespace sheds the locked exec bits
with a single unshare(CLONE_NEWUSER) and joining one with setns() does
the same. The lock is pointless if anyone who may create a user
namespace can drop it, and that is pretty much everyone.&lt;/p&gt;
&lt;p&gt;Resetting the other bits is fine. They are about how capabilities are
computed and a new user namespace starts out with a full set of
capabilities anyway. The exec bits grant nothing though. They are
restrictions a task placed on itself, just like no_new_privs which a
user namespace doesn&amp;#39;t touch either. So keep them and their locks.&lt;/p&gt;
&lt;p&gt;Reproducer:&lt;/p&gt;
&lt;p&gt;// SPDX-License-Identifier: GPL-2.0
  /* Lock the exec securebits, then create a user namespace and look at them again. */
  #define _GNU_SOURCE
  #include &amp;lt;sched.h&amp;gt;
  #include &amp;lt;stdio.h&amp;gt;
  #include &amp;lt;sys/prctl.h&amp;gt;&lt;/p&gt;
&lt;p&gt;#define SECBIT_EXEC_RESTRICT_FILE		(1 &amp;lt;&amp;lt; 8)
  #define SECBIT_EXEC_RESTRICT_FILE_LOCKED	(1 &amp;lt;&amp;lt; 9)
  #define SECBIT_EXEC_DENY_INTERACTIVE		(1 &amp;lt;&amp;lt; 10)
  #define SECBIT_EXEC_DENY_INTERACTIVE_LOCKED	(1 &amp;lt;&amp;lt; 11)&lt;/p&gt;
&lt;p&gt;int main(void)
  {…&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;userns: don&amp;#39;t drop the exec securebits&lt;/p&gt;
&lt;p&gt;SECBIT_EXEC_RESTRICT_FILE and SECBIT_EXEC_DENY_INTERACTIVE tell script
interpreters to only run what AT_EXECVE_CHECK allows and to refuse
interactive input. A service manager sets them together with their lock
bits so that nothing below it can turn them off again.&lt;/p&gt;
&lt;p&gt;But set_cred_user_ns() resets all securebits to SECUREBITS_DEFAULT. So
any task that can create a user namespace sheds the locked exec bits
with a single unshare(CLONE_NEWUSER) and joining one with setns() does
the same. The lock is pointless if anyone who may create a user
namespace can drop it, and that is pretty much everyone.&lt;/p&gt;
&lt;p&gt;Resetting the other bits is fine. They are about how capabilities are
computed and a new user namespace starts out with a full set of
capabilities anyway. The exec bits grant nothing though. They are
restrictions a task placed on itself, just like no_new_privs which a
user namespace doesn&amp;#39;t touch either. So keep them and their locks.&lt;/p&gt;
&lt;p&gt;Reproducer:&lt;/p&gt;
&lt;p&gt;// SPDX-License-Identifier: GPL-2.0
  /* Lock the exec securebits, then create a user namespace and look at them again. */
  #define _GNU_SOURCE
  #include &amp;lt;sched.h&amp;gt;
  #include &amp;lt;stdio.h&amp;gt;
  #include &amp;lt;sys/prctl.h&amp;gt;&lt;/p&gt;
&lt;p&gt;#define SECBIT_EXEC_RESTRICT_FILE		(1 &amp;lt;&amp;lt; 8)
  #define SECBIT_EXEC_RESTRICT_FILE_LOCKED	(1 &amp;lt;&amp;lt; 9)
  #define SECBIT_EXEC_DENY_INTERACTIVE		(1 &amp;lt;&amp;lt; 10)
  #define SECBIT_EXEC_DENY_INTERACTIVE_LOCKED	(1 &amp;lt;&amp;lt; 11)&lt;/p&gt;
&lt;p&gt;int main(void)
  {…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99843</guid>
    </item>
  </channel>
</rss>
