GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-23062 (GCVE-0-2026-23062)

Vulnerability from cvelistv5 – Published: 2026-02-04 16:07 – Updated: 2026-05-11 21:59
VLAI
Title
platform/x86: hp-bioscfg: Fix kernel panic in GET_INSTANCE_ID macro
Summary
In the Linux kernel, the following vulnerability has been resolved: platform/x86: hp-bioscfg: Fix kernel panic in GET_INSTANCE_ID macro The GET_INSTANCE_ID macro that caused a kernel panic when accessing sysfs attributes: 1. Off-by-one error: The loop condition used '<=' instead of '<', causing access beyond array bounds. Since array indices are 0-based and go from 0 to instances_count-1, the loop should use '<'. 2. Missing NULL check: The code dereferenced attr_name_kobj->name without checking if attr_name_kobj was NULL, causing a null pointer dereference in min_length_show() and other attribute show functions. The panic occurred when fwupd tried to read BIOS configuration attributes: Oops: general protection fault [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] RIP: 0010:min_length_show+0xcf/0x1d0 [hp_bioscfg] Add a NULL check for attr_name_kobj before dereferencing and corrects the loop boundary to match the pattern used elsewhere in the driver.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 5f94f181ca25d8c5b77beb2da0cb466ddb6ece29 , < eb5ff1025c92117d5d1cc728bcfa294abe484da1 (git)
Affected: 5f94f181ca25d8c5b77beb2da0cb466ddb6ece29 , < eba49c1dee9c5e514ca18e52c545bba524e8a045 (git)
Affected: 5f94f181ca25d8c5b77beb2da0cb466ddb6ece29 , < 193922a23d7294085a47d7719fdb7d66ad0a236f (git)
Affected: 5f94f181ca25d8c5b77beb2da0cb466ddb6ece29 , < 25150715e0b049b99df664daf05dab12f41c3e13 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.6
Unaffected: 0 , < 6.6 (semver)
Unaffected: 6.6.122 , ≤ 6.6.* (semver)
Unaffected: 6.12.68 , ≤ 6.12.* (semver)
Unaffected: 6.18.8 , ≤ 6.18.* (semver)
Unaffected: 6.19 , ≤ * (original_commit_for_fix)
guessed 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/bioscfg.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "eb5ff1025c92117d5d1cc728bcfa294abe484da1",
              "status": "affected",
              "version": "5f94f181ca25d8c5b77beb2da0cb466ddb6ece29",
              "versionType": "git"
            },
            {
              "lessThan": "eba49c1dee9c5e514ca18e52c545bba524e8a045",
              "status": "affected",
              "version": "5f94f181ca25d8c5b77beb2da0cb466ddb6ece29",
              "versionType": "git"
            },
            {
              "lessThan": "193922a23d7294085a47d7719fdb7d66ad0a236f",
              "status": "affected",
              "version": "5f94f181ca25d8c5b77beb2da0cb466ddb6ece29",
              "versionType": "git"
            },
            {
              "lessThan": "25150715e0b049b99df664daf05dab12f41c3e13",
              "status": "affected",
              "version": "5f94f181ca25d8c5b77beb2da0cb466ddb6ece29",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/platform/x86/hp/hp-bioscfg/bioscfg.h"
          ],
          "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.122",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.68",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.19",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.122",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.68",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.8",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19",
                  "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 kernel panic in GET_INSTANCE_ID macro\n\nThe GET_INSTANCE_ID macro that caused a kernel panic when accessing sysfs\nattributes:\n\n1. Off-by-one error: The loop condition used \u0027\u003c=\u0027 instead of \u0027\u003c\u0027,\n   causing access beyond array bounds. Since array indices are 0-based\n   and go from 0 to instances_count-1, the loop should use \u0027\u003c\u0027.\n\n2. Missing NULL check: The code dereferenced attr_name_kobj-\u003ename\n   without checking if attr_name_kobj was NULL, causing a null pointer\n   dereference in min_length_show() and other attribute show functions.\n\nThe panic occurred when fwupd tried to read BIOS configuration attributes:\n\n  Oops: general protection fault [#1] SMP KASAN NOPTI\n  KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]\n  RIP: 0010:min_length_show+0xcf/0x1d0 [hp_bioscfg]\n\nAdd a NULL check for attr_name_kobj before dereferencing and corrects\nthe loop boundary to match the pattern used elsewhere in the driver."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T21:59:15.864Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/eb5ff1025c92117d5d1cc728bcfa294abe484da1"
        },
        {
          "url": "https://git.kernel.org/stable/c/eba49c1dee9c5e514ca18e52c545bba524e8a045"
        },
        {
          "url": "https://git.kernel.org/stable/c/193922a23d7294085a47d7719fdb7d66ad0a236f"
        },
        {
          "url": "https://git.kernel.org/stable/c/25150715e0b049b99df664daf05dab12f41c3e13"
        }
      ],
      "title": "platform/x86: hp-bioscfg: Fix kernel panic in GET_INSTANCE_ID macro",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-23062",
    "datePublished": "2026-02-04T16:07:44.420Z",
    "dateReserved": "2026-01-13T15:37:45.953Z",
    "dateUpdated": "2026-05-11T21:59:15.864Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-23062",
      "date": "2026-09-17",
      "epss": "0.00127",
      "percentile": "0.0269"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-23062\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-02-04T17:16:16.883\",\"lastModified\":\"2026-06-17T10:20:47.693\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nplatform/x86: hp-bioscfg: Fix kernel panic in GET_INSTANCE_ID macro\\n\\nThe GET_INSTANCE_ID macro that caused a kernel panic when accessing sysfs\\nattributes:\\n\\n1. Off-by-one error: The loop condition used \u0027\u003c=\u0027 instead of \u0027\u003c\u0027,\\n   causing access beyond array bounds. Since array indices are 0-based\\n   and go from 0 to instances_count-1, the loop should use \u0027\u003c\u0027.\\n\\n2. Missing NULL check: The code dereferenced attr_name_kobj-\u003ename\\n   without checking if attr_name_kobj was NULL, causing a null pointer\\n   dereference in min_length_show() and other attribute show functions.\\n\\nThe panic occurred when fwupd tried to read BIOS configuration attributes:\\n\\n  Oops: general protection fault [#1] SMP KASAN NOPTI\\n  KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]\\n  RIP: 0010:min_length_show+0xcf/0x1d0 [hp_bioscfg]\\n\\nAdd a NULL check for attr_name_kobj before dereferencing and corrects\\nthe loop boundary to match the pattern used elsewhere in the driver.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\\n\\nplatform/x86: hp-bioscfg: Correcci\u00f3n de p\u00e1nico del kernel en la macro GET_INSTANCE_ID\\n\\nLa macro GET_INSTANCE_ID que caus\u00f3 un p\u00e1nico del kernel al acceder a los atributos de sysfs:\\n\\n1. Error de uno: La condici\u00f3n del bucle usaba \u0027\u0026lt;=\u0027 en lugar de \u0027\u0026lt;\u0027, causando acceso m\u00e1s all\u00e1 de los l\u00edmites del array. Dado que los \u00edndices del array est\u00e1n basados en 0 y van de 0 a instances_count-1, el bucle deber\u00eda usar \u0027\u0026lt;\u0027.\\n\\n2. Falta de comprobaci\u00f3n de NULL: El c\u00f3digo desreferenci\u00f3 attr_name_kobj-\u0026gt;name sin comprobar si attr_name_kobj era NULL, causando una desreferencia de puntero nulo en min_length_show() y otras funciones de visualizaci\u00f3n de atributos.\\n\\nEl p\u00e1nico ocurri\u00f3 cuando fwupd intent\u00f3 leer atributos de configuraci\u00f3n del BIOS:\\n\\n  Oops: general protection fault [#1] SMP KASAN NOPTI\\n  KASAN: null-ptr-deref en el rango [0x0000000000000000-0x0000000000000007]\\n  RIP: 0010:min_length_show+0xcf/0x1d0 [hp_bioscfg]\\n\\nA\u00f1ade una comprobaci\u00f3n de NULL para attr_name_kobj antes de desreferenciar y corrige el l\u00edmite del bucle para que coincida con el patr\u00f3n usado en otras partes del controlador.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/platform/x86/hp/hp-bioscfg/bioscfg.h\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5f94f181ca25d8c5b77beb2da0cb466ddb6ece29\",\"lessThan\":\"eb5ff1025c92117d5d1cc728bcfa294abe484da1\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5f94f181ca25d8c5b77beb2da0cb466ddb6ece29\",\"lessThan\":\"eba49c1dee9c5e514ca18e52c545bba524e8a045\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5f94f181ca25d8c5b77beb2da0cb466ddb6ece29\",\"lessThan\":\"193922a23d7294085a47d7719fdb7d66ad0a236f\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5f94f181ca25d8c5b77beb2da0cb466ddb6ece29\",\"lessThan\":\"25150715e0b049b99df664daf05dab12f41c3e13\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/platform/x86/hp/hp-bioscfg/bioscfg.h\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.6\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.6\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.122\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.68\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.8\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.19\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-476\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.6\",\"versionEndExcluding\":\"6.6.122\",\"matchCriteriaId\":\"5BC7DC6F-F752-49B5-82B2-A8F4BF9C3EAC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.7\",\"versionEndExcluding\":\"6.12.68\",\"matchCriteriaId\":\"52F38E19-0FDD-4992-9D6D-D4169D689598\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.13\",\"versionEndExcluding\":\"6.18.8\",\"matchCriteriaId\":\"E65C6E79-7EBE-4C77-93F0-818CF5B38F4E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"17B67AA7-40D6-4AFA-8459-F200F3D7CFD1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"C47E4CC9-C826-4FA9-B014-7FE3D9B318B2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:*\",\"matchCriteriaId\":\"F71D92C0-C023-48BD-B3B6-70B638EEE298\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:*\",\"matchCriteriaId\":\"13580667-0A98-40CC-B29F-D12790B91BDB\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.19:rc5:*:*:*:*:*:*\",\"matchCriteriaId\":\"CAD1FED7-CF48-47BF-AC7D-7B6FA3C065FC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.19:rc6:*:*:*:*:*:*\",\"matchCriteriaId\":\"3EF854A1-ABB1-4E93-BE9A-44569EC76C0D\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/193922a23d7294085a47d7719fdb7d66ad0a236f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/25150715e0b049b99df664daf05dab12f41c3e13\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/eb5ff1025c92117d5d1cc728bcfa294abe484da1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/eba49c1dee9c5e514ca18e52c545bba524e8a045\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-06-28T07:18:30+00:00",
      "cve": "CVE-2026-23062",
      "id": "CVE-2026-23062",
      "initial_release_date": "2026-02-04T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: platform/x86: hp-bioscfg: Fix kernel panic in GET_INSTANCE_ID macro",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23062.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…