CVE-2026-90137 (GCVE-0-2026-90137)
Vulnerability from cvelistv5
Published
2026-09-17 16:06
Modified
2026-10-19 08:58
Summary
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].
Impacted products
Vendor Product Version
Linux Linux Version: 8646a3b5ee3a5b384a22a721f37c24274d974045
Version: 8646a3b5ee3a5b384a22a721f37c24274d974045
Version: 8646a3b5ee3a5b384a22a721f37c24274d974045
Version: 8646a3b5ee3a5b384a22a721f37c24274d974045
Version: 8646a3b5ee3a5b384a22a721f37c24274d974045
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c224759555a13735b0d67561d818cefe00c3309a",
              "status": "affected",
              "version": "8646a3b5ee3a5b384a22a721f37c24274d974045",
              "versionType": "git"
            },
            {
              "lessThan": "59fe8491ddaa03a510b352552e6ee291e7ce45d3",
              "status": "affected",
              "version": "8646a3b5ee3a5b384a22a721f37c24274d974045",
              "versionType": "git"
            },
            {
              "lessThan": "ace1ba5fca0ab775b3641e154bcbc3ccde26a71a",
              "status": "affected",
              "version": "8646a3b5ee3a5b384a22a721f37c24274d974045",
              "versionType": "git"
            },
            {
              "lessThan": "8a7499b8fd34438c1b11964e0e7ef5bd590fec92",
              "status": "affected",
              "version": "8646a3b5ee3a5b384a22a721f37c24274d974045",
              "versionType": "git"
            },
            {
              "lessThan": "e213939ed9e6e6badf7aa48c4c8dd9a9cdf00615",
              "status": "affected",
              "version": "8646a3b5ee3a5b384a22a721f37c24274d974045",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.6"
            },
            {
              "lessThan": "6.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.52",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.52",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86: hp-bioscfg: fix password encoding bounds check\n\nThe password PSWD_ENCODINGS parser reads password_obj[elem + pos_values]\nwhile copying the supported password encodings from the ACPI package.\n\nThe outer loop only guarantees that elem is within password_obj_count.\nThe encoding count is bounded by MAX_ENCODINGS_SIZE, but that does not\nguarantee that the ACPI package contains enough entries for all\nelem + pos_values accesses.\n\nA malformed package can therefore declare a non-zero encoding count\nwithout providing enough string objects, causing the parser to read past\nthe ACPI package array and pass an out-of-bounds string pointer and\nlength to hp_convert_hexstr_to_str().\n\nAdd the same computed-index bounds check used by the other offset-based\npackage parsing loops before reading password_obj[elem + pos_values]."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.7,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The malformed bytes are the ACPI package from wmi_query_block() on HP_WMI_BIOS_PASSWORD_GUID, walked by hp_populate_password_elements_from_package() during hp_init()/hp_init_bios_attributes(); that is local HP WMI/ACPI firmware data, not a network, Bluetooth/WiFi, or USB protocol message.\nAC:L - A password package whose PSWD_SIZE/encodings_size is non-zero but that lacks encodings_size string objects makes the PSWD_ENCODINGS loop read password_obj[elem+pos_values] past password_obj_count on every probe; firmware sets both the count and the package length, with no race required.\nPR:N - hp_init() calls hp_init_bios_attributes(HPWMI_PASSWORD_TYPE) and hp_populate_password_elements_from_package() with no capable(), credential, or sysfs check; a compromised HP BIOS that returns a short password package triggers the PSWD_ENCODINGS over-read at module init without a Linux user account.\nUI:N - HP_WMI_BIOS_PASSWORD_GUID instances are enumerated automatically in hp_init() when HP_WMI_BIOS_GUID is present (module_init/built-in probe); the victim does not need to write current_password/new_password, mount a filesystem, or take any other action.\nS:U - The over-read is of the kernel heap array obj-\u003epackage.elements and any oops or copied encodings stay in the same host kernel authority; this WMI password parser is not a KVM/Xen guest-to-host or IOMMU/DMA boundary crossing.\nC:H - Each out-of-bounds slot is treated as string.pointer and string.length and passed to hp_convert_hexstr_to_str(), which kmallocs that length and reads the pointer; the result is strscpy\u0027d into password_data-\u003eencodings[] and emitted by the 0444 encodings sysfs show, so the read is not a few bounded bytes.\nI:N - The PSWD_ENCODINGS loop only reads out-of-bounds union acpi_object fields and then 2-argument strscpy()s the conversion into encodings[MAX_ENCODINGS_SIZE][MAX_BUFF_SIZE]; parsed results never write past that fixed array, so there is no OOB write or control-flow hijack primitive.\nA:H - hp_convert_hexstr_to_str() dereferences password_obj[elem+pos_values].string.pointer; an invalid pointer taken from an out-of-bounds ACPI package slot causes a kernel oops or panic while enumerating HP_WMI_BIOS_PASSWORD_GUID instances in hp_init()."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T08:58:35.353Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c224759555a13735b0d67561d818cefe00c3309a"
        },
        {
          "url": "https://git.kernel.org/stable/c/59fe8491ddaa03a510b352552e6ee291e7ce45d3"
        },
        {
          "url": "https://git.kernel.org/stable/c/ace1ba5fca0ab775b3641e154bcbc3ccde26a71a"
        },
        {
          "url": "https://git.kernel.org/stable/c/8a7499b8fd34438c1b11964e0e7ef5bd590fec92"
        },
        {
          "url": "https://git.kernel.org/stable/c/e213939ed9e6e6badf7aa48c4c8dd9a9cdf00615"
        }
      ],
      "title": "platform/x86: hp-bioscfg: fix password encoding bounds check",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-90137",
    "datePublished": "2026-09-17T16:06:35.829Z",
    "dateReserved": "2026-09-11T19:38:34.788Z",
    "dateUpdated": "2026-10-19T08:58:35.353Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…