<?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 11:59:42 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-89581 — bpf, x86: Fix per-CPU address resolution into an extended register</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-89581</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, x86: Fix per-CPU address resolution into an extended register&lt;/p&gt;
&lt;p&gt;The destination of the per-CPU address MOV is encoded in ModRM.reg,
which is extended by REX.R, but the REX prefix is built with
add_1mod(), which sets REX.B. REX.B extends ModRM.rm and SIB.base, and
this instruction addresses memory as disp32 with no base, so the bit
has no effect at all and the high register bit is simply lost.&lt;/p&gt;
&lt;p&gt;Every is_ereg() destination therefore resolves to the wrong register,
picking whichever one shares the low three bits:&lt;/p&gt;
&lt;p&gt;R5 -&amp;gt; RAX    R7 -&amp;gt; RBP    R8 -&amp;gt; RSI    R9 -&amp;gt; RDI&lt;/p&gt;
&lt;p&gt;With BPF_REG_5, whose reg2hex is 0, the emitted&lt;/p&gt;
&lt;p&gt;65 49 03 04 25 &amp;lt;off&amp;gt;	add %gs:&amp;lt;off&amp;gt;,%rax&lt;/p&gt;
&lt;p&gt;adds the per-CPU offset to RAX rather than R8. The destination keeps
the unadjusted address and RAX is clobbered, so the program goes on to
dereference a pointer that was never made per-CPU:&lt;/p&gt;
&lt;p&gt;BUG: unable to handle page fault for address: 0000607e386a8894
  RIP: bpf_prog_707837aafd2aa9ae_update_percpu_data+0x93/0xc9
  Call Trace:
   __bpf_prog_test_run_raw_tp+0x2dc/0x7d0
   __flush_smp_call_function_queue+0x1e9/0xc80
  Kernel panic - not syncing: Fatal exception in interrupt&lt;/p&gt;
&lt;p&gt;R5 is the mildest of the four, aliasing a scratch register and faulting
at the store. R7 aliases RBP and would corrupt the frame pointer, R8
and R9 alias the argument registers.&lt;/p&gt;
&lt;p&gt;Use add_2mod() so the register goes through REX.R, matching how
add_2reg() places it in ModRM.reg and ho…&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, x86: Fix per-CPU address resolution into an extended register&lt;/p&gt;
&lt;p&gt;The destination of the per-CPU address MOV is encoded in ModRM.reg,
which is extended by REX.R, but the REX prefix is built with
add_1mod(), which sets REX.B. REX.B extends ModRM.rm and SIB.base, and
this instruction addresses memory as disp32 with no base, so the bit
has no effect at all and the high register bit is simply lost.&lt;/p&gt;
&lt;p&gt;Every is_ereg() destination therefore resolves to the wrong register,
picking whichever one shares the low three bits:&lt;/p&gt;
&lt;p&gt;R5 -&amp;gt; RAX    R7 -&amp;gt; RBP    R8 -&amp;gt; RSI    R9 -&amp;gt; RDI&lt;/p&gt;
&lt;p&gt;With BPF_REG_5, whose reg2hex is 0, the emitted&lt;/p&gt;
&lt;p&gt;65 49 03 04 25 &amp;lt;off&amp;gt;	add %gs:&amp;lt;off&amp;gt;,%rax&lt;/p&gt;
&lt;p&gt;adds the per-CPU offset to RAX rather than R8. The destination keeps
the unadjusted address and RAX is clobbered, so the program goes on to
dereference a pointer that was never made per-CPU:&lt;/p&gt;
&lt;p&gt;BUG: unable to handle page fault for address: 0000607e386a8894
  RIP: bpf_prog_707837aafd2aa9ae_update_percpu_data+0x93/0xc9
  Call Trace:
   __bpf_prog_test_run_raw_tp+0x2dc/0x7d0
   __flush_smp_call_function_queue+0x1e9/0xc80
  Kernel panic - not syncing: Fatal exception in interrupt&lt;/p&gt;
&lt;p&gt;R5 is the mildest of the four, aliasing a scratch register and faulting
at the store. R7 aliases RBP and would corrupt the frame pointer, R8
and R9 alias the argument registers.&lt;/p&gt;
&lt;p&gt;Use add_2mod() so the register goes through REX.R, matching how
add_2reg() places it in ModRM.reg and ho…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-89581</guid>
    </item>
  </channel>
</rss>
