<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-05T12:30:05.430209+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-142839</id>
    <title>CVE-2026-142839 — platform/x86: hp-wmi: fix heap OOB read and memory corruption in hp_wmi_perform_query()</title>
    <updated>2026-12-05T12:30:05.431857+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>platform/x86: hp-wmi: fix heap OOB read and memory corruption in hp_wmi_perform_query()</p>
<p>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-&gt;buffer.length is at least sizeof(*bios_return) (8 bytes).</p>
<p>If the firmware or ACPI method returns a buffer shorter than 8 bytes:</p>
<p>1. bios_return-&gt;return_code at offset 4 reads out of bounds from the
   allocated ACPI buffer slab.</p>
<p>2. If return_code evaluates to 0 and outsize is non-zero,
   (int)(obj-&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.</p>
<p>Fix this by ensuring obj-&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-&gt;buffer.length being smaller than
sizeof(*bios_return) by the time that subtraction runs.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-142839"/>
  </entry>
</feed>
