<?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>Tue, 29 Sep 2026 23:47:20 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-38723 — LoongArch: BPF: Fix jump offset calculation in tailcall</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-38723</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC CN 4100&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;LoongArch: BPF: Fix jump offset calculation in tailcall&lt;/p&gt;
&lt;p&gt;The extra pass of bpf_int_jit_compile() skips JIT context initialization
which essentially skips offset calculation leaving out_offset = -1, so
the jmp_offset in emit_bpf_tail_call is calculated by&lt;/p&gt;
&lt;p&gt;&amp;#34;#define jmp_offset (out_offset - (cur_offset))&amp;#34;&lt;/p&gt;
&lt;p&gt;is a negative number, which is wrong. The final generated assembly are
as follow.&lt;/p&gt;
&lt;p&gt;54:	bgeu        	$a2, $t1, -8	    # 0x0000004c
58:	addi.d      	$a6, $s5, -1
5c:	bltz        	$a6, -16	    # 0x0000004c
60:	alsl.d      	$t2, $a2, $a1, 0x3
64:	ld.d        	$t2, $t2, 264
68:	beq         	$t2, $zero, -28	    # 0x0000004c&lt;/p&gt;
&lt;p&gt;Before apply this patch, the follow test case will reveal soft lock issues.&lt;/p&gt;
&lt;p&gt;cd tools/testing/selftests/bpf/
./test_progs --allow=tailcalls/tailcall_bpf2bpf_1&lt;/p&gt;
&lt;p&gt;dmesg:
watchdog: BUG: soft lockup - CPU#2 stuck for 26s! [test_progs:25056]&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC CN 4100&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;LoongArch: BPF: Fix jump offset calculation in tailcall&lt;/p&gt;
&lt;p&gt;The extra pass of bpf_int_jit_compile() skips JIT context initialization
which essentially skips offset calculation leaving out_offset = -1, so
the jmp_offset in emit_bpf_tail_call is calculated by&lt;/p&gt;
&lt;p&gt;&amp;#34;#define jmp_offset (out_offset - (cur_offset))&amp;#34;&lt;/p&gt;
&lt;p&gt;is a negative number, which is wrong. The final generated assembly are
as follow.&lt;/p&gt;
&lt;p&gt;54:	bgeu        	$a2, $t1, -8	    # 0x0000004c
58:	addi.d      	$a6, $s5, -1
5c:	bltz        	$a6, -16	    # 0x0000004c
60:	alsl.d      	$t2, $a2, $a1, 0x3
64:	ld.d        	$t2, $t2, 264
68:	beq         	$t2, $zero, -28	    # 0x0000004c&lt;/p&gt;
&lt;p&gt;Before apply this patch, the follow test case will reveal soft lock issues.&lt;/p&gt;
&lt;p&gt;cd tools/testing/selftests/bpf/
./test_progs --allow=tailcalls/tailcall_bpf2bpf_1&lt;/p&gt;
&lt;p&gt;dmesg:
watchdog: BUG: soft lockup - CPU#2 stuck for 26s! [test_progs:25056]&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-38723</guid>
    </item>
  </channel>
</rss>
