7.1high
platform/x86: hp-bioscfg: Fix out-of-bounds array access in ACPI package parsing
- Severity
- 7.1high CVSS:3.1 by Linux
- Exploit likelihood
- 0.14% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: platform/x86: hp-bioscfg: Fix out-of-bounds array access in ACPI package parsing The hp_populate_*_elements_from_package() functions in the hp-bioscfg driver contain out-of-bounds array access vulnerabilities. These functions parse ACPI packages into internal data structures using a for loop with index variable 'elem' that iterates through enum_obj/integer_obj/order_obj/password_obj/string_obj arrays. When processing multi-element fields like PREREQUISITES and ENUM_POSSIBLE_VALUES, these functions read multiple consecutive array elements using expressions like 'enum_obj[elem + reqs]' and 'enum_obj[elem + pos_values]' within nested loops. The bug is that the bounds check only validated elem, but did not consider the additional offset when accessing elem + reqs or elem + pos_values. The fix changes the bounds check to validate the actual accessed index.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from e6c7b3e15559699a30646dd45195549c7db447bd before cf7ae870560b988247a4bbbe5399edd326632680, from e6c7b3e15559699a30646dd45195549c7db447bd before db4c26adf7117b1a4431d1197ae7109fee3230ad, from e6c7b3e15559699a30646dd45195549c7db447bd before 79cab730dbaaac03b946c7f5681bd08c986e2abd, from e6c7b3e15559699a30646dd45195549c7db447bd before e44c42c830b7ab36e3a3a86321c619f24def5206, 6.6 Not affected: before 6.6, from 6.6.120 up to 6.6.*, from 6.12.64 up to 6.12.*, from 6.18.4 up to 6.18.*, from 6.19 up to * | CVE List |
| linux linux_kernel | from 6.6.1 before 6.6.120, from 6.7 before 6.12.64, from 6.13 before 6.18.4, 6.6, 6.19 | NVD |
All scores
| Linux | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: platform/x86: hp-bioscfg: Fix out-of-bounds array access in ACPI package parsing The hp_populate_*_elements_from_package() functions in the hp-bioscfg driver contain out-of-bounds array access vulnerabilities. These functions parse ACPI packages into internal data structures using a for loop with index variable 'elem' that iterates through enum_obj/integer_obj/order_obj/password_obj/string_obj arrays. When processing multi-element fields like PREREQUISITES and ENUM_POSSIBLE_VALUES, these functions read multiple consecutive array elements using expressions like 'enum_obj[elem + reqs]' and 'enum_obj[elem + pos_values]' within nested loops. The bug is that the bounds check only validated elem, but did not consider the additional offset when accessing elem + reqs or elem + pos_values. The fix changes the bounds check to validate the actual accessed index.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: platform/x86: hp-bioscfg: Corrección de acceso a array fuera de límites en el análisis de paquetes ACPI Las funciones hp_populate_*_elements_from_package() en el controlador hp-bioscfg contienen vulnerabilidades de acceso a array fuera de límites. Estas funciones analizan paquetes ACPI en estructuras de datos internas utilizando un bucle for con la variable de índice 'elem' que itera a través de arrays enum_obj/integer_obj/order_obj/password_obj/string_obj. Al procesar campos de múltiples elementos como PREREQUISITES y ENUM_POSSIBLE_VALUES, estas funciones leen múltiples elementos de array consecutivos utilizando expresiones como 'enum_obj[elem + reqs]' y 'enum_obj[elem + pos_values]' dentro de bucles anidados. El error es que la comprobación de límites solo validaba elem, pero no consideraba el desplazamiento adicional al acceder a elem + reqs o elem + pos_values. La corrección cambia la comprobación de límites para validar el índice real accedido.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-71101 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-71101 changed 2026-07-30 | Public domain |