AZL-117097: CVE-2026-139383 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
platform/x86: hp-bioscfg: validate SPM state returned by firmware
statusshow() indexes the 3-entry spmstatetypes[] with the state byte returned by firmware. updatespmstate() stores the same byte, which keymechanismshow() uses to index the 3-entry spmmechanismtypes[]. Neither is range checked, so a state above 2 makes the world-readable status and keymechanism files print a string from a pointer read past the array.
Return -EIO for an out of range state.
Compile tested only.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In Linux kernel platform/x86 hp-bioscfg, validate the firmware-returned SPM state before indexing the state/mechanism arrays, and return -EIO when the state is out of range.
Event History
Frequently Asked Questions
What systems are exposed to the information disclosure?
Systems using the Linux kernel hp-bioscfg platform/x86 driver are exposed when firmware returns an SPM state value greater than 2. The affected reads are the world-readable status and key_mechanism files provided by that driver.
What does an attacker need to exploit this issue?
An attacker needs the ability to read the driver's world-readable status or key_mechanism files while firmware supplies an out-of-range SPM state. No write access is described.
How can I tell whether the issue is being triggered?
The issue is triggered when firmware returns an SPM state above 2 and a read of status or key_mechanism causes the driver to use that value as an index into a three-entry string array. The provided data does not identify a specific observable output that confirms exploitation.