<?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 19:59:55 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139444 — bpf: Reject BTF ids with the same address in tracing_multi link</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139444</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: Reject BTF ids with the same address in tracing_multi link&lt;/p&gt;
&lt;p&gt;check_dup_ids() rejects equal BTF ids, but different ids can resolve to
the same address. Aliases:&lt;/p&gt;
&lt;p&gt;ffffffff8161b6b0 t __do_sys_munlockall
  ffffffff8161b6b0 T __ia32_sys_munlockall
  ffffffff8161b6b0 T __x64_sys_munlockall&lt;/p&gt;
&lt;p&gt;or several BTF_KIND_FUNC with the same name that vmlinux BTF has when
CONFIG_DEBUG_INFO_BTF_INLINE is set.&lt;/p&gt;
&lt;p&gt;Each id gets its own trampoline and register_fentry_multi() adds them to
data-&amp;gt;reg with the same ip. update_ftrace_direct_add() checks that new
entries are not in direct_functions, but doesn&amp;#39;t compare them with each
other, so the attach succeeds. At detach update_ftrace_direct_del() sees
that &amp;#39;direct&amp;#39; of one of the entries doesn&amp;#39;t match and returns -EINVAL:&lt;/p&gt;
&lt;p&gt;WARNING: kernel/bpf/trampoline.c:1845 at bpf_trampoline_multi_detach+0x24c/0x280
  Call Trace:
   bpf_link_free+0x51/0x110
   bpf_link_release+0x18/0x20
   __fput+0x103/0x2d0
   __x64_sys_close+0x3d/0x80&lt;/p&gt;
&lt;p&gt;The images are freed anyway, while ftrace still calls them:&lt;/p&gt;
&lt;p&gt;Oops: int3: 0000 [#1] SMP NOPTI
  RIP: 0010:0xffffffffc042b201
  Call Trace:
   ? __audit_syscall_exit+0x9/0x100
   ? do_syscall_64+0x5ab/0x5e0
   entry_SYSCALL_64_after_hwframe+0x77/0x7f
  Kernel panic - not syncing: Fatal exception in interrupt&lt;/p&gt;
&lt;p&gt;Return -EINVAL from register_fentry_multi() when ip is already in
data-&amp;gt;reg. When such ids are attached via different links the second
attach already f…&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: Reject BTF ids with the same address in tracing_multi link&lt;/p&gt;
&lt;p&gt;check_dup_ids() rejects equal BTF ids, but different ids can resolve to
the same address. Aliases:&lt;/p&gt;
&lt;p&gt;ffffffff8161b6b0 t __do_sys_munlockall
  ffffffff8161b6b0 T __ia32_sys_munlockall
  ffffffff8161b6b0 T __x64_sys_munlockall&lt;/p&gt;
&lt;p&gt;or several BTF_KIND_FUNC with the same name that vmlinux BTF has when
CONFIG_DEBUG_INFO_BTF_INLINE is set.&lt;/p&gt;
&lt;p&gt;Each id gets its own trampoline and register_fentry_multi() adds them to
data-&amp;gt;reg with the same ip. update_ftrace_direct_add() checks that new
entries are not in direct_functions, but doesn&amp;#39;t compare them with each
other, so the attach succeeds. At detach update_ftrace_direct_del() sees
that &amp;#39;direct&amp;#39; of one of the entries doesn&amp;#39;t match and returns -EINVAL:&lt;/p&gt;
&lt;p&gt;WARNING: kernel/bpf/trampoline.c:1845 at bpf_trampoline_multi_detach+0x24c/0x280
  Call Trace:
   bpf_link_free+0x51/0x110
   bpf_link_release+0x18/0x20
   __fput+0x103/0x2d0
   __x64_sys_close+0x3d/0x80&lt;/p&gt;
&lt;p&gt;The images are freed anyway, while ftrace still calls them:&lt;/p&gt;
&lt;p&gt;Oops: int3: 0000 [#1] SMP NOPTI
  RIP: 0010:0xffffffffc042b201
  Call Trace:
   ? __audit_syscall_exit+0x9/0x100
   ? do_syscall_64+0x5ab/0x5e0
   entry_SYSCALL_64_after_hwframe+0x77/0x7f
  Kernel panic - not syncing: Fatal exception in interrupt&lt;/p&gt;
&lt;p&gt;Return -EINVAL from register_fentry_multi() when ip is already in
data-&amp;gt;reg. When such ids are attached via different links the second
attach already f…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139444</guid>
    </item>
  </channel>
</rss>
