Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139383

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • b2715aa2e1352c0060b9dcba57a2e465bbfbcd68 to < 23246a5c27ca42ed466f4388ebea58313508ca50affected
  • b2715aa2e1352c0060b9dcba57a2e465bbfbcd68 to < 29d83bd615b6a6a214d356d411f13107b7f7dcd1affected
  • b2715aa2e1352c0060b9dcba57a2e465bbfbcd68 to < 6233e92e97b8e0673837dc73f4b91410686be691affected
  • b2715aa2e1352c0060b9dcba57a2e465bbfbcd68 to < 3aa66f4d7401e3fcb6ac9e27848ef4b4ac6d7bc7affected
  • b2715aa2e1352c0060b9dcba57a2e465bbfbcd68 to < 35fb43f1576e1352077afc33a535007e0568480caffected

Linux Linux

Default version status: affected

  • 6.6affected
  • 0 to < 6.6unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References