Skip to content
Heist/ feed
Back to feed
HighFix available

platform/x86: hp-bioscfg: Fix out-of-bounds array access in ACPI package parsing

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.64, 6.18.4, 6.6.120
CVEs
CVE-2025-71101
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 02:52 UTC · Revision 1

Source evidence

platform/x86: hp-bioscfg: Fix out-of-bounds array access in ACPI package parsing

core-osv · Original source

Published 13 Jan 2026, 15:34 UTC

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.

osv:CVE-2025-71101

Kernel

Fixed versions: 6.6.120, 6.12.64, 6.18.4

Complete source record
{
  "id": "b9ebd11730514d6345646139f9ff37a4a1f8fe0eac309125c1cced81460a5895",
  "url": "https://osv.dev/vulnerability/CVE-2025-71101",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "platform/x86: hp-bioscfg: Fix out-of-bounds array access in ACPI package parsing",
    "summary": "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.",
    "evidence": "osv:CVE-2025-71101",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.120",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.64",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-71101",
      "aliases": [
        "CVE-2025-71101"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e6c7b3e15559699a30646dd45195549c7db447bd"
                },
                {
                  "fixed": "cf7ae870560b988247a4bbbe5399edd326632680"
                },
                {
                  "fixed": "db4c26adf7117b1a4431d1197ae7109fee3230ad"
                },
                {
                  "fixed": "79cab730dbaaac03b946c7f5681bd08c986e2abd"
                },
                {
                  "fixed": "e44c42c830b7ab36e3a3a86321c619f24def5206"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71101.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.6.0"
                },
                {
                  "fixed": "6.6.120"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.64"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71101.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:46.633092443Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/79cab730dbaaac03b946c7f5681bd08c986e2abd",
        "https://git.kernel.org/stable/c/cf7ae870560b988247a4bbbe5399edd326632680",
        "https://git.kernel.org/stable/c/db4c26adf7117b1a4431d1197ae7109fee3230ad",
        "https://git.kernel.org/stable/c/e44c42c830b7ab36e3a3a86321c619f24def5206",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71101.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-71101",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71101.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-71101",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 514439,
  "published_at": "2026-01-13T15:34:59.717+00:00"
}