platform/x86: hp-bioscfg: fix password encoding bounds check
In the Linux kernel, the following vulnerability has been resolved: platform/x86: hp-bioscfg: fix password encoding bounds check The password PSWD_ENCODINGS parser reads password_obj[elem + pos_values] while copying the supported password encodings from the ACPI package. The outer loop only guarantees that elem is within password_obj_count. The encoding count is bounded by MAX_ENCODINGS_SIZE, but that does not guarantee that the ACPI package contains enough entries for all elem + pos_values accesses. A malformed package can therefore declare a non-zero encoding count without providing enough string objects, causing the parser to read past the ACPI package array and pass an out-of-bounds string pointer and length to hp_convert_hexstr_to_str(). Add the same computed-index bounds check used by the other offset-based package parsing loops before reading password_obj[elem + pos_values].
CVE-2026-90137
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-90137
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "8646a3b5ee3a5b384a22a721f37c24274d974045",
"lessThan": "c224759555a13735b0d67561d818cefe00c3309a",
"versionType": "git"
},
{
"status": "affected",
"version": "8646a3b5ee3a5b384a22a721f37c24274d974045",
"lessThan": "59fe8491ddaa03a510b352552e6ee291e7ce45d3",
"versionType": "git"
},
{
"status": "affected",
"version": "8646a3b5ee3a5b384a22a721f37c24274d974045",
"lessThan": "ace1ba5fca0ab775b3641e154bcbc3ccde26a71a",
"versionType": "git"
},
{
"status": "affected",
"version": "8646a3b5ee3a5b384a22a721f37c24274d974045",
"lessThan": "8a7499b8fd34438c1b11964e0e7ef5bd590fec92",
"versionType": "git"
},
{
"status": "affected",
"version": "8646a3b5ee3a5b384a22a721f37c24274d974045",
"lessThan": "e213939ed9e6e6badf7aa48c4c8dd9a9cdf00615",
"versionType": "git"
}
],
"programFiles": [
"drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.6"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.6",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.157",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.110",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.52",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.6",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-90137
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #36537 · Revision 1
- Added to Heist Feed
- Publisher date