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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-11-30T13:23:38.953Z
- Modified: 2026-11-30T14:17:26.703Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from b2715aa2e1352c0060b9dcba57a2e465bbfbcd68 before a457586335aff3a56f450bb9664ed86c58342f91; from b2715aa2e1352c0060b9dcba57a2e465bbfbcd68 before a270d509427b20af6ae959b971ff135a19611546; from b2715aa2e1352c0060b9dcba57a2e465bbfbcd68 before c04cd1d0818221f7ee35893fe5524865509b1103; from b2715aa2e1352c0060b9dcba57a2e465bbfbcd68 before 16ca1aac1c3dbfb77633fee2b7fe2c206f332e64; from b2715aa2e1352c0060b9dcba57a2e465bbfbcd68 before f2769668959f6411ac69e83080a240f8a8785e05; 6.6 (not affected: before 6.6; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/a457586335aff3a56f450bb9664ed86c58342f91>
- <https://git.kernel.org/stable/c/a270d509427b20af6ae959b971ff135a19611546>
- <https://git.kernel.org/stable/c/c04cd1d0818221f7ee35893fe5524865509b1103>
- <https://git.kernel.org/stable/c/16ca1aac1c3dbfb77633fee2b7fe2c206f332e64>
- <https://git.kernel.org/stable/c/f2769668959f6411ac69e83080a240f8a8785e05>

## Sources

- CVE List: [CVE-2026-100086](https://www.cve.org/CVERecord?id=CVE-2026-100086), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-100086](https://nvd.nist.gov/vuln/detail/CVE-2026-100086), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-100086 · Whole record: https://cve.day/CVE-2026-100086.json · Rebuilt by cve.day 2026-11-30T14:32:32.716Z
