Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-100087

platform/x86: hp-bioscfg: fix OOB reads in hp_get_string_from_buffer()

Published 30/11/2026 · Updated 30/11/2026 · Linux

Description

In the Linux kernel, the following vulnerability has been resolved: platform/x86: hp-bioscfg: fix OOB reads in hp_get_string_from_buffer() The escape prescan loop uses 'size' as both its bound and its accumulator, so each escape character found extends the loop and reads past the end of src[]. Use the original u16 count as the loop bound. Also include the 2-byte length prefix in the bounds check, pass the u16 count instead of the byte count to utf16s_to_utf8s(), and advance the buffer by the bytes actually consumed instead of the escape-inflated count. Tested on HP EliteBook 840 G2 (Fedora 44, Linux 7.2.7).

Affected products and versions

Linux Linuxa34fc329b1895fc8a6eb12099adc47009421ba6a – < b2039a10cf7578f89c3c24fdb7f94252ef471c27 · a34fc329b1895fc8a6eb12099adc47009421ba6a – < f3236f00b8fbdef61c2fa482e06c8fcc6599002d · a34fc329b1895fc8a6eb12099adc47009421ba6a – < e7e97446125b7990055a60fe3584996f7579d75c · a34fc329b1895fc8a6eb12099adc47009421ba6a – < c32fadf0c7b371fc9874f4799e0787a948b94288 · a34fc329b1895fc8a6eb12099adc47009421ba6a – < 176b38b84ae5e075850b3ebb25f906d66f95a46dFixed in: b2039a10cf7578f89c3c24fdb7f94252ef471c27 · f3236f00b8fbdef61c2fa482e06c8fcc6599002d · e7e97446125b7990055a60fe3584996f7579d75c · c32fadf0c7b371fc9874f4799e0787a948b94288 · 176b38b84ae5e075850b3ebb25f906d66f95a46d
Linux Linux6.6Fixed in: 6.6.163 · 6.12.117 · 6.18.63 · 7.3.4 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.