platform/x86: hp-bioscfg: Fix out-of-bounds array access in ACPI package parsing
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 79cab730dbaaac03b946c7f5681bd08c986e2abd, Kernel cf7ae870560b988247a4bbbe5399edd326632680, Kernel db4c26adf7117b1a4431d1197ae7109fee3230ad and 1 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.6, >=e6c7b3e15559699a30646dd45195549c7db447bd <79cab730dbaaac03b946c7f5681bd08c986e2abd, >=e6c7b3e15559699a30646dd45195549c7db447bd <cf7ae870560b988247a4bbbe5399edd326632680, >=e6c7b3e15559699a30646dd45195549c7db447bd <db4c26adf7117b1a4431d1197ae7109fee3230ad, >=e6c7b3e15559699a30646dd45195549c7db447bd <e44c42c830b7ab36e3a3a86321c619f24def5206 | 79cab730dbaaac03b946c7f5681bd08c986e2abd, cf7ae870560b988247a4bbbe5399edd326632680, db4c26adf7117b1a4431d1197ae7109fee3230ad, e44c42c830b7ab36e3a3a86321c619f24def5206 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket