Skip to main content

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)

0
Medium
Published: 09/11/2026 (09/11/2026, 21:31:24 UTC)
Source: GCVE Database

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

AILast updated: 09/12/2026, 01:20:02 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses