CVE-2026-139383

platform/x86: hp-bioscfg: validate SPM state returned by firmware

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

platform/x86: hp-bioscfg: validate SPM state returned by firmware

status_show() indexes the 3-entry spm_state_types[] with the state byte
returned by firmware. update_spm_state() stores the same byte, which
key_mechanism_show() uses to index the 3-entry spm_mechanism_types[].
Neither is range checked, so a state above 2 makes the world-readable
status and key_mechanism files print a string from a pointer read past
the array.

Return -EIO for an out of range state.

Compile tested only.

Analysis

AI-generated

Technical impact

The defect resides in the hp-bioscfg component of the Linux kernel. A byte returned by firmware is used directly as an index into two 3‑element arrays in status_show() and key_mechanism_show() without bounds checking. If the byte is larger than 2, the kernel reads past the end of the array and the resulting pointer is dereferenced. The world‑readable sysfs files that expose these values therefore reveal data from an arbitrary memory location, potentially leaking kernel memory contents.

Affected Systems

All Linux kernel releases that contain the hp‑bioscfg driver before the fix commit 23246a5c27ca42ed466f4388ebea58313508ca50 are affected. The advisory does not list specific kernel versions, so any build that includes the unpatched code is vulnerable.

Risk and Exploitability

The CVSS score is not supplied, but the flaw is local and leads to information disclosure via world‑readable sysfs entries. The EPSS score is unavailable and the vulnerability is not catalogued in CISA KEV, indicating no publicly confirmed exploit. An attacker with read access to the exposed files can potentially collect sensitive kernel data, which may aid further attacks though no direct privilege escalation is described.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that incorporates the fix commit 23246a5c27ca42ed466f4388ebea58313508ca50.
  • If updating immediately is not possible, reduce the permissions on the affected sysfs entries (e.g., chown them to root and set chmod 640) so that only privileged users can read them.
  • As a temporary neutralisation, disable the hp‑bioscfg module if compatible with your environment by running modprobe -r hp_bios_cfg or adding it to a module blacklist.

Generated by OpenCVE AI on November 30, 2026 at 22:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-125
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: platform/x86: hp-bioscfg: validate SPM state returned by firmware status_show() indexes the 3-entry spm_state_types[] with the state byte returned by firmware. update_spm_state() stores the same byte, which key_mechanism_show() uses to index the 3-entry spm_mechanism_types[]. Neither is range checked, so a state above 2 makes the world-readable status and key_mechanism files print a string from a pointer read past the array. Return -EIO for an out of range state. Compile tested only.
Title platform/x86: hp-bioscfg: validate SPM state returned by firmware
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:34 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM