<?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://vulnerability.circl.lu</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>Tue, 29 Sep 2026 13:47:15 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-68186 — binfmt_misc: set have_execfd only once the interpreter is opened</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-68186</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;binfmt_misc: set have_execfd only once the interpreter is opened&lt;/p&gt;
&lt;p&gt;load_misc_binary() raises bprm-&amp;gt;have_execfd as soon as it sees the &amp;#39;O&amp;#39;
(or &amp;#39;C&amp;#39;) flag. This happens well before it opens the interpreter. If
that open fails the flag stays set on the bprm. binfmt_misc is at the
head of the format list so an interpreter open failure that returns
-ENOEXEC lets the search fall through to a later format. This means it
runs the matched binary directly having never staged an interpreter. So
bprm-&amp;gt;executable is NULL while have_execfd falsely claims a descriptor
is present.&lt;/p&gt;
&lt;p&gt;Consequently, begin_new_exec() dereferences the missing executable:&lt;/p&gt;
&lt;p&gt;would_dump(bprm, bprm-&amp;gt;executable);&lt;/p&gt;
&lt;p&gt;and NULL derefs. Had it not, the hand-off later in the same function
would have failed anyway. FD_ADD(0, bprm-&amp;gt;executable) rejects a NULL
file with -ENOMEM. Both sites are past the point of no return so the
exec cannot be unwound either way.&lt;/p&gt;
&lt;p&gt;This can be reached by unprivileged users as binfmt_misc can be mounted
in user namespaces. So a user can register an &amp;#39;O&amp;#39; entry whose
interpreter lives on a FUSE mount, have the FUSE server fail the open
with -ENOEXEC and execute a native ELF file that matches the entry.&lt;/p&gt;
&lt;p&gt;have_execfd only means anything alongside the executable it describes
which is not set until the interpreter has been opened and staged.
So lets raise it there, next to execfd_creds, which is already set at
that point. An open failure…&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;binfmt_misc: set have_execfd only once the interpreter is opened&lt;/p&gt;
&lt;p&gt;load_misc_binary() raises bprm-&amp;gt;have_execfd as soon as it sees the &amp;#39;O&amp;#39;
(or &amp;#39;C&amp;#39;) flag. This happens well before it opens the interpreter. If
that open fails the flag stays set on the bprm. binfmt_misc is at the
head of the format list so an interpreter open failure that returns
-ENOEXEC lets the search fall through to a later format. This means it
runs the matched binary directly having never staged an interpreter. So
bprm-&amp;gt;executable is NULL while have_execfd falsely claims a descriptor
is present.&lt;/p&gt;
&lt;p&gt;Consequently, begin_new_exec() dereferences the missing executable:&lt;/p&gt;
&lt;p&gt;would_dump(bprm, bprm-&amp;gt;executable);&lt;/p&gt;
&lt;p&gt;and NULL derefs. Had it not, the hand-off later in the same function
would have failed anyway. FD_ADD(0, bprm-&amp;gt;executable) rejects a NULL
file with -ENOMEM. Both sites are past the point of no return so the
exec cannot be unwound either way.&lt;/p&gt;
&lt;p&gt;This can be reached by unprivileged users as binfmt_misc can be mounted
in user namespaces. So a user can register an &amp;#39;O&amp;#39; entry whose
interpreter lives on a FUSE mount, have the FUSE server fail the open
with -ENOEXEC and execute a native ELF file that matches the entry.&lt;/p&gt;
&lt;p&gt;have_execfd only means anything alongside the executable it describes
which is not set until the interpreter has been opened and staged.
So lets raise it there, next to execfd_creds, which is already set at
that point. An open failure…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-68186</guid>
    </item>
  </channel>
</rss>
