{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-100086","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.457Z","datePublished":"2026-11-30T13:23:38.953Z","dateUpdated":"2026-11-30T13:23:38.953Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:23:38.953Z"},"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":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/platform/x86/hp/hp-bioscfg/spmobj-attributes.c"],"versions":[{"version":"b2715aa2e1352c0060b9dcba57a2e465bbfbcd68","lessThan":"a457586335aff3a56f450bb9664ed86c58342f91","status":"affected","versionType":"git"},{"version":"b2715aa2e1352c0060b9dcba57a2e465bbfbcd68","lessThan":"a270d509427b20af6ae959b971ff135a19611546","status":"affected","versionType":"git"},{"version":"b2715aa2e1352c0060b9dcba57a2e465bbfbcd68","lessThan":"c04cd1d0818221f7ee35893fe5524865509b1103","status":"affected","versionType":"git"},{"version":"b2715aa2e1352c0060b9dcba57a2e465bbfbcd68","lessThan":"16ca1aac1c3dbfb77633fee2b7fe2c206f332e64","status":"affected","versionType":"git"},{"version":"b2715aa2e1352c0060b9dcba57a2e465bbfbcd68","lessThan":"f2769668959f6411ac69e83080a240f8a8785e05","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/platform/x86/hp/hp-bioscfg/spmobj-attributes.c"],"versions":[{"version":"6.6","status":"affected"},{"version":"0","lessThan":"6.6","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/a457586335aff3a56f450bb9664ed86c58342f91"},{"url":"https://git.kernel.org/stable/c/a270d509427b20af6ae959b971ff135a19611546"},{"url":"https://git.kernel.org/stable/c/c04cd1d0818221f7ee35893fe5524865509b1103"},{"url":"https://git.kernel.org/stable/c/16ca1aac1c3dbfb77633fee2b7fe2c206f332e64"},{"url":"https://git.kernel.org/stable/c/f2769668959f6411ac69e83080a240f8a8785e05"}],"title":"platform/x86: hp-bioscfg: NUL-terminate the SPM auth token","x_generator":{"engine":"bippy-1.2.0"}}}}