PT-2026-162655
CVE-2026-100086
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
platform/x86: hp-bioscfg: NUL-terminate the SPM auth token
auth token store() copies the token with kmemdup(), which does not NUL
terminate it, but hp calculate security buffer() and
hp populate security buffer() use it as a C string and read past the
allocation.
A lone newline (echo > auth token) is worse: kmemdup() of 0 bytes
returns ZERO SIZE PTR, which passes the NULL checks, so a later
attribute write passes it to strlen().
A userspace replica of the two helpers under ASan reports a heap
buffer overflow in hp calculate security buffer() for the unterminated
token and a fault at address 0x10 for the lone newline, and is clean
with this change.
The token is a string, so copy it with kstrndup(), which always NUL
terminates and allocates at least one byte.
Found an issue in the description? Have something to add? Feel free to write us 👾