Skip to main content
No exploitation reportedFix availableAwaiting NVD analysis

CVE-2026-142839

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

No exploitation reported by the sources we read.

  • Published2026-12-03
  • Fixed in7.3.4 · 6.18.63 · 6.12.117 · 6.6.163 · 6.1.193 · 5.15.226

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-12-0303:20CVE publishedCNA

Versions per branch

OSV
Linux kernel
BranchAffectedFixed in
7.3≥ 6.19.0, < 7.3.47.3.4
6.x≥ 6.13.0, < 6.18.636.18.63
6.x≥ 6.7.0, < 6.12.1176.12.117
6.x≥ 6.2.0, < 6.6.1636.6.163
6.1≥ 5.16.0, < 6.1.1936.1.193
5.x≥ 5.11.0, < 5.15.2265.15.226
5.10≥ 2.6.39, < 5.10.2755.10.275

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA2 products

As Linux, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Linuxother versions: not affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • ≥ c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, < a61a396669a052b6484057cc7425aa65d3fe7f24fixed in a61a396669a052b6484057cc7425aa65d3fe7f24git
    • ≥ c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, < 2331fbac2db151ca69d475d8f2bbdee121249a13fixed in 2331fbac2db151ca69d475d8f2bbdee121249a13git
    • ≥ c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, < 14954f322392d37c864188f095f1707f5c9a8e5dfixed in 14954f322392d37c864188f095f1707f5c9a8e5dgit
    • ≥ c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, < de1c1e4194f08b5f63df004e7172ea797b02a8dffixed in de1c1e4194f08b5f63df004e7172ea797b02a8dfgit
    • ≥ c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, < 56b4fa4d435e1ec52257692289cef9bff1bc79cefixed in 56b4fa4d435e1ec52257692289cef9bff1bc79cegit
    • ≥ c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, < d904db0a4d32bd49cff2476bf11cf0715c444804fixed in d904db0a4d32bd49cff2476bf11cf0715c444804git
    • ≥ c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, < d2f87a7eb3de026deb7ddc859758a0ca27cc88edfixed in d2f87a7eb3de026deb7ddc859758a0ca27cc88edgit
    • ≥ c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d, < 6dea092b261f04d632411c2be52d13190f5f67b1fixed in 6dea092b261f04d632411c2be52d13190f5f67b1git
  • Linuxother versions: affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • = 2.6.39no fix stated

    Not affected < 2.6.39 · ≥ 5.10.275, ≤ 5.10.* · ≥ 5.15.226, ≤ 5.15.* · ≥ 6.1.193, ≤ 6.1.* · ≥ 6.6.163, ≤ 6.6.* · ≥ 6.12.117, ≤ 6.12.* · ≥ 6.18.63, ≤ 6.18.*

    2 more version lines in the CVE record.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-12-03

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • linuxDebian:14all versions · fixed in 7.3.4-1
  • linuxDebian:13all versions · fixed in 6.12.117-1
  • linuxDebian:12all versions · no fixed version listed

Full record on NVD

Fix

  1. Update Linux kernel to 7.3.4 · 6.18.63 · 6.12.117 · 6.6.163 · 6.1.193 · 5.15.226 · 5.10.275

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2026-12-03
Last modified
2026-12-03
NVD status
Received
GitHub advisory
GHSA-w27v-jwmc-m6qm

Frequently asked questions

What is 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. 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.

Is CVE-2026-142839 actively exploited?

Active exploitation of CVE-2026-142839 has not been confirmed. Its EPSS score was 0.4% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-142839?

CVE-2026-142839 has a CVSS v3 base score of 7 (High severity), with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running Linux kernel? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record