{"id":"CVE-2026-100086","summary":"platform/x86: hp-bioscfg: NUL-terminate the SPM auth token","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86: hp-bioscfg: NUL-terminate the SPM auth token\n\nauth_token_store() copies the token with kmemdup(), which does not NUL\nterminate it, but hp_calculate_security_buffer() and\nhp_populate_security_buffer() use it as a C string and read past the\nallocation.\n\nA lone newline (echo \u003e auth_token) is worse: kmemdup() of 0 bytes\nreturns ZERO_SIZE_PTR, which passes the NULL checks, so a later\nattribute write passes it to strlen().\n\nA userspace replica of the two helpers under ASan reports a heap\nbuffer overflow in hp_calculate_security_buffer() for the unterminated\ntoken and a fault at address 0x10 for the lone newline, and is clean\nwith this change.\n\nThe token is a string, so copy it with kstrndup(), which always NUL\nterminates and allocates at least one byte.","modified":"2026-11-30T15:01:00.937687080Z","published":"2026-11-30T13:23:38.953Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100086.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/16ca1aac1c3dbfb77633fee2b7fe2c206f332e64"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a270d509427b20af6ae959b971ff135a19611546"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a457586335aff3a56f450bb9664ed86c58342f91"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c04cd1d0818221f7ee35893fe5524865509b1103"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f2769668959f6411ac69e83080a240f8a8785e05"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100086.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100086"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b2715aa2e1352c0060b9dcba57a2e465bbfbcd68"},{"fixed":"a457586335aff3a56f450bb9664ed86c58342f91"},{"fixed":"a270d509427b20af6ae959b971ff135a19611546"},{"fixed":"c04cd1d0818221f7ee35893fe5524865509b1103"},{"fixed":"16ca1aac1c3dbfb77633fee2b7fe2c206f332e64"},{"fixed":"f2769668959f6411ac69e83080a240f8a8785e05"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100086.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.6.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100086.json"}}],"schema_version":"1.9.2"}