Skip to main content
Network Thinking Solutions Logo

CVE-2026-142839

In the Linux kernel, the following vulnerability has been resolved: platform/x86: hp-wmi: fix heap OOB read and memory corruption in hp_wmi_perform_query() hp_wmi_perform_query() evaluates an ACPI WMI method and expects a struct bios_return header in the returned buffer.

All CVEs
CVE-2026-142839Published 12/3/2026

In the Linux kernel, the following vulnerability has been resolved: platform/x86: hp-wmi: fix heap OOB read and memory corruption in hp_wmi_perform_query() hp_wmi_perform_query() evaluates an ACPI WMI method and expects a struct bios_return header in the returned buffer.

Vendor advisory
CVSS—Unscored

Overview

In the Linux kernel, the following vulnerability has been resolved: platform/x86: hp-wmi: fix heap OOB read and memory corruption in hp_wmi_perform_query() 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->buffer.length is at least sizeof(*bios_return) (8 bytes). If the firmware or ACPI method returns a buffer shorter than 8 bytes: 1. bios_return->return_code at offset 4 reads out of bounds from the allocated ACPI buffer slab. 2. If return_code evaluates to 0 and outsize is non-zero, (int)(obj->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. Fix this by ensuring obj->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->buffer.length being smaller than sizeof(*bios_return) by the time that subtraction runs.

Published
12/3/2026
Last modified
12/3/2026
CVE assigner
Linux
NVD analysis
Received

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Linux
Linux
≥ c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, < a61a396669a052b6484057cc7425aa65d3fe7f24

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, < 2331fbac2db151ca69d475d8f2bbdee121249a13

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, < 14954f322392d37c864188f095f1707f5c9a8e5d

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, < de1c1e4194f08b5f63df004e7172ea797b02a8df

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, < 56b4fa4d435e1ec52257692289cef9bff1bc79ce

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, < d904db0a4d32bd49cff2476bf11cf0715c444804

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, < d2f87a7eb3de026deb7ddc859758a0ca27cc88ed

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, < 6dea092b261f04d632411c2be52d13190f5f67b1

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
2.6.39

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.