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

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linuxb2715aa2e1352c0060b9dcba57a2e465bbfbcd68 to before 23246a5c27ca42ed466f4388ebea58313508ca50 Affectedb2715aa2e1352c0060b9dcba57a2e465bbfbcd68 to before 29d83bd615b6a6a214d356d411f13107b7f7dcd1 Affectedb2715aa2e1352c0060b9dcba57a2e465bbfbcd68 to before 6233e92e97b8e0673837dc73f4b91410686be691 Affectedb2715aa2e1352c0060b9dcba57a2e465bbfbcd68 to before 3aa66f4d7401e3fcb6ac9e27848ef4b4ac6d7bc7 Affectedb2715aa2e1352c0060b9dcba57a2e465bbfbcd68 to before 35fb43f1576e1352077afc33a535007e0568480c Affected
Linux Linux6.6 Affectedbefore 6.6 Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.