# CVE-2026-100087: platform/x86: hp-bioscfg: fix OOB reads in hp_get_string_from_buffer()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-11-30T13:23:39.488Z
- Modified: 2026-11-30T14:17:26.837Z
- Assigned by: 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).

(As written by CVE List.)

## Affected

- Linux Linux: from a34fc329b1895fc8a6eb12099adc47009421ba6a before b2039a10cf7578f89c3c24fdb7f94252ef471c27; from a34fc329b1895fc8a6eb12099adc47009421ba6a before f3236f00b8fbdef61c2fa482e06c8fcc6599002d; from a34fc329b1895fc8a6eb12099adc47009421ba6a before e7e97446125b7990055a60fe3584996f7579d75c; from a34fc329b1895fc8a6eb12099adc47009421ba6a before c32fadf0c7b371fc9874f4799e0787a948b94288; from a34fc329b1895fc8a6eb12099adc47009421ba6a before 176b38b84ae5e075850b3ebb25f906d66f95a46d; 6.6 (not affected: before 6.6; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/b2039a10cf7578f89c3c24fdb7f94252ef471c27>
- <https://git.kernel.org/stable/c/f3236f00b8fbdef61c2fa482e06c8fcc6599002d>
- <https://git.kernel.org/stable/c/e7e97446125b7990055a60fe3584996f7579d75c>
- <https://git.kernel.org/stable/c/c32fadf0c7b371fc9874f4799e0787a948b94288>
- <https://git.kernel.org/stable/c/176b38b84ae5e075850b3ebb25f906d66f95a46d>

## Sources

- CVE List: [CVE-2026-100087](https://www.cve.org/CVERecord?id=CVE-2026-100087), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-100087](https://nvd.nist.gov/vuln/detail/CVE-2026-100087), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-100087 · Whole record: https://cve.day/CVE-2026-100087.json · Rebuilt by cve.day 2026-11-30T14:32:34.744Z
