<?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:14 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-138829 — platform/x86: hp-bioscfg: fix 16-byte heap overflow for empty auth token</title>
      <link>https://db.gcve.eu/vuln/cve-2026-138829</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;platform/x86: hp-bioscfg: fix 16-byte heap overflow for empty auth token&lt;/p&gt;
&lt;p&gt;hp_calculate_security_buffer() special-cases an empty authentication
string and returns a fixed 4 bytes (sizeof(u16) * 2). But
hp_populate_security_buffer() does not special-case that same input:
for any authentication string that does not start with BEAM_PREFIX,
including the empty string, it always builds &amp;#34;UTF_PREFIX +
authentication&amp;#34; and converts the result to UTF-16, writing a 2-byte
length header plus 2 bytes per character of &amp;#34;&amp;lt;utf-16/&amp;gt;&amp;#34; (9 characters),
20 bytes total, regardless of how long &amp;#34;authentication&amp;#34; itself is.&lt;/p&gt;
&lt;p&gt;The caller, hp_set_attribute(), sizes its kmalloc() buffer using
hp_calculate_security_buffer()&amp;#39;s return value, so for an empty
authentication token it allocates 4 bytes for the security area but
hp_populate_security_buffer() then writes 20 bytes into it, causing a
16-byte heap buffer overflow.&lt;/p&gt;
&lt;p&gt;The authentication token used here is the current admin/setup
password, which is an empty string by default until one is
configured. Any write to a writable BIOS attribute while no admin
password has been set reaches this path.&lt;/p&gt;
&lt;p&gt;Fix by removing the special-case early return for an empty string in
hp_calculate_security_buffer(). The generic calculation that follows
already accounts for the UTF_PREFIX correctly, which naturally yields
the same 20 bytes that hp_populate_security_buffer() writes for an empty
string, avoiding d…&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;platform/x86: hp-bioscfg: fix 16-byte heap overflow for empty auth token&lt;/p&gt;
&lt;p&gt;hp_calculate_security_buffer() special-cases an empty authentication
string and returns a fixed 4 bytes (sizeof(u16) * 2). But
hp_populate_security_buffer() does not special-case that same input:
for any authentication string that does not start with BEAM_PREFIX,
including the empty string, it always builds &amp;#34;UTF_PREFIX +
authentication&amp;#34; and converts the result to UTF-16, writing a 2-byte
length header plus 2 bytes per character of &amp;#34;&amp;lt;utf-16/&amp;gt;&amp;#34; (9 characters),
20 bytes total, regardless of how long &amp;#34;authentication&amp;#34; itself is.&lt;/p&gt;
&lt;p&gt;The caller, hp_set_attribute(), sizes its kmalloc() buffer using
hp_calculate_security_buffer()&amp;#39;s return value, so for an empty
authentication token it allocates 4 bytes for the security area but
hp_populate_security_buffer() then writes 20 bytes into it, causing a
16-byte heap buffer overflow.&lt;/p&gt;
&lt;p&gt;The authentication token used here is the current admin/setup
password, which is an empty string by default until one is
configured. Any write to a writable BIOS attribute while no admin
password has been set reaches this path.&lt;/p&gt;
&lt;p&gt;Fix by removing the special-case early return for an empty string in
hp_calculate_security_buffer(). The generic calculation that follows
already accounts for the UTF_PREFIX correctly, which naturally yields
the same 20 bytes that hp_populate_security_buffer() writes for an empty
string, avoiding d…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-138829</guid>
    </item>
  </channel>
</rss>
