{"id":"CVE-2026-100087","summary":"platform/x86: hp-bioscfg: fix OOB reads in hp_get_string_from_buffer()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86: hp-bioscfg: fix OOB reads in hp_get_string_from_buffer()\n\nThe escape prescan loop uses 'size' as both its bound and its\naccumulator, so each escape character found extends the loop and\nreads past the end of src[].\n\nUse the original u16 count as the loop bound. Also include the 2-byte\nlength prefix in the bounds check, pass the u16 count instead of the\nbyte count to utf16s_to_utf8s(), and advance the buffer by the bytes\nactually consumed instead of the escape-inflated count.\n\nTested on HP EliteBook 840 G2 (Fedora 44, Linux 7.2.7).","modified":"2026-11-30T15:00:56.759533312Z","published":"2026-11-30T13:23:39.488Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100087.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/176b38b84ae5e075850b3ebb25f906d66f95a46d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b2039a10cf7578f89c3c24fdb7f94252ef471c27"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c32fadf0c7b371fc9874f4799e0787a948b94288"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e7e97446125b7990055a60fe3584996f7579d75c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f3236f00b8fbdef61c2fa482e06c8fcc6599002d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100087.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100087"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a34fc329b1895fc8a6eb12099adc47009421ba6a"},{"fixed":"b2039a10cf7578f89c3c24fdb7f94252ef471c27"},{"fixed":"f3236f00b8fbdef61c2fa482e06c8fcc6599002d"},{"fixed":"e7e97446125b7990055a60fe3584996f7579d75c"},{"fixed":"c32fadf0c7b371fc9874f4799e0787a948b94288"},{"fixed":"176b38b84ae5e075850b3ebb25f906d66f95a46d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100087.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.6.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100087.json"}}],"schema_version":"1.9.2"}