# CVE-2026-142839: platform/x86: hp-wmi: fix heap OOB read and memory corruption in hp\_wmi\_perform\_query()

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.37% (percentile 33, 2026-12-03)
- **Published:** 2026-12-03T03:20:51.551Z
- **Modified:** 2026-12-04T04:17:28.850Z

## Who should check

- Anyone running Linux \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< a61a396669a052b6484057cc7425aa65d3fe7f24; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< 2331fbac2db151ca69d475d8f2bbdee121249a13; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< 14954f322392d37c864188f095f1707f5c9a8e5d; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< de1c1e4194f08b5f63df004e7172ea797b02a8df; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< 56b4fa4d435e1ec52257692289cef9bff1bc79ce; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< d904db0a4d32bd49cff2476bf11cf0715c444804; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< d2f87a7eb3de026deb7ddc859758a0ca27cc88ed; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< 6dea092b261f04d632411c2be52d13190f5f67b1
- Anyone running Linux 2.6.39

## Description

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.

## Affected and fixed versions

- Linux: \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< a61a396669a052b6484057cc7425aa65d3fe7f24; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< 2331fbac2db151ca69d475d8f2bbdee121249a13; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< 14954f322392d37c864188f095f1707f5c9a8e5d; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< de1c1e4194f08b5f63df004e7172ea797b02a8df; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< 56b4fa4d435e1ec52257692289cef9bff1bc79ce; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< d904db0a4d32bd49cff2476bf11cf0715c444804; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< d2f87a7eb3de026deb7ddc859758a0ca27cc88ed; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< 6dea092b261f04d632411c2be52d13190f5f67b1 (cvelist)
- Linux: 2.6.39 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 6dea092b261f04d632411c2be52d13190f5f67b1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142839. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142839.md
Affected: Linux >= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, < a61a396669a052b6484057cc7425aa65d3fe7f24; >= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, < 2331fbac2db151ca69d475d8f2bbdee121249a13; >= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, < 14954f322392d37c864188f095f1707f5c9a8e5d; >= c3021ea1beeeb1aa8a92fa6…
Fixed in: Linux 2331fbac2db151ca69d475d8f2bbdee121249a13, Linux 14954f322392d37c864188f095f1707f5c9a8e5d, Linux 56b4fa4d435e1ec52257692289cef9bff1bc79ce, Linux 6dea092b261f04d632411c2be52d13190f5f67b1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142839 being exploited?

There is no confirmed exploitation: CVE-2026-142839 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.37% chance of exploitation in the next 30 days (as of 2026-12-03).

### How serious is CVE-2026-142839?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-142839?

Linux \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< a61a396669a052b6484057cc7425aa65d3fe7f24; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< 2331fbac2db151ca69d475d8f2bbdee121249a13; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< 14954f322392d37c864188f095f1707f5c9a8e5d; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< de1c1e4194f08b5f63df004e7172ea797b02a8df; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< 56b4fa4d435e1ec52257692289cef9bff1bc79ce; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< d904db0a4d32bd49cff2476bf11cf0715c444804; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< d2f87a7eb3de026deb7ddc859758a0ca27cc88ed; \>= c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, \< 6dea092b261f04d632411c2be52d13190f5f67b1; Linux 2.6.39.

### Is there a fix for CVE-2026-142839?

Yes. Fixed in Linux 2331fbac2db151ca69d475d8f2bbdee121249a13, Linux 14954f322392d37c864188f095f1707f5c9a8e5d, Linux 56b4fa4d435e1ec52257692289cef9bff1bc79ce, Linux 6dea092b261f04d632411c2be52d13190f5f67b1. Upgrade Linux to 6dea092b261f04d632411c2be52d13190f5f67b1 or later.

### How do I check if I'm affected by CVE-2026-142839?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/a61a396669a052b6484057cc7425aa65d3fe7f24>
- other: <https://git.kernel.org/stable/c/2331fbac2db151ca69d475d8f2bbdee121249a13>
- other: <https://git.kernel.org/stable/c/14954f322392d37c864188f095f1707f5c9a8e5d>
- other: <https://git.kernel.org/stable/c/de1c1e4194f08b5f63df004e7172ea797b02a8df>
- other: <https://git.kernel.org/stable/c/56b4fa4d435e1ec52257692289cef9bff1bc79ce>
- other: <https://git.kernel.org/stable/c/d904db0a4d32bd49cff2476bf11cf0715c444804>
- other: <https://git.kernel.org/stable/c/d2f87a7eb3de026deb7ddc859758a0ca27cc88ed>
- other: <https://git.kernel.org/stable/c/6dea092b261f04d632411c2be52d13190f5f67b1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142839>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-142839> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142839>
