AZL-116761: CVE-2026-100087 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
platform/x86: hp-bioscfg: fix OOB reads in hpgetstringfrombuffer()
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 utf16stoutf8s(), 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 Software
Event History
Frequently Asked Questions
Which systems are most relevant to assess?
The issue is in the platform/x86 hp-bioscfg code path in the Linux kernel. The provided record identifies the Azure Linux kernel package version 6.6.161.1-1, and the fix was tested on an HP EliteBook 840 G2.
What condition triggers the out-of-bounds read?
The vulnerable string-processing path encounters escape characters while scanning a source buffer. The loop incorrectly increases its own bound for each escape character, allowing reads beyond the end of the source buffer.
What changes were made to correct the issue?
The fix retains the original u16 count as the scan bound, accounts for the two-byte length prefix during bounds checking, passes the u16 count to utf16s_to_utf8s(), and advances the buffer by the number of bytes actually consumed.