<?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>Wed, 07 Oct 2026 20:29:49 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-47794 — bpf: Prevent tailcall infinite loop caused by freplace</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2024-47794</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: Prevent tailcall infinite loop caused by freplace&lt;/p&gt;
&lt;p&gt;There is a potential infinite loop issue that can occur when using a
combination of tail calls and freplace.&lt;/p&gt;
&lt;p&gt;In an upcoming selftest, the attach target for entry_freplace of
tailcall_freplace.c is subprog_tc of tc_bpf2bpf.c, while the tail call in
entry_freplace leads to entry_tc. This results in an infinite loop:&lt;/p&gt;
&lt;p&gt;entry_tc -&amp;gt; subprog_tc -&amp;gt; entry_freplace --tailcall-&amp;gt; entry_tc.&lt;/p&gt;
&lt;p&gt;The problem arises because the tail_call_cnt in entry_freplace resets to
zero each time entry_freplace is executed, causing the tail call mechanism
to never terminate, eventually leading to a kernel panic.&lt;/p&gt;
&lt;p&gt;To fix this issue, the solution is twofold:&lt;/p&gt;
&lt;p&gt;1. Prevent updating a program extended by an freplace program to a
   prog_array map.
2. Prevent extending a program that is already part of a prog_array map
   with an freplace program.&lt;/p&gt;
&lt;p&gt;This ensures that:&lt;/p&gt;
&lt;p&gt;* If a program or its subprogram has been extended by an freplace program,
  it can no longer be updated to a prog_array map.
* If a program has been added to a prog_array map, neither it nor its
  subprograms can be extended by an freplace program.&lt;/p&gt;
&lt;p&gt;Moreover, an extension program should not be tailcalled. As such, return
-EINVAL if the program has a type of BPF_PROG_TYPE_EXT when adding it to a
prog_array map.&lt;/p&gt;
&lt;p&gt;Additionally, fix a minor code style issue by replacing eight spaces with a
tab for proper formatting.&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: Prevent tailcall infinite loop caused by freplace&lt;/p&gt;
&lt;p&gt;There is a potential infinite loop issue that can occur when using a
combination of tail calls and freplace.&lt;/p&gt;
&lt;p&gt;In an upcoming selftest, the attach target for entry_freplace of
tailcall_freplace.c is subprog_tc of tc_bpf2bpf.c, while the tail call in
entry_freplace leads to entry_tc. This results in an infinite loop:&lt;/p&gt;
&lt;p&gt;entry_tc -&amp;gt; subprog_tc -&amp;gt; entry_freplace --tailcall-&amp;gt; entry_tc.&lt;/p&gt;
&lt;p&gt;The problem arises because the tail_call_cnt in entry_freplace resets to
zero each time entry_freplace is executed, causing the tail call mechanism
to never terminate, eventually leading to a kernel panic.&lt;/p&gt;
&lt;p&gt;To fix this issue, the solution is twofold:&lt;/p&gt;
&lt;p&gt;1. Prevent updating a program extended by an freplace program to a
   prog_array map.
2. Prevent extending a program that is already part of a prog_array map
   with an freplace program.&lt;/p&gt;
&lt;p&gt;This ensures that:&lt;/p&gt;
&lt;p&gt;* If a program or its subprogram has been extended by an freplace program,
  it can no longer be updated to a prog_array map.
* If a program has been added to a prog_array map, neither it nor its
  subprograms can be extended by an freplace program.&lt;/p&gt;
&lt;p&gt;Moreover, an extension program should not be tailcalled. As such, return
-EINVAL if the program has a type of BPF_PROG_TYPE_EXT when adding it to a
prog_array map.&lt;/p&gt;
&lt;p&gt;Additionally, fix a minor code style issue by replacing eight spaces with a
tab for proper formatting.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2024-47794</guid>
    </item>
  </channel>
</rss>
