<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-29T23:48:31.079099+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2025-38723</id>
    <title>CVE-2025-38723 — LoongArch: BPF: Fix jump offset calculation in tailcall</title>
    <updated>2026-09-29T23:48:31.080722+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux, Siemens SIMATIC CN 4100</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>LoongArch: BPF: Fix jump offset calculation in tailcall</p>
<p>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</p>
<p>"#define jmp_offset (out_offset - (cur_offset))"</p>
<p>is a negative number, which is wrong. The final generated assembly are
as follow.</p>
<p>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</p>
<p>Before apply this patch, the follow test case will reveal soft lock issues.</p>
<p>cd tools/testing/selftests/bpf/
./test_progs --allow=tailcalls/tailcall_bpf2bpf_1</p>
<p>dmesg:
watchdog: BUG: soft lockup - CPU#2 stuck for 26s! [test_progs:25056]</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2025-38723"/>
  </entry>
</feed>
