<?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>Mon, 28 Sep 2026 08:56:15 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-54247 — bpf: Silence a warning in btf_type_id_size()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-54247</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: Silence a warning in btf_type_id_size()&lt;/p&gt;
&lt;p&gt;syzbot reported a warning in [1] with the following stacktrace:
  WARNING: CPU: 0 PID: 5005 at kernel/bpf/btf.c:1988 btf_type_id_size+0x2d9/0x9d0 kernel/bpf/btf.c:1988
  ...
  RIP: 0010:btf_type_id_size+0x2d9/0x9d0 kernel/bpf/btf.c:1988
  ...
  Call Trace:
   &amp;lt;TASK&amp;gt;
   map_check_btf kernel/bpf/syscall.c:1024 [inline]
   map_create+0x1157/0x1860 kernel/bpf/syscall.c:1198
   __sys_bpf+0x127f/0x5420 kernel/bpf/syscall.c:5040
   __do_sys_bpf kernel/bpf/syscall.c:5162 [inline]
   __se_sys_bpf kernel/bpf/syscall.c:5160 [inline]
   __x64_sys_bpf+0x79/0xc0 kernel/bpf/syscall.c:5160
   do_syscall_x64 arch/x86/entry/common.c:50 [inline]
   do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
   entry_SYSCALL_64_after_hwframe+0x63/0xcd&lt;/p&gt;
&lt;p&gt;With the following btf
  [1] DECL_TAG &amp;#39;a&amp;#39; type_id=4 component_idx=-1
  [2] PTR &amp;#39;(anon)&amp;#39; type_id=0
  [3] TYPE_TAG &amp;#39;a&amp;#39; type_id=2
  [4] VAR &amp;#39;a&amp;#39; type_id=3, linkage=static
and when the bpf_attr.btf_key_type_id = 1 (DECL_TAG),
the following WARN_ON_ONCE in btf_type_id_size() is triggered:
  if (WARN_ON_ONCE(!btf_type_is_modifier(size_type) &amp;amp;&amp;amp;
                   !btf_type_is_var(size_type)))
          return NULL;&lt;/p&gt;
&lt;p&gt;Note that &amp;#39;return NULL&amp;#39; is the correct behavior as we don&amp;#39;t want
a DECL_TAG type to be used as a btf_{key,value}_type_id even
for the case like &amp;#39;DECL_TAG -&amp;gt; STRUCT&amp;#39;. So there
is no correctness issue here, we just want to silence warning.…&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: Silence a warning in btf_type_id_size()&lt;/p&gt;
&lt;p&gt;syzbot reported a warning in [1] with the following stacktrace:
  WARNING: CPU: 0 PID: 5005 at kernel/bpf/btf.c:1988 btf_type_id_size+0x2d9/0x9d0 kernel/bpf/btf.c:1988
  ...
  RIP: 0010:btf_type_id_size+0x2d9/0x9d0 kernel/bpf/btf.c:1988
  ...
  Call Trace:
   &amp;lt;TASK&amp;gt;
   map_check_btf kernel/bpf/syscall.c:1024 [inline]
   map_create+0x1157/0x1860 kernel/bpf/syscall.c:1198
   __sys_bpf+0x127f/0x5420 kernel/bpf/syscall.c:5040
   __do_sys_bpf kernel/bpf/syscall.c:5162 [inline]
   __se_sys_bpf kernel/bpf/syscall.c:5160 [inline]
   __x64_sys_bpf+0x79/0xc0 kernel/bpf/syscall.c:5160
   do_syscall_x64 arch/x86/entry/common.c:50 [inline]
   do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
   entry_SYSCALL_64_after_hwframe+0x63/0xcd&lt;/p&gt;
&lt;p&gt;With the following btf
  [1] DECL_TAG &amp;#39;a&amp;#39; type_id=4 component_idx=-1
  [2] PTR &amp;#39;(anon)&amp;#39; type_id=0
  [3] TYPE_TAG &amp;#39;a&amp;#39; type_id=2
  [4] VAR &amp;#39;a&amp;#39; type_id=3, linkage=static
and when the bpf_attr.btf_key_type_id = 1 (DECL_TAG),
the following WARN_ON_ONCE in btf_type_id_size() is triggered:
  if (WARN_ON_ONCE(!btf_type_is_modifier(size_type) &amp;amp;&amp;amp;
                   !btf_type_is_var(size_type)))
          return NULL;&lt;/p&gt;
&lt;p&gt;Note that &amp;#39;return NULL&amp;#39; is the correct behavior as we don&amp;#39;t want
a DECL_TAG type to be used as a btf_{key,value}_type_id even
for the case like &amp;#39;DECL_TAG -&amp;gt; STRUCT&amp;#39;. So there
is no correctness issue here, we just want to silence warning.…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-54247</guid>
    </item>
  </channel>
</rss>
