cvelo
P4 · InfoEPSS 0.2%

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

  • CVE-2026-100087
  • GHSA-47cj-vqxj-8m29
  • EUVD-2026-138502

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).

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    6.6none stated
    before 6.6: not affectednone stated
    from 6.6.163 up to 6.6.*: not affectednone stated
    from 6.12.117 up to 6.12.*: not affectednone stated
    from 6.18.63 up to 6.18.*: not affectednone stated
    from 7.3.4 up to 7.3.*: not affectednone stated
    from 7.4-rc1 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.