CVE-2026-100086
publishedplatform/x86: hp-bioscfg: NUL-terminate the SPM auth token
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb2715aa2e1352c0060b9dcba57a2e465bbfbcd68 to < a457586335aff3a56f450bb9664ed86c58342f91 · b2715aa2e1352c0060b9dcba57a2e465bbfbcd68 to < a270d509427b20af6ae959b971ff135a19611546 · b2715aa2e1352c0060b9dcba57a2e465bbfbcd68 to < c04cd1d0818221f7ee35893fe5524865509b1103 · b2715aa2e1352c0060b9dcba57a2e465bbfbcd68 to < 16ca1aac1c3dbfb77633fee2b7fe2c206f332e64 · b2715aa2e1352c0060b9dcba57a2e465bbfbcd68 to < f2769668959f6411ac69e83080a240f8a8785e05 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b2715aa2e1352c0060b9dcba57a2e465bbfbcd68 to < a457586335aff3a56f450bb9664ed86c58342f91 (affected · git)b2715aa2e1352c0060b9dcba57a2e465bbfbcd68 to < a270d509427b20af6ae959b971ff135a19611546 (affected · git)b2715aa2e1352c0060b9dcba57a2e465bbfbcd68 to < c04cd1d0818221f7ee35893fe5524865509b1103 (affected · git)b2715aa2e1352c0060b9dcba57a2e465bbfbcd68 to < 16ca1aac1c3dbfb77633fee2b7fe2c206f332e64 (affected · git)b2715aa2e1352c0060b9dcba57a2e465bbfbcd68 to < f2769668959f6411ac69e83080a240f8a8785e05 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.6 (affected)0 to < 6.6 (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/16ca1aac1c3dbfb77633fee2b7fe2c206f332e64
- https://git.kernel.org/stable/c/a270d509427b20af6ae959b971ff135a19611546
- https://git.kernel.org/stable/c/a457586335aff3a56f450bb9664ed86c58342f91
- https://git.kernel.org/stable/c/c04cd1d0818221f7ee35893fe5524865509b1103
- https://git.kernel.org/stable/c/f2769668959f6411ac69e83080a240f8a8785e05
Provider assertions
1Linux · cna
platform/x86: hp-bioscfg: NUL-terminate the SPM auth token
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f3d991a56768e685c2a53de252d3fa2e7d9bf4edab607f6442a5337cae014a21
- Ingested
- 30 Nov 2026, 13:30:06 UTC
- Source record
- Official CVE record