Security mailing lists by PureSourceCode

CVE-2026-100086

not scored yet

platform/x86: hp-bioscfg: NUL-terminate the SPM auth token

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.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= b2715aa2e1352c0060b9dcba57a2e465bbfbcd68, < a457586335aff3a56f450bb9664ed86c58342f91; >= b2715aa2e1352c0060b9dcba57a2e465bbfbcd68, < a270d509427b20af6ae959b971ff135a19611546; >= b2715aa2e1352c0060b9dcba57a2e465bbfbcd68, < c04cd1d0818221f7ee35893fe5524865509b1103; >= b2715aa2e1352c0060b9dcba57a2e465bbfbcd68, < 16ca1aac1c3dbfb77633fee2b7fe2c206f332e64; >= b2715aa2e1352c0060b9dcba57a2e465bbfbcd68, < f2769668959f6411ac69e83080a240f8a8785e05 a457586335aff3a56f450bb9664ed86c58342f91, a270d509427b20af6ae959b971ff135a19611546, c04cd1d0818221f7ee35893fe5524865509b1103, 16ca1aac1c3dbfb77633fee2b7fe2c206f332e64, f2769668959f6411ac69e83080a240f8a8785e05
CVE List Linux Linux = 6.6

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:31 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.