Skip to main content
Menu
CVEs

Linux kernel memory corruption and out-of-bounds read in HP WMI driver

CVE-2026-142839EUVD-2026-142089GHSA-W27V-JWMC-M6QMPublished December 3, 2026, updated

7.0HighCNA
Exploited
No known exploitation
Fix
No fix listed
Who is exposed
Specific setups only

Summary

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.

Who should check

Teams shipping or running Linux kernels with the hp-wmi driver, such as HP laptop and desktop fleets using hp-wmi sysfs or hwmon interfaces.

“platform/x86: hp-wmi: fix heap OOB read and memory corruption in hp_wmi_perform_query()”

git.kernel.org

What to do

  1. Check whether your setup matches what the bug needs.

    Firmware or the ACPI method returns a buffer shorter than 8 bytes (stock HP ASL normally returns at least 8).
  2. Workaround: The checked facts do not describe a workaround or a way to limit the affected driver. Until a fix is available, no mitigation is stated in the facts.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-142839 (platform/x86: hp-wmi: fix heap OOB read and memory corruption in hp_wmi_perform_query()), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-142839 (entry last updated 2026-12-04):
Affected:
- Linux Linux: version range not reported
- Linux Linux: versions 2.6.39
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- Firmware or the ACPI method returns a buffer shorter than 8 bytes (stock HP ASL normally returns at least 8). (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a61a396669a052b6484057cc7425aa65d3fe7f24)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, low-privilege login, no user action.
CISA KEV: CVE-2026-142839 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-142839 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/a61a396669a052b6484057cc7425aa65d3fe7f24
- https://git.kernel.org/stable/c/2331fbac2db151ca69d475d8f2bbdee121249a13
- https://git.kernel.org/stable/c/14954f322392d37c864188f095f1707f5c9a8e5d
- https://git.kernel.org/stable/c/de1c1e4194f08b5f63df004e7172ea797b02a8df
- https://git.kernel.org/stable/c/56b4fa4d435e1ec52257692289cef9bff1bc79ce
- https://git.kernel.org/stable/c/d904db0a4d32bd49cff2476bf11cf0715c444804
- https://git.kernel.org/stable/c/d2f87a7eb3de026deb7ddc859758a0ca27cc88ed
- https://git.kernel.org/stable/c/6dea092b261f04d632411c2be52d13190f5f67b1
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-142839
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-142839"}.

Affected versions

cve.now Index

37Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure5/25Specific setups only
  • Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
  • Severity7/10CVSS 7.0
  • No patch5/5No patch listed yet

What would change the score

  • Would score about 87 if added to CISA KEV
  • Would score about 82 if CISA's SSVC rates exploitation active
  • Would score about 47 if CISA's SSVC rates it automatable

Timeline

  1. CVE published
  2. First seen by cve.now1 day
  3. Record last updated
  4. Posted on X by cve.now

Evidence 10

Questions about CVE-2026-142839

Is CVE-2026-142839 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

The hp_wmi_perform_query() function in the Linux kernel's HP WMI driver reads and writes outside the bounds of a kernel buffer. The bug occurs when firmware or the ACPI method returns a buffer shorter than 8 bytes, and it can crash the kernel.

Source: git.kernel.org, cve.org

Which versions are affected by CVE-2026-142839?

Linux: version 2.6.39.

Source: cve.now feed data

Am I affected, and how do I check?

The bug is in the Linux kernel's platform/x86 hp-wmi driver. It applies only when firmware or the ACPI method returns a buffer shorter than 8 bytes, while stock HP ASL normally returns at least 8 bytes. The checked facts do not list affected kernel versions, so the kernel version and whether the hp-wmi driver is loaded are the things to check.

Source: git.kernel.org, cve.org

How do I fix CVE-2026-142839?

The checked facts do not name a fixed kernel version or patch identifiers, so no specific upgrade target can be given from them. Check your kernel distributor's or the Linux stable tree's update for this fix.

Source: git.kernel.org, cve.org

What if there's no patch?

The checked facts do not describe a workaround or a way to limit the affected driver. Until a fix is available, no mitigation is stated in the facts.

Source: git.kernel.org, cve.org

No corrections so far. Something wrong on this page? Report an error.