<?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 16:39:52 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-39748 — bpf: Forget ranges when refining tnum after JSET</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-39748</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;bpf: Forget ranges when refining tnum after JSET&lt;/p&gt;
&lt;p&gt;Syzbot reported a kernel warning due to a range invariant violation on
the following BPF program.&lt;/p&gt;
&lt;p&gt;0: call bpf_get_netns_cookie
  1: if r0 == 0 goto &amp;lt;exit&amp;gt;
  2: if r0 &amp;amp; Oxffffffff goto &amp;lt;exit&amp;gt;&lt;/p&gt;
&lt;p&gt;The issue is on the path where we fall through both jumps.&lt;/p&gt;
&lt;p&gt;That path is unreachable at runtime: after insn 1, we know r0 != 0, but
with the sign extension on the jset, we would only fallthrough insn 2
if r0 == 0. Unfortunately, is_branch_taken() isn&amp;#39;t currently able to
figure this out, so the verifier walks all branches. The verifier then
refines the register bounds using the second condition and we end
up with inconsistent bounds on this unreachable path:&lt;/p&gt;
&lt;p&gt;1: if r0 == 0 goto &amp;lt;exit&amp;gt;
    r0: u64=[0x1, 0xffffffffffffffff] var_off=(0, 0xffffffffffffffff)
  2: if r0 &amp;amp; 0xffffffff goto &amp;lt;exit&amp;gt;
    r0 before reg_bounds_sync: u64=[0x1, 0xffffffffffffffff] var_off=(0, 0)
    r0 after reg_bounds_sync:  u64=[0x1, 0] var_off=(0, 0)&lt;/p&gt;
&lt;p&gt;Improving the range refinement for JSET to cover all cases is tricky. We
also don&amp;#39;t expect many users to rely on JSET given LLVM doesn&amp;#39;t generate
those instructions. So instead of improving the range refinement for
JSETs, Eduard suggested we forget the ranges whenever we&amp;#39;re narrowing
tnums after a JSET. This patch implements that approach.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;bpf: Forget ranges when refining tnum after JSET&lt;/p&gt;
&lt;p&gt;Syzbot reported a kernel warning due to a range invariant violation on
the following BPF program.&lt;/p&gt;
&lt;p&gt;0: call bpf_get_netns_cookie
  1: if r0 == 0 goto &amp;lt;exit&amp;gt;
  2: if r0 &amp;amp; Oxffffffff goto &amp;lt;exit&amp;gt;&lt;/p&gt;
&lt;p&gt;The issue is on the path where we fall through both jumps.&lt;/p&gt;
&lt;p&gt;That path is unreachable at runtime: after insn 1, we know r0 != 0, but
with the sign extension on the jset, we would only fallthrough insn 2
if r0 == 0. Unfortunately, is_branch_taken() isn&amp;#39;t currently able to
figure this out, so the verifier walks all branches. The verifier then
refines the register bounds using the second condition and we end
up with inconsistent bounds on this unreachable path:&lt;/p&gt;
&lt;p&gt;1: if r0 == 0 goto &amp;lt;exit&amp;gt;
    r0: u64=[0x1, 0xffffffffffffffff] var_off=(0, 0xffffffffffffffff)
  2: if r0 &amp;amp; 0xffffffff goto &amp;lt;exit&amp;gt;
    r0 before reg_bounds_sync: u64=[0x1, 0xffffffffffffffff] var_off=(0, 0)
    r0 after reg_bounds_sync:  u64=[0x1, 0] var_off=(0, 0)&lt;/p&gt;
&lt;p&gt;Improving the range refinement for JSET to cover all cases is tricky. We
also don&amp;#39;t expect many users to rely on JSET given LLVM doesn&amp;#39;t generate
those instructions. So instead of improving the range refinement for
JSETs, Eduard suggested we forget the ranges whenever we&amp;#39;re narrowing
tnums after a JSET. This patch implements that approach.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-39748</guid>
    </item>
  </channel>
</rss>
