<?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://db.gcve.eu</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>Sat, 05 Dec 2026 12:44:50 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-143367 — bpf, x86: Fix bpf_throw() in a prog with a private stack</title>
      <link>https://db.gcve.eu/vuln/cve-2026-143367</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 bpf_throw() in a prog with a private stack&lt;/p&gt;
&lt;p&gt;When the main prog has a private stack and the prog calls bpf_throw(), it
returns to the kernel with wrong values in r12, rbx, r13, r14 and r15. The
kernel crashes soon after that, for example:&lt;/p&gt;
&lt;p&gt;BUG: kernel NULL pointer dereference, address: 0000000000000010
  RIP: 0010:__bpf_prog_test_run_raw_tp+0x125/0x380&lt;/p&gt;
&lt;p&gt;The main prog of a prog that can throw saves these five registers at its
entry. bpf_throw() walks the stack to the frame of the main prog and
gives the stack pointer of that frame to the exception callback, which
pops the registers from there. In a function with a private stack r9 is
the frame pointer, and the JIT emits &amp;#39;push r9&amp;#39; in front of every call
and &amp;#39;pop r9&amp;#39; after it. So the stack pointer that bpf_throw() finds is
8 bytes too low:&lt;/p&gt;
&lt;p&gt;r12
  rbx
  r13
  r14
  r15  &amp;lt;- the callback has to pop from here
  r9   &amp;lt;- rsp of the main prog at the call&lt;/p&gt;
&lt;p&gt;r15 gets the address of the private stack and every other register gets
the value of its neighbour.&lt;/p&gt;
&lt;p&gt;This happens in tracepoint, raw_tp, perf_event and tracing progs, except
iterators, and in struct_ops progs that ask for a private stack, when
the main prog has more than 48 bytes of stack. The throw can be in the
main prog or in a subprog.&lt;/p&gt;
&lt;p&gt;aux-&amp;gt;stack_arg_sp_adjust already moves the stack pointer from the
outgoing stack arguments up to the saved registers. Add the 8 bytes of
r9 to it when the main p…&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 bpf_throw() in a prog with a private stack&lt;/p&gt;
&lt;p&gt;When the main prog has a private stack and the prog calls bpf_throw(), it
returns to the kernel with wrong values in r12, rbx, r13, r14 and r15. The
kernel crashes soon after that, for example:&lt;/p&gt;
&lt;p&gt;BUG: kernel NULL pointer dereference, address: 0000000000000010
  RIP: 0010:__bpf_prog_test_run_raw_tp+0x125/0x380&lt;/p&gt;
&lt;p&gt;The main prog of a prog that can throw saves these five registers at its
entry. bpf_throw() walks the stack to the frame of the main prog and
gives the stack pointer of that frame to the exception callback, which
pops the registers from there. In a function with a private stack r9 is
the frame pointer, and the JIT emits &amp;#39;push r9&amp;#39; in front of every call
and &amp;#39;pop r9&amp;#39; after it. So the stack pointer that bpf_throw() finds is
8 bytes too low:&lt;/p&gt;
&lt;p&gt;r12
  rbx
  r13
  r14
  r15  &amp;lt;- the callback has to pop from here
  r9   &amp;lt;- rsp of the main prog at the call&lt;/p&gt;
&lt;p&gt;r15 gets the address of the private stack and every other register gets
the value of its neighbour.&lt;/p&gt;
&lt;p&gt;This happens in tracepoint, raw_tp, perf_event and tracing progs, except
iterators, and in struct_ops progs that ask for a private stack, when
the main prog has more than 48 bytes of stack. The throw can be in the
main prog or in a subprog.&lt;/p&gt;
&lt;p&gt;aux-&amp;gt;stack_arg_sp_adjust already moves the stack pointer from the
outgoing stack arguments up to the saved registers. Add the 8 bytes of
r9 to it when the main p…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-143367</guid>
    </item>
  </channel>
</rss>
