{"id":"CVE-2026-100086","aliases":["CVE-2026-100086"],"related":[],"kind":"vulnerability","state":"published","title":"platform/x86: hp-bioscfg: NUL-terminate the SPM auth token","summary":"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 > 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 > 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.","source":"cvelist"}],"published":"2026-11-30T13:23:38.953Z","modified":"2026-11-30T14:17:26.703Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b2715aa2e1352c0060b9dcba57a2e465bbfbcd68","fixed":"a457586335aff3a56f450bb9664ed86c58342f91","status":"affected"},{"type":"git","introduced":"b2715aa2e1352c0060b9dcba57a2e465bbfbcd68","fixed":"a270d509427b20af6ae959b971ff135a19611546","status":"affected"},{"type":"git","introduced":"b2715aa2e1352c0060b9dcba57a2e465bbfbcd68","fixed":"c04cd1d0818221f7ee35893fe5524865509b1103","status":"affected"},{"type":"git","introduced":"b2715aa2e1352c0060b9dcba57a2e465bbfbcd68","fixed":"16ca1aac1c3dbfb77633fee2b7fe2c206f332e64","status":"affected"},{"type":"git","introduced":"b2715aa2e1352c0060b9dcba57a2e465bbfbcd68","fixed":"f2769668959f6411ac69e83080a240f8a8785e05","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/a457586335aff3a56f450bb9664ed86c58342f91","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a270d509427b20af6ae959b971ff135a19611546","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c04cd1d0818221f7ee35893fe5524865509b1103","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/16ca1aac1c3dbfb77633fee2b7fe2c206f332e64","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f2769668959f6411ac69e83080a240f8a8785e05","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100086","url":"https://www.cve.org/CVERecord?id=CVE-2026-100086","licence":"CVE Terms of Use","modified":"2026-11-30T13:23:38.953Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100086","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100086","licence":"Public domain","modified":"2026-11-30T14:17:26.703Z"}],"updatedAt":"2026-11-30T14:32:32.716Z","epss":{"score":0.00217,"percentile":0.12917,"date":"2026-12-01T12:00:22.000Z"}}