# CVE-2026-81012: platform/x86: hp-bioscfg: fix off-by-one write in hp\_get\_string\_from\_buffer()

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

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 5, 2026-11-26)
- **Published:** 2026-09-11T19:43:02.082Z
- **Modified:** 2026-10-19T09:17:34.627Z

## Who should check

- Anyone running Linux \>= a34fc329b1895fc8a6eb12099adc47009421ba6a, \< 8f5aa1506cdddea6b33584c2445b9ce99eeddb64; \>= a34fc329b1895fc8a6eb12099adc47009421ba6a, \< 3cc772d0154799961f032e5a992d4a50523e291a; \>= a34fc329b1895fc8a6eb12099adc47009421ba6a, \< b15b334fbc3c0c46440f8a892ebf62164fca23d6; \>= a34fc329b1895fc8a6eb12099adc47009421ba6a, \< ddf98cf33529714b3ba1a158afb1db5b0f759a1a; \>= a34fc329b1895fc8a6eb12099adc47009421ba6a, \< dc03f05e419f3460342fb7564884f244622634b6
- Anyone running Linux 6.6

## Description

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

platform/x86: hp-bioscfg: fix off-by-one write in hp\_get\_string\_from\_buffer()

hp\_get\_string\_from\_buffer() clamps the converted string length against
the destination buffer size with "size \> dst\_size", so when the
converted length is exactly equal to dst\_size, conv\_dst\_size is left
at dst\_size and the unconditional NUL terminator write

	dst\[conv\_dst\_size\] = 0;

lands one byte past the destination buffer. This is the same shape of
bug as the previously fixed off-by-one in hp\_convert\_hexstr\_to\_str():
the buffer is sized correctly for the content, but the terminator
write is never checked against that size.

Fix by changing the comparison to "\>=" so conv\_dst\_size is always left
with room for the terminator.

All fixed-size destinations that reach this function (path\[512\],
current\_value\[512\], current\_password/current\_value\[64\], and the
per-entry buffers in encodings\[\]\[512\] and prerequisites\[\]\[512\]) are
affected.

## Affected and fixed versions

- Linux: \>= a34fc329b1895fc8a6eb12099adc47009421ba6a, \< 8f5aa1506cdddea6b33584c2445b9ce99eeddb64; \>= a34fc329b1895fc8a6eb12099adc47009421ba6a, \< 3cc772d0154799961f032e5a992d4a50523e291a; \>= a34fc329b1895fc8a6eb12099adc47009421ba6a, \< b15b334fbc3c0c46440f8a892ebf62164fca23d6; \>= a34fc329b1895fc8a6eb12099adc47009421ba6a, \< ddf98cf33529714b3ba1a158afb1db5b0f759a1a; \>= a34fc329b1895fc8a6eb12099adc47009421ba6a, \< dc03f05e419f3460342fb7564884f244622634b6 (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-81012.md
Affected: Linux >= a34fc329b1895fc8a6eb12099adc47009421ba6a, < 8f5aa1506cdddea6b33584c2445b9ce99eeddb64; >= a34fc329b1895fc8a6eb12099adc47009421ba6a, < 3cc772d0154799961f032e5a992d4a50523e291a; >= a34fc329b1895fc8a6eb12099adc47009421ba6a, < b15b334fbc3c0c46440f8a892ebf62164fca23d6; >= a34fc329b1895fc8a6eb120…
Fixed in: Linux 8f5aa1506cdddea6b33584c2445b9ce99eeddb64, Linux 3cc772d0154799961f032e5a992d4a50523e291a

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-81012 being exploited?

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

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

High: CVSS 8.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= a34fc329b1895fc8a6eb12099adc47009421ba6a, \< 8f5aa1506cdddea6b33584c2445b9ce99eeddb64; \>= a34fc329b1895fc8a6eb12099adc47009421ba6a, \< 3cc772d0154799961f032e5a992d4a50523e291a; \>= a34fc329b1895fc8a6eb12099adc47009421ba6a, \< b15b334fbc3c0c46440f8a892ebf62164fca23d6; \>= a34fc329b1895fc8a6eb12099adc47009421ba6a, \< ddf98cf33529714b3ba1a158afb1db5b0f759a1a; \>= a34fc329b1895fc8a6eb12099adc47009421ba6a, \< dc03f05e419f3460342fb7564884f244622634b6; Linux 6.6.

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

Yes. Fixed in Linux 8f5aa1506cdddea6b33584c2445b9ce99eeddb64, Linux 3cc772d0154799961f032e5a992d4a50523e291a. No fix listed yet: follow the vendor advisory.

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

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/8f5aa1506cdddea6b33584c2445b9ce99eeddb64>
- other: <https://git.kernel.org/stable/c/3cc772d0154799961f032e5a992d4a50523e291a>
- other: <https://git.kernel.org/stable/c/b15b334fbc3c0c46440f8a892ebf62164fca23d6>
- other: <https://git.kernel.org/stable/c/ddf98cf33529714b3ba1a158afb1db5b0f759a1a>
- other: <https://git.kernel.org/stable/c/dc03f05e419f3460342fb7564884f244622634b6>

## 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-81012>

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