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

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

authtokenstore() copies the token with kmemdup(), which does not NUL terminate it, but hpcalculatesecuritybuffer() and hppopulatesecuritybuffer() use it as a C string and read past the allocation.

A lone newline (echo > authtoken) is worse: kmemdup() of 0 bytes returns ZEROSIZEPTR, 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 hpcalculatesecuritybuffer() 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.

Affected Software

8 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.6.0<6.6.163
6.6.163
linux/kernel>=6.7.0<6.12.117
6.12.117
linux/kernel>=6.13.0<6.18.63
6.18.63
linux/kernel>=6.19.0<7.3.4
7.3.4
debian/linux<6.12.117-1
6.12.117-1
debian/linux<7.3.4-1
7.3.4-1
debian/linux
6.12.117-17.3.4-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.117
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.63
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.4
  5. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.117-1
  6. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.4-1
  7. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.117-1Fixed in 7.3.4-1
  8. Compensating control

    In hp-bioscfg, change auth_token_store() to copy the SPM auth token with kstrndup() instead of kmemdup(), ensuring it is NUL-terminated.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:23 PM
Data Sourced
via MITRE·01:23 PM
Description
Data Sourced
via OSV·01:23 PM
DescriptionAffected Software
Data Sourced
via NVD·02:17 PM
Description

Frequently Asked Questions

1

What access or interaction is needed to trigger the flaw?

The vulnerable path is reached when userspace writes an SPM authentication token to the auth_token attribute and a later attribute write causes the driver to process that token in its security-buffer helpers. The description does not establish whether an unprivileged user can perform those writes.

2

Which token inputs are problematic?

A token copied with kmemdup() is not NUL-terminated, so using it as a C string can read beyond its allocation. Writing only a newline is especially dangerous because it produces a zero-length allocation that can later be passed to strlen().

3

What can be done while a fix is not available?

Avoid writing to the auth_token attribute where possible, especially do not submit a lone newline as the token. The resolved change uses kstrndup() so that even an empty token has allocated, NUL-terminated storage.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203