{"id":"CVE-2026-100086","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:17:26.703","lastModified":"2026-11-30T14:17:26.703","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/platform/x86/hp/hp-bioscfg/spmobj-attributes.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"b2715aa2e1352c0060b9dcba57a2e465bbfbcd68","lessThan":"a457586335aff3a56f450bb9664ed86c58342f91","versionType":"git","status":"affected"},{"version":"b2715aa2e1352c0060b9dcba57a2e465bbfbcd68","lessThan":"a270d509427b20af6ae959b971ff135a19611546","versionType":"git","status":"affected"},{"version":"b2715aa2e1352c0060b9dcba57a2e465bbfbcd68","lessThan":"c04cd1d0818221f7ee35893fe5524865509b1103","versionType":"git","status":"affected"},{"version":"b2715aa2e1352c0060b9dcba57a2e465bbfbcd68","lessThan":"16ca1aac1c3dbfb77633fee2b7fe2c206f332e64","versionType":"git","status":"affected"},{"version":"b2715aa2e1352c0060b9dcba57a2e465bbfbcd68","lessThan":"f2769668959f6411ac69e83080a240f8a8785e05","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/platform/x86/hp/hp-bioscfg/spmobj-attributes.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.6","status":"affected"},{"version":"0","lessThan":"6.6","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/16ca1aac1c3dbfb77633fee2b7fe2c206f332e64","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a270d509427b20af6ae959b971ff135a19611546","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a457586335aff3a56f450bb9664ed86c58342f91","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c04cd1d0818221f7ee35893fe5524865509b1103","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f2769668959f6411ac69e83080a240f8a8785e05","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}