<?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>Tue, 29 Sep 2026 14:42:16 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98063 — bpf: Fix NULL-ptr-deref in btf_var_show()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-98063</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: Fix NULL-ptr-deref in btf_var_show()&lt;/p&gt;
&lt;p&gt;btf_var_show() calls btf_type_id_resolve() unconditionally, which
dereferences btf-&amp;gt;resolved_ids. That is NULL for a base BTF - e.g. the
vmlinux BTF that bpf_snprintf_btf() renders against - since base BTF is
not resolved during parsing. btf_modifier_show() guards this with
&amp;#39;if (btf-&amp;gt;resolved_ids)&amp;#39;, but btf_var_show() does not.&lt;/p&gt;
&lt;p&gt;A BPF program that passes the type_id of a BTF_KIND_VAR from the vmlinux
BTF to bpf_snprintf_btf() thus NULL-derefs:&lt;/p&gt;
&lt;p&gt;KASAN: probably user-memory-access in range [0x46638-0x4663f]
RIP: 0010:btf_var_show (kernel/bpf/btf.c:2929)
Call Trace:
 &amp;lt;TASK&amp;gt;
 btf_type_show (kernel/bpf/btf.c:8259)
 btf_type_snprintf_show (kernel/bpf/btf.c:8329)
 bpf_snprintf_btf (kernel/trace/bpf_trace.c:1047)
 bpf_prog_test_run_raw_tp (net/bpf/test_run.c:829)
 __sys_bpf (kernel/bpf/syscall.c:4804)
 do_syscall_64 (arch/x86/entry/syscall_64.c:84)
 entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)
 &amp;lt;/TASK&amp;gt;&lt;/p&gt;
&lt;p&gt;Resolve the var&amp;#39;s type directly with btf_type_skip_modifiers() when
resolved_ids is NULL, mirroring btf_modifier_show().&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: Fix NULL-ptr-deref in btf_var_show()&lt;/p&gt;
&lt;p&gt;btf_var_show() calls btf_type_id_resolve() unconditionally, which
dereferences btf-&amp;gt;resolved_ids. That is NULL for a base BTF - e.g. the
vmlinux BTF that bpf_snprintf_btf() renders against - since base BTF is
not resolved during parsing. btf_modifier_show() guards this with
&amp;#39;if (btf-&amp;gt;resolved_ids)&amp;#39;, but btf_var_show() does not.&lt;/p&gt;
&lt;p&gt;A BPF program that passes the type_id of a BTF_KIND_VAR from the vmlinux
BTF to bpf_snprintf_btf() thus NULL-derefs:&lt;/p&gt;
&lt;p&gt;KASAN: probably user-memory-access in range [0x46638-0x4663f]
RIP: 0010:btf_var_show (kernel/bpf/btf.c:2929)
Call Trace:
 &amp;lt;TASK&amp;gt;
 btf_type_show (kernel/bpf/btf.c:8259)
 btf_type_snprintf_show (kernel/bpf/btf.c:8329)
 bpf_snprintf_btf (kernel/trace/bpf_trace.c:1047)
 bpf_prog_test_run_raw_tp (net/bpf/test_run.c:829)
 __sys_bpf (kernel/bpf/syscall.c:4804)
 do_syscall_64 (arch/x86/entry/syscall_64.c:84)
 entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)
 &amp;lt;/TASK&amp;gt;&lt;/p&gt;
&lt;p&gt;Resolve the var&amp;#39;s type directly with btf_type_skip_modifiers() when
resolved_ids is NULL, mirroring btf_modifier_show().&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-98063</guid>
    </item>
  </channel>
</rss>
