<?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>Wed, 30 Sep 2026 23:34:44 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-45020 — bpf: Fix a kernel verifier crash in stacksafe()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-45020</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;bpf: Fix a kernel verifier crash in stacksafe()&lt;/p&gt;
&lt;p&gt;Daniel Hodges reported a kernel verifier crash when playing with sched-ext.
Further investigation shows that the crash is due to invalid memory access
in stacksafe(). More specifically, it is the following code:&lt;/p&gt;
&lt;p&gt;if (exact != NOT_EXACT &amp;amp;&amp;amp;
        old-&amp;gt;stack[spi].slot_type[i % BPF_REG_SIZE] !=
        cur-&amp;gt;stack[spi].slot_type[i % BPF_REG_SIZE])
            return false;&lt;/p&gt;
&lt;p&gt;The &amp;#39;i&amp;#39; iterates old-&amp;gt;allocated_stack.
If cur-&amp;gt;allocated_stack &amp;lt; old-&amp;gt;allocated_stack the out-of-bound
access will happen.&lt;/p&gt;
&lt;p&gt;To fix the issue add &amp;#39;i &amp;gt;= cur-&amp;gt;allocated_stack&amp;#39; check such that if
the condition is true, stacksafe() should fail. Otherwise,
cur-&amp;gt;stack[spi].slot_type[i % BPF_REG_SIZE] memory access is legal.&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;bpf: Fix a kernel verifier crash in stacksafe()&lt;/p&gt;
&lt;p&gt;Daniel Hodges reported a kernel verifier crash when playing with sched-ext.
Further investigation shows that the crash is due to invalid memory access
in stacksafe(). More specifically, it is the following code:&lt;/p&gt;
&lt;p&gt;if (exact != NOT_EXACT &amp;amp;&amp;amp;
        old-&amp;gt;stack[spi].slot_type[i % BPF_REG_SIZE] !=
        cur-&amp;gt;stack[spi].slot_type[i % BPF_REG_SIZE])
            return false;&lt;/p&gt;
&lt;p&gt;The &amp;#39;i&amp;#39; iterates old-&amp;gt;allocated_stack.
If cur-&amp;gt;allocated_stack &amp;lt; old-&amp;gt;allocated_stack the out-of-bound
access will happen.&lt;/p&gt;
&lt;p&gt;To fix the issue add &amp;#39;i &amp;gt;= cur-&amp;gt;allocated_stack&amp;#39; check such that if
the condition is true, stacksafe() should fail. Otherwise,
cur-&amp;gt;stack[spi].slot_type[i % BPF_REG_SIZE] memory access is legal.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-45020</guid>
    </item>
  </channel>
</rss>
