0.0
NA
CVE-2026-100086
platform/x86: hp-bioscfg: NUL-terminate the SPM auth token
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.

INFO

Published Date :

Nov. 30, 2026, 2:17 p.m.

Last Modified :

Nov. 30, 2026, 2:17 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-100086 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Ensure strings are NUL-terminated when copied to prevent buffer overflows and crashes.
  • Use kstrndup() for NUL-terminated string copies.
  • Validate string lengths before processing.
  • Apply kernel patches promptly.
  • Test thoroughly after applying changes.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-100086 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-100086 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-100086 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-100086 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Nov. 30, 2026

    Action Type Old Value New Value
    Added 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.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/100xxx/CVE-2026-100086.json">CVE-2026-100086</a>
    Added Reference https://git.kernel.org/stable/c/16ca1aac1c3dbfb77633fee2b7fe2c206f332e64
    Added Reference https://git.kernel.org/stable/c/a270d509427b20af6ae959b971ff135a19611546
    Added Reference https://git.kernel.org/stable/c/a457586335aff3a56f450bb9664ed86c58342f91
    Added Reference https://git.kernel.org/stable/c/c04cd1d0818221f7ee35893fe5524865509b1103
    Added Reference https://git.kernel.org/stable/c/f2769668959f6411ac69e83080a240f8a8785e05
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.