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()… (CVE-2026-81012)
A vulnerability in the Linux kernel's platform/x86 hp-bioscfg component was fixed to address an off-by-one buffer write in the hp_get_string_from_buffer() function. The issue arises because the function allows a null terminator to be written one byte beyond the destination buffer when the converted string length equals the buffer size. This off-by-one write affects several fixed-size buffers used in this code path.
AI Analysis
Technical Summary
The Linux kernel's hp-bioscfg component contained an off-by-one write vulnerability in the hp_get_string_from_buffer() function. The function clamps the converted string length against the destination buffer size using a 'size > dst_size' comparison, which fails to reserve space for the null terminator when the converted length equals the buffer size. Consequently, the null terminator is written one byte past the buffer boundary. The fix changes the comparison to '>=' to ensure space is always reserved for the terminator. This vulnerability affects all fixed-size destination buffers that reach this function, including path[512], current_value[512], current_password/current_value[64], and per-entry buffers in encodings[][512] and prerequisites[][512].
Potential Impact
The off-by-one write can cause a buffer overflow by writing a null terminator beyond the allocated buffer boundary. While the exact impact is not detailed, such memory corruption issues can potentially lead to system instability or security risks such as privilege escalation or information disclosure if exploited. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code by changing the comparison operator to prevent the off-by-one write. Users should apply the official kernel updates that include this fix once available. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor or kernel mailing list advisories for the latest remediation guidance.
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()… (CVE-2026-81012)
Description
A vulnerability in the Linux kernel's platform/x86 hp-bioscfg component was fixed to address an off-by-one buffer write in the hp_get_string_from_buffer() function. The issue arises because the function allows a null terminator to be written one byte beyond the destination buffer when the converted string length equals the buffer size. This off-by-one write affects several fixed-size buffers used in this code path.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's hp-bioscfg component contained an off-by-one write vulnerability in the hp_get_string_from_buffer() function. The function clamps the converted string length against the destination buffer size using a 'size > dst_size' comparison, which fails to reserve space for the null terminator when the converted length equals the buffer size. Consequently, the null terminator is written one byte past the buffer boundary. The fix changes the comparison to '>=' to ensure space is always reserved for the terminator. This vulnerability affects all fixed-size destination buffers that reach this function, including path[512], current_value[512], current_password/current_value[64], and per-entry buffers in encodings[][512] and prerequisites[][512].
Potential Impact
The off-by-one write can cause a buffer overflow by writing a null terminator beyond the allocated buffer boundary. While the exact impact is not detailed, such memory corruption issues can potentially lead to system instability or security risks such as privilege escalation or information disclosure if exploited. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code by changing the comparison operator to prevent the off-by-one write. Users should apply the official kernel updates that include this fix once available. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor or kernel mailing list advisories for the latest remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-9p9c-f6r5-6rgq
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-81012"]
Threat ID: 6aa4a02755bf5e2cf5a86b0e
Added to database: 09/12/2026, 00:43:19 UTC
Last enriched: 09/12/2026, 01:20:02 UTC
Last updated: 09/12/2026, 01:20:02 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.