<?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:27:36 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139337 — ima: reject a kexec buffer whose declared size exceeds the buffer</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139337</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;ima: reject a kexec buffer whose declared size exceeds the buffer&lt;/p&gt;
&lt;p&gt;ima_restore_measurement_list() parses the measurement list persisted across
kexec.  It computes the parse end directly from the blob:&lt;/p&gt;
&lt;p&gt;bufendp = buf + khdr-&amp;gt;buffer_size;&lt;/p&gt;
&lt;p&gt;khdr-&amp;gt;buffer_size is a u64 read straight from the persisted buffer.  The
only length checks in the function are size &amp;gt;= sizeof(*khdr), version == 1
and count -- none relates buffer_size to size, the actual buffer size the
caller (ima_load_kexec_buffer()) obtained from the ima-kexec-buffer region.
ima_parse_buf() bounds every field read to bufendp, so a blob whose
internal buffer_size exceeds the real size makes the parse loop read past
the end of the buffer (CWE-125).&lt;/p&gt;
&lt;p&gt;The buffer&amp;#39;s memory range is validated against addressable RAM by
commit cbf9c4b9617b (&amp;#34;of: check previous kernel&amp;#39;s ima-kexec-buffer
against memory bounds&amp;#34;) and commit c5489d04337b (&amp;#34;x86/kexec: add a
sanity check on previous kernel&amp;#39;s ima kexec buffer&amp;#34;), but the blob&amp;#39;s
own declared size is never clamped to it.  Reject a buffer_size larger
than size before the loop.&lt;/p&gt;
&lt;p&gt;This is on the boot-time kexec-restore path (__init) and the buffer comes
from the previous kernel, so triggering it requires control of the
persisted buffer; it is an out-of-bounds read only.&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;ima: reject a kexec buffer whose declared size exceeds the buffer&lt;/p&gt;
&lt;p&gt;ima_restore_measurement_list() parses the measurement list persisted across
kexec.  It computes the parse end directly from the blob:&lt;/p&gt;
&lt;p&gt;bufendp = buf + khdr-&amp;gt;buffer_size;&lt;/p&gt;
&lt;p&gt;khdr-&amp;gt;buffer_size is a u64 read straight from the persisted buffer.  The
only length checks in the function are size &amp;gt;= sizeof(*khdr), version == 1
and count -- none relates buffer_size to size, the actual buffer size the
caller (ima_load_kexec_buffer()) obtained from the ima-kexec-buffer region.
ima_parse_buf() bounds every field read to bufendp, so a blob whose
internal buffer_size exceeds the real size makes the parse loop read past
the end of the buffer (CWE-125).&lt;/p&gt;
&lt;p&gt;The buffer&amp;#39;s memory range is validated against addressable RAM by
commit cbf9c4b9617b (&amp;#34;of: check previous kernel&amp;#39;s ima-kexec-buffer
against memory bounds&amp;#34;) and commit c5489d04337b (&amp;#34;x86/kexec: add a
sanity check on previous kernel&amp;#39;s ima kexec buffer&amp;#34;), but the blob&amp;#39;s
own declared size is never clamped to it.  Reject a buffer_size larger
than size before the loop.&lt;/p&gt;
&lt;p&gt;This is on the boot-time kexec-restore path (__init) and the buffer comes
from the previous kernel, so triggering it requires control of the
persisted buffer; it is an out-of-bounds read only.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139337</guid>
    </item>
  </channel>
</rss>
