<?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:54:02 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139205 — bpf: Propagate btf_add_type() errors in btf_check_all_metas()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139205</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: Propagate btf_add_type() errors in btf_check_all_metas()&lt;/p&gt;
&lt;p&gt;btf_check_all_metas() ignores the return value of btf_add_type(), so a
type that could not be registered is silently dropped while the loop
keeps walking over the type section.&lt;/p&gt;
&lt;p&gt;Both failure modes are reachable:&lt;/p&gt;
&lt;p&gt;- -E2BIG.  Once the types array reaches its capacity (BTF_MAX_TYPE),
    every following btf_add_type() fails the same way, so
    btf_check_all_metas() still returns 0 and the BTF object is created
    with btf-&amp;gt;nr_types capped while hdr-&amp;gt;type_len claims more records.&lt;/p&gt;
&lt;p&gt;- -ENOMEM.  btf-&amp;gt;nr_types is not incremented and the array is not
    grown, so the next type is recorded at the slot of the dropped one
    and btf-&amp;gt;types[] stays off by one with respect to the type ids for
    all remaining types.  btf_type_by_id() then returns the wrong type
    for those ids for the whole lifetime of the object, and the last
    type is silently left unresolved.&lt;/p&gt;
&lt;p&gt;Propagate the error so that the object is rejected instead.&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: Propagate btf_add_type() errors in btf_check_all_metas()&lt;/p&gt;
&lt;p&gt;btf_check_all_metas() ignores the return value of btf_add_type(), so a
type that could not be registered is silently dropped while the loop
keeps walking over the type section.&lt;/p&gt;
&lt;p&gt;Both failure modes are reachable:&lt;/p&gt;
&lt;p&gt;- -E2BIG.  Once the types array reaches its capacity (BTF_MAX_TYPE),
    every following btf_add_type() fails the same way, so
    btf_check_all_metas() still returns 0 and the BTF object is created
    with btf-&amp;gt;nr_types capped while hdr-&amp;gt;type_len claims more records.&lt;/p&gt;
&lt;p&gt;- -ENOMEM.  btf-&amp;gt;nr_types is not incremented and the array is not
    grown, so the next type is recorded at the slot of the dropped one
    and btf-&amp;gt;types[] stays off by one with respect to the type ids for
    all remaining types.  btf_type_by_id() then returns the wrong type
    for those ids for the whole lifetime of the object, and the last
    type is silently left unresolved.&lt;/p&gt;
&lt;p&gt;Propagate the error so that the object is rejected instead.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139205</guid>
    </item>
  </channel>
</rss>
