<?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>Sun, 04 Oct 2026 13:47:17 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-38060 — bpf: copy_verifier_state() should copy 'loop_entry' field</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-38060</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: copy_verifier_state() should copy &amp;#39;loop_entry&amp;#39; field&lt;/p&gt;
&lt;p&gt;The bpf_verifier_state.loop_entry state should be copied by
copy_verifier_state(). Otherwise, .loop_entry values from unrelated
states would poison env-&amp;gt;cur_state.&lt;/p&gt;
&lt;p&gt;Additionally, env-&amp;gt;stack should not contain any states with
.loop_entry != NULL. The states in env-&amp;gt;stack are yet to be verified,
while .loop_entry is set for states that reached an equivalent state.
This means that env-&amp;gt;cur_state-&amp;gt;loop_entry should always be NULL after
pop_stack().&lt;/p&gt;
&lt;p&gt;See the selftest in the next commit for an example of the program that
is not safe yet is accepted by verifier w/o this fix.&lt;/p&gt;
&lt;p&gt;This change has some verification performance impact for selftests:&lt;/p&gt;
&lt;p&gt;File                                Program                       Insns (A)  Insns (B)  Insns   (DIFF)  States (A)  States (B)  States (DIFF)
----------------------------------  ----------------------------  ---------  ---------  --------------  ----------  ----------  -------------
arena_htab.bpf.o                    arena_htab_llvm                     717        426  -291 (-40.59%)          57          37  -20 (-35.09%)
arena_htab_asm.bpf.o                arena_htab_asm                      597        445  -152 (-25.46%)          47          37  -10 (-21.28%)
arena_list.bpf.o                    arena_list_del                      309        279    -30 (-9.71%)          23          14   -9 (-39.13%)
iters.bpf.o…&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: copy_verifier_state() should copy &amp;#39;loop_entry&amp;#39; field&lt;/p&gt;
&lt;p&gt;The bpf_verifier_state.loop_entry state should be copied by
copy_verifier_state(). Otherwise, .loop_entry values from unrelated
states would poison env-&amp;gt;cur_state.&lt;/p&gt;
&lt;p&gt;Additionally, env-&amp;gt;stack should not contain any states with
.loop_entry != NULL. The states in env-&amp;gt;stack are yet to be verified,
while .loop_entry is set for states that reached an equivalent state.
This means that env-&amp;gt;cur_state-&amp;gt;loop_entry should always be NULL after
pop_stack().&lt;/p&gt;
&lt;p&gt;See the selftest in the next commit for an example of the program that
is not safe yet is accepted by verifier w/o this fix.&lt;/p&gt;
&lt;p&gt;This change has some verification performance impact for selftests:&lt;/p&gt;
&lt;p&gt;File                                Program                       Insns (A)  Insns (B)  Insns   (DIFF)  States (A)  States (B)  States (DIFF)
----------------------------------  ----------------------------  ---------  ---------  --------------  ----------  ----------  -------------
arena_htab.bpf.o                    arena_htab_llvm                     717        426  -291 (-40.59%)          57          37  -20 (-35.09%)
arena_htab_asm.bpf.o                arena_htab_asm                      597        445  -152 (-25.46%)          47          37  -10 (-21.28%)
arena_list.bpf.o                    arena_list_del                      309        279    -30 (-9.71%)          23          14   -9 (-39.13%)
iters.bpf.o…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-38060</guid>
    </item>
  </channel>
</rss>
