<?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:16:25 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-142893 — bpf: Fix out-of-bounds btf-&gt;types write for split BTF</title>
      <link>https://db.gcve.eu/vuln/cve-2026-142893</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 out-of-bounds btf-&amp;gt;types write for split BTF&lt;/p&gt;
&lt;p&gt;btf_add_type() stores the types of a BTF in btf-&amp;gt;types[], which can hold at
most BTF_MAX_TYPE entries.  The types of a split BTF get IDs start_id ..
start_id + nr_types - 1, so only BTF_MAX_TYPE - start_id of them fit, but
neither the limit check nor the size used to grow the array accounts for
start_id: the check is an equality test against BTF_MAX_TYPE
(&amp;#39;start_id + btf-&amp;gt;types_size == BTF_MAX_TYPE&amp;#39;) and the new size is clamped
to BTF_MAX_TYPE.&lt;/p&gt;
&lt;p&gt;The check therefore only fires if the array happens to grow to exactly
BTF_MAX_TYPE - start_id entries.  Otherwise, if the module has more than
BTF_MAX_TYPE types, the array is filled up to BTF_MAX_TYPE entries.  The
next type that needs to be added reallocates the array to the same size,
after which btf-&amp;gt;types_size no longer equals btf-&amp;gt;nr_types and the growth
path is not taken anymore, so every following type is written past the end
of the array:&lt;/p&gt;
&lt;p&gt;BUG: unable to handle page fault for address: ffffc90006200000
  RIP: 0010:btf_add_type+0x74/0x270
  Call Trace:
   btf_check_all_metas
   btf_parse_module&lt;/p&gt;
&lt;p&gt;Bound both the array size and the limit check by BTF_MAX_TYPE - start_id.
Base BTF (start_id == 0) is unaffected.&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 out-of-bounds btf-&amp;gt;types write for split BTF&lt;/p&gt;
&lt;p&gt;btf_add_type() stores the types of a BTF in btf-&amp;gt;types[], which can hold at
most BTF_MAX_TYPE entries.  The types of a split BTF get IDs start_id ..
start_id + nr_types - 1, so only BTF_MAX_TYPE - start_id of them fit, but
neither the limit check nor the size used to grow the array accounts for
start_id: the check is an equality test against BTF_MAX_TYPE
(&amp;#39;start_id + btf-&amp;gt;types_size == BTF_MAX_TYPE&amp;#39;) and the new size is clamped
to BTF_MAX_TYPE.&lt;/p&gt;
&lt;p&gt;The check therefore only fires if the array happens to grow to exactly
BTF_MAX_TYPE - start_id entries.  Otherwise, if the module has more than
BTF_MAX_TYPE types, the array is filled up to BTF_MAX_TYPE entries.  The
next type that needs to be added reallocates the array to the same size,
after which btf-&amp;gt;types_size no longer equals btf-&amp;gt;nr_types and the growth
path is not taken anymore, so every following type is written past the end
of the array:&lt;/p&gt;
&lt;p&gt;BUG: unable to handle page fault for address: ffffc90006200000
  RIP: 0010:btf_add_type+0x74/0x270
  Call Trace:
   btf_check_all_metas
   btf_parse_module&lt;/p&gt;
&lt;p&gt;Bound both the array size and the limit check by BTF_MAX_TYPE - start_id.
Base BTF (start_id == 0) is unaffected.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-142893</guid>
    </item>
  </channel>
</rss>
