<?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://cve.radiocsirt.org</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, 06 Oct 2026 05:35:46 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-49264 — exec: Force single empty string when argv is empty</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2022-49264</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;exec: Force single empty string when argv is empty&lt;/p&gt;
&lt;p&gt;Quoting[1] Ariadne Conill:&lt;/p&gt;
&lt;p&gt;&amp;#34;In several other operating systems, it is a hard requirement that the
second argument to execve(2) be the name of a program, thus prohibiting
a scenario where argc &amp;lt; 1. POSIX 2017 also recommends this behaviour,
but it is not an explicit requirement[2]:&lt;/p&gt;
&lt;p&gt;The argument arg0 should point to a filename string that is
    associated with the process being started by one of the exec
    functions.
...
Interestingly, Michael Kerrisk opened an issue about this in 2008[3],
but there was no consensus to support fixing this issue then.
Hopefully now that CVE-2021-4034 shows practical exploitative use[4]
of this bug in a shellcode, we can reconsider.&lt;/p&gt;
&lt;p&gt;This issue is being tracked in the KSPP issue tracker[5].&amp;#34;&lt;/p&gt;
&lt;p&gt;While the initial code searches[6][7] turned up what appeared to be
mostly corner case tests, trying to that just reject argv == NULL
(or an immediately terminated pointer list) quickly started tripping[8]
existing userspace programs.&lt;/p&gt;
&lt;p&gt;The next best approach is forcing a single empty string into argv and
adjusting argc to match. The number of programs depending on argc == 0
seems a smaller set than those calling execve with a NULL argv.&lt;/p&gt;
&lt;p&gt;Account for the additional stack space in bprm_stack_limits(). Inject an
empty string when argc == 0 (and set argc = 1). Warn about the case so
userspace has some notice about the change:&lt;/p&gt;
&lt;p&gt;pr…&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;exec: Force single empty string when argv is empty&lt;/p&gt;
&lt;p&gt;Quoting[1] Ariadne Conill:&lt;/p&gt;
&lt;p&gt;&amp;#34;In several other operating systems, it is a hard requirement that the
second argument to execve(2) be the name of a program, thus prohibiting
a scenario where argc &amp;lt; 1. POSIX 2017 also recommends this behaviour,
but it is not an explicit requirement[2]:&lt;/p&gt;
&lt;p&gt;The argument arg0 should point to a filename string that is
    associated with the process being started by one of the exec
    functions.
...
Interestingly, Michael Kerrisk opened an issue about this in 2008[3],
but there was no consensus to support fixing this issue then.
Hopefully now that CVE-2021-4034 shows practical exploitative use[4]
of this bug in a shellcode, we can reconsider.&lt;/p&gt;
&lt;p&gt;This issue is being tracked in the KSPP issue tracker[5].&amp;#34;&lt;/p&gt;
&lt;p&gt;While the initial code searches[6][7] turned up what appeared to be
mostly corner case tests, trying to that just reject argv == NULL
(or an immediately terminated pointer list) quickly started tripping[8]
existing userspace programs.&lt;/p&gt;
&lt;p&gt;The next best approach is forcing a single empty string into argv and
adjusting argc to match. The number of programs depending on argc == 0
seems a smaller set than those calling execve with a NULL argv.&lt;/p&gt;
&lt;p&gt;Account for the additional stack space in bprm_stack_limits(). Inject an
empty string when argc == 0 (and set argc = 1). Warn about the case so
userspace has some notice about the change:&lt;/p&gt;
&lt;p&gt;pr…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2022-49264</guid>
    </item>
  </channel>
</rss>
