<?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:45:00 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-142839 — platform/x86: hp-wmi: fix heap OOB read and memory corruption in hp_wmi_perform_query()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-142839</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-wmi: fix heap OOB read and memory corruption in hp_wmi_perform_query()&lt;/p&gt;
&lt;p&gt;hp_wmi_perform_query() evaluates an ACPI WMI method and expects a
struct bios_return header in the returned buffer. However, it only
checks that the ACPI object type is ACPI_TYPE_BUFFER without verifying
that obj-&amp;gt;buffer.length is at least sizeof(*bios_return) (8 bytes).&lt;/p&gt;
&lt;p&gt;If the firmware or ACPI method returns a buffer shorter than 8 bytes:&lt;/p&gt;
&lt;p&gt;1. bios_return-&amp;gt;return_code at offset 4 reads out of bounds from the
   allocated ACPI buffer slab.&lt;/p&gt;
&lt;p&gt;2. If return_code evaluates to 0 and outsize is non-zero,
   (int)(obj-&amp;gt;buffer.length - sizeof(*bios_return)) evaluates to a
   negative integer (e.g. -8 for a 0-length buffer). actual_outsize is
   set to this negative value and passed to memcpy(buffer, ...,
   actual_outsize), where the signed negative value is cast to
   size_t (e.g. 0xfffffffffffffff8), attempting to copy ~18 Exabytes
   and triggering an immediate kernel crash. Additionally,
   memset(buffer + actual_outsize, ...) performs an out-of-bounds
   write before buffer.&lt;/p&gt;
&lt;p&gt;Fix this by ensuring obj-&amp;gt;buffer.length is at least sizeof(*bios_return)
before accessing the return code, and compute actual_outsize safely
using min_t(u32, ...), which is sound specifically because the guard
above already rules out obj-&amp;gt;buffer.length being smaller than
sizeof(*bios_return) by the time that subtraction runs.&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-wmi: fix heap OOB read and memory corruption in hp_wmi_perform_query()&lt;/p&gt;
&lt;p&gt;hp_wmi_perform_query() evaluates an ACPI WMI method and expects a
struct bios_return header in the returned buffer. However, it only
checks that the ACPI object type is ACPI_TYPE_BUFFER without verifying
that obj-&amp;gt;buffer.length is at least sizeof(*bios_return) (8 bytes).&lt;/p&gt;
&lt;p&gt;If the firmware or ACPI method returns a buffer shorter than 8 bytes:&lt;/p&gt;
&lt;p&gt;1. bios_return-&amp;gt;return_code at offset 4 reads out of bounds from the
   allocated ACPI buffer slab.&lt;/p&gt;
&lt;p&gt;2. If return_code evaluates to 0 and outsize is non-zero,
   (int)(obj-&amp;gt;buffer.length - sizeof(*bios_return)) evaluates to a
   negative integer (e.g. -8 for a 0-length buffer). actual_outsize is
   set to this negative value and passed to memcpy(buffer, ...,
   actual_outsize), where the signed negative value is cast to
   size_t (e.g. 0xfffffffffffffff8), attempting to copy ~18 Exabytes
   and triggering an immediate kernel crash. Additionally,
   memset(buffer + actual_outsize, ...) performs an out-of-bounds
   write before buffer.&lt;/p&gt;
&lt;p&gt;Fix this by ensuring obj-&amp;gt;buffer.length is at least sizeof(*bios_return)
before accessing the return code, and compute actual_outsize safely
using min_t(u32, ...), which is sound specifically because the guard
above already rules out obj-&amp;gt;buffer.length being smaller than
sizeof(*bios_return) by the time that subtraction runs.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-142839</guid>
    </item>
  </channel>
</rss>
