<?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>Fri, 04 Dec 2026 18:43:08 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139623 — bpf: Adjust pc-relative insn copied into its own patch</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139623</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: Adjust pc-relative insn copied into its own patch&lt;/p&gt;
&lt;p&gt;bpf_do_misc_fixups() inits may_goto count by patching the first insn
of a subprog with [ST, ST, first insn]. bpf_convert_ctx_accesses()
patches insn that needs a barrier with [nospec, insn].
bpf_adj_branches() doesn&amp;#39;t adjust insns inside the patch, so when
the copy is a call, ld_imm64 of a func or a jump that points backward
its target is off by the number of insns in front of it:&lt;/p&gt;
&lt;p&gt;static int A(void)  { return 1; }
  static int A2(void) { return 2; }
  static int B(void)
  {
          int i, ret = A();&lt;/p&gt;
&lt;p&gt;for (i = 0; i &amp;lt; 10 &amp;amp;&amp;amp; can_loop; i++)
                  ...
          return ret;
  }&lt;/p&gt;
&lt;p&gt;When A is placed in front of B and may_goto is timed &amp;#39;call A&amp;#39; becomes
call of A + 2. B returns 2 when A + 2 is the start of A2. Otherwise
the prog is rejected with &amp;#34;verifier bug: No program to jit at insn&amp;#34;.&lt;/p&gt;
&lt;p&gt;Add bpf_adj_moved_insn() and use it for both copies.&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: Adjust pc-relative insn copied into its own patch&lt;/p&gt;
&lt;p&gt;bpf_do_misc_fixups() inits may_goto count by patching the first insn
of a subprog with [ST, ST, first insn]. bpf_convert_ctx_accesses()
patches insn that needs a barrier with [nospec, insn].
bpf_adj_branches() doesn&amp;#39;t adjust insns inside the patch, so when
the copy is a call, ld_imm64 of a func or a jump that points backward
its target is off by the number of insns in front of it:&lt;/p&gt;
&lt;p&gt;static int A(void)  { return 1; }
  static int A2(void) { return 2; }
  static int B(void)
  {
          int i, ret = A();&lt;/p&gt;
&lt;p&gt;for (i = 0; i &amp;lt; 10 &amp;amp;&amp;amp; can_loop; i++)
                  ...
          return ret;
  }&lt;/p&gt;
&lt;p&gt;When A is placed in front of B and may_goto is timed &amp;#39;call A&amp;#39; becomes
call of A + 2. B returns 2 when A + 2 is the start of A2. Otherwise
the prog is rejected with &amp;#34;verifier bug: No program to jit at insn&amp;#34;.&lt;/p&gt;
&lt;p&gt;Add bpf_adj_moved_insn() and use it for both copies.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139623</guid>
    </item>
  </channel>
</rss>
