{"id":"CVE-2026-100087","aliases":["CVE-2026-100087"],"related":[],"kind":"vulnerability","state":"published","title":"platform/x86: hp-bioscfg: fix OOB reads in hp_get_string_from_buffer()","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"}],"published":"2026-11-30T13:23:39.488Z","modified":"2026-11-30T14:17:26.837Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a34fc329b1895fc8a6eb12099adc47009421ba6a","fixed":"b2039a10cf7578f89c3c24fdb7f94252ef471c27","status":"affected"},{"type":"git","introduced":"a34fc329b1895fc8a6eb12099adc47009421ba6a","fixed":"f3236f00b8fbdef61c2fa482e06c8fcc6599002d","status":"affected"},{"type":"git","introduced":"a34fc329b1895fc8a6eb12099adc47009421ba6a","fixed":"e7e97446125b7990055a60fe3584996f7579d75c","status":"affected"},{"type":"git","introduced":"a34fc329b1895fc8a6eb12099adc47009421ba6a","fixed":"c32fadf0c7b371fc9874f4799e0787a948b94288","status":"affected"},{"type":"git","introduced":"a34fc329b1895fc8a6eb12099adc47009421ba6a","fixed":"176b38b84ae5e075850b3ebb25f906d66f95a46d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b2039a10cf7578f89c3c24fdb7f94252ef471c27","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f3236f00b8fbdef61c2fa482e06c8fcc6599002d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e7e97446125b7990055a60fe3584996f7579d75c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c32fadf0c7b371fc9874f4799e0787a948b94288","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/176b38b84ae5e075850b3ebb25f906d66f95a46d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100087","url":"https://www.cve.org/CVERecord?id=CVE-2026-100087","licence":"CVE Terms of Use","modified":"2026-11-30T13:23:39.488Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100087","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100087","licence":"Public domain","modified":"2026-11-30T14:17:26.837Z"}],"updatedAt":"2026-11-30T14:32:34.744Z","epss":{"score":0.00168,"percentile":0.06446,"date":"2026-12-01T12:00:22.000Z"}}