<?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 03:11:34 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-49850 — bpf: correctly handle malformed BPF_CORE_TYPE_ID_LOCAL relos</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-49850</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: correctly handle malformed BPF_CORE_TYPE_ID_LOCAL relos&lt;/p&gt;
&lt;p&gt;In case of malformed relocation record of kind BPF_CORE_TYPE_ID_LOCAL
referencing a non-existing BTF type, function bpf_core_calc_relo_insn
would cause a null pointer deference.&lt;/p&gt;
&lt;p&gt;Fix this by adding a proper check upper in call stack, as malformed
relocation records could be passed from user space.&lt;/p&gt;
&lt;p&gt;Simplest reproducer is a program:&lt;/p&gt;
&lt;p&gt;r0 = 0
    exit&lt;/p&gt;
&lt;p&gt;With a single relocation record:&lt;/p&gt;
&lt;p&gt;.insn_off = 0,          /* patch first instruction */
    .type_id = 100500,      /* this type id does not exist */
    .access_str_off = 6,    /* offset of string &amp;#34;0&amp;#34; */
    .kind = BPF_CORE_TYPE_ID_LOCAL,&lt;/p&gt;
&lt;p&gt;See the link for original reproducer or next commit for a test case.&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: correctly handle malformed BPF_CORE_TYPE_ID_LOCAL relos&lt;/p&gt;
&lt;p&gt;In case of malformed relocation record of kind BPF_CORE_TYPE_ID_LOCAL
referencing a non-existing BTF type, function bpf_core_calc_relo_insn
would cause a null pointer deference.&lt;/p&gt;
&lt;p&gt;Fix this by adding a proper check upper in call stack, as malformed
relocation records could be passed from user space.&lt;/p&gt;
&lt;p&gt;Simplest reproducer is a program:&lt;/p&gt;
&lt;p&gt;r0 = 0
    exit&lt;/p&gt;
&lt;p&gt;With a single relocation record:&lt;/p&gt;
&lt;p&gt;.insn_off = 0,          /* patch first instruction */
    .type_id = 100500,      /* this type id does not exist */
    .access_str_off = 6,    /* offset of string &amp;#34;0&amp;#34; */
    .kind = BPF_CORE_TYPE_ID_LOCAL,&lt;/p&gt;
&lt;p&gt;See the link for original reproducer or next commit for a test case.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-49850</guid>
    </item>
  </channel>
</rss>
