# CVE-2026-81013: platform/x86: hp-bioscfg: fix heap OOB read on empty password write

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 8, 2026-11-26)
- **Published:** 2026-09-11T19:43:02.741Z
- **Modified:** 2026-10-19T09:17:34.727Z

## Who should check

- Anyone running Linux \>= 8646a3b5ee3a5b384a22a721f37c24274d974045, \< 21243c15e1d31f0df1517435e3a7784747f19043; \>= 8646a3b5ee3a5b384a22a721f37c24274d974045, \< cecb8154bd5fa6c8ddbd1a4e8216bbc0f0eb9828; \>= 8646a3b5ee3a5b384a22a721f37c24274d974045, \< 0f9aad08424882dd5714b53d29ae044060890752; \>= 8646a3b5ee3a5b384a22a721f37c24274d974045, \< b699e5c1f63a9e79946c35598c8a6f7af2c356b8; \>= 8646a3b5ee3a5b384a22a721f37c24274d974045, \< 2b2ec354f905c14e3270e8ec3ab50f7d8ad73bab
- Anyone running Linux 6.6

## Description

In the Linux kernel, the following vulnerability has been resolved:

platform/x86: hp-bioscfg: fix heap OOB read on empty password write

validate\_password\_input() computes length = strlen(buf) and then
checks buf\[length - 1\] to strip a trailing newline, without checking
that length is nonzero first. Writing an empty string (a bare '\\n')
to current\_password or new\_password gives length == 0, and
buf\[length - 1\] reads buf\[-1\], one byte before the heap allocation
holding the copied input.

KASAN confirms this directly:

  BUG: KASAN: slab-out-of-bounds in store\_password\_instance.constprop.0+0x223/0x2a0 \[hp\_bioscfg\]
  Read of size 1 at addr ffff88811bd8da9f by task sh/13740
  ...
  store\_password\_instance.constprop.0+0x223/0x2a0 \[hp\_bioscfg\]
  current\_password\_store+0x14/0x20 \[hp\_bioscfg\]
  ...
  The buggy address is located 23 bytes to the right of
  allocated 8-byte region \[ffff88811bd8da80, ffff88811bd8da88)

Reproduced identically via new\_password\_store. Execution continues
past the bad read (the garbage byte only affects whether "length" is
decremented by one), so the write completes and returns success; this
is a pure information read past the buffer, not a crash, but it is
still an out-of-bounds access KASAN correctly flags.

Fix by only checking buf\[length - 1\] when length is nonzero.

## Affected and fixed versions

- Linux: \>= 8646a3b5ee3a5b384a22a721f37c24274d974045, \< 21243c15e1d31f0df1517435e3a7784747f19043; \>= 8646a3b5ee3a5b384a22a721f37c24274d974045, \< cecb8154bd5fa6c8ddbd1a4e8216bbc0f0eb9828; \>= 8646a3b5ee3a5b384a22a721f37c24274d974045, \< 0f9aad08424882dd5714b53d29ae044060890752; \>= 8646a3b5ee3a5b384a22a721f37c24274d974045, \< b699e5c1f63a9e79946c35598c8a6f7af2c356b8; \>= 8646a3b5ee3a5b384a22a721f37c24274d974045, \< 2b2ec354f905c14e3270e8ec3ab50f7d8ad73bab (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- Upgrade Linux to 2b2ec354f905c14e3270e8ec3ab50f7d8ad73bab or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-81013. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-81013.md
Affected: Linux >= 8646a3b5ee3a5b384a22a721f37c24274d974045, < 21243c15e1d31f0df1517435e3a7784747f19043; >= 8646a3b5ee3a5b384a22a721f37c24274d974045, < cecb8154bd5fa6c8ddbd1a4e8216bbc0f0eb9828; >= 8646a3b5ee3a5b384a22a721f37c24274d974045, < 0f9aad08424882dd5714b53d29ae044060890752; >= 8646a3b5ee3a5b384a22a72…
Fixed in: Linux 21243c15e1d31f0df1517435e3a7784747f19043, Linux 0f9aad08424882dd5714b53d29ae044060890752, Linux 2b2ec354f905c14e3270e8ec3ab50f7d8ad73bab

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-81013 being exploited?

There is no confirmed exploitation: CVE-2026-81013 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-81013?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-81013?

Linux \>= 8646a3b5ee3a5b384a22a721f37c24274d974045, \< 21243c15e1d31f0df1517435e3a7784747f19043; \>= 8646a3b5ee3a5b384a22a721f37c24274d974045, \< cecb8154bd5fa6c8ddbd1a4e8216bbc0f0eb9828; \>= 8646a3b5ee3a5b384a22a721f37c24274d974045, \< 0f9aad08424882dd5714b53d29ae044060890752; \>= 8646a3b5ee3a5b384a22a721f37c24274d974045, \< b699e5c1f63a9e79946c35598c8a6f7af2c356b8; \>= 8646a3b5ee3a5b384a22a721f37c24274d974045, \< 2b2ec354f905c14e3270e8ec3ab50f7d8ad73bab; Linux 6.6.

### Is there a fix for CVE-2026-81013?

Yes. Fixed in Linux 21243c15e1d31f0df1517435e3a7784747f19043, Linux 0f9aad08424882dd5714b53d29ae044060890752, Linux 2b2ec354f905c14e3270e8ec3ab50f7d8ad73bab. Upgrade Linux to 2b2ec354f905c14e3270e8ec3ab50f7d8ad73bab or later.

### How do I check if I'm affected by CVE-2026-81013?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/21243c15e1d31f0df1517435e3a7784747f19043>
- other: <https://git.kernel.org/stable/c/cecb8154bd5fa6c8ddbd1a4e8216bbc0f0eb9828>
- other: <https://git.kernel.org/stable/c/0f9aad08424882dd5714b53d29ae044060890752>
- other: <https://git.kernel.org/stable/c/b699e5c1f63a9e79946c35598c8a6f7af2c356b8>
- other: <https://git.kernel.org/stable/c/2b2ec354f905c14e3270e8ec3ab50f7d8ad73bab>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-81013>

HTML: <https://flawdb.com/CVE-2026-81013> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-81013>
