CVE-2026-23062 Details
Description
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.
A vulnerability in the Linux kernel's hp-bioscfg component has been fixed, addressing a kernel panic caused by the GET_INSTANCE_ID macro. This issue stemmed from an off-by-one error in the loop condition, which improperly allowed access beyond the array bounds, and a missing NULL check that led to a null pointer dereference. The panic was triggered when fwupd attempted to read BIOS configuration attributes, resulting in a general protection fault. The vulnerability affected several versions of the Linux kernel.
Users can update to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the Linux kernel's official website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/193922a23d7294085a47d7719fdb7d66ad0a236f | kernel.org | Patch |
| https://git.kernel.org/stable/c/25150715e0b049b99df664daf05dab12f41c3e13 | kernel.org | Patch |
| https://git.kernel.org/stable/c/eb5ff1025c92117d5d1cc728bcfa294abe484da1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/eba49c1dee9c5e514ca18e52c545bba524e8a045 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.6, < 6.6.122 >= 6.7, < 6.12.68 >= 6.13, < 6.18.8 6.19 rc1 6.19 rc2 6.19 rc3 6.19 rc4 6.19 rc5 6.19 rc6 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Mar 13, 2026 | Initial Analysis | [email protected] |
| Feb 4, 2026 | New CVE Received | kernel.org |