Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 95BC6426ECC for ; Wed, 4 Feb 2026 16:20:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770222050; cv=none; b=alZ8Wkv15Y1HMblBGdW2vvNPi2tnZN8PgmKOVQpV8dC3aZwxbGki89qwzEHnXEY4X8FEptSDi5+pyBu3EeHHTpULYCsWqP2UDYW+vPNnw5L3YyyFBMlK3GbpztNnN+HL7NJZHCk4vSDkM17J9Agvv86KGVpmC1mBrzBkYPK9dGM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770222050; c=relaxed/simple; bh=Elsgj7fFIC4IxuTG6nkf7SSL+QtKnSldylgtmhHHEgM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jUw9lNWdbrjci9jLi1/JQhM9Rr2S+MNwrUNG2FEkUmmhMpRWY9sN0QEh+SfUaStsW/hhEx+eKwlQTBgjveI1BZ9ZW3k1/qPo1g6042lRQbSh6DHPNYZ6HFq1I+ZggkvBqBLZuADJg105HIvk/F00d/e60gJLzMzz6IkoYw0bFkQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VvhVmYgq; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="VvhVmYgq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A764EC4CEF7; Wed, 4 Feb 2026 16:20:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770222050; bh=Elsgj7fFIC4IxuTG6nkf7SSL+QtKnSldylgtmhHHEgM=; h=From:To:Cc:Subject:Date:Reply-To:From; b=VvhVmYgq7wOv9sTl0/IJXRaOUEb7AL4j3J3iN+sz3idJd2Rcj+r8lKzFsf2/es4Il rxct9WHgv0CpzNG/G8EVbqyT0RJQvWIfaG2yB5AOECQgCDahn2GNJVe+szFPKYoVqL j7qvlTiaXTqrpFI1MX2qAIFpuGWUwMMJoUrnVwmg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23062: platform/x86: hp-bioscfg: Fix kernel panic in GET_INSTANCE_ID macro Date: Wed, 4 Feb 2026 17:14:21 +0100 Message-ID: <2026020415-CVE-2026-23062-991d@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3164; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=eYEYpBEsbF9FYAAdSJcOwYkm5W02ZhEpMsKVBLVQVB0=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnNBeFTmtU4djDGs+6OYS+4yv0w88WxO7yl6tdrNK5Od FykcZmrI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbCIMmwoNu/MLmn5NbcAhHH zEteHSvTF5fdZpjNYiTlumH28d9blvdwTNk4z3a3VEEEAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-23062 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit 5f94f181ca25d8c5b77beb2da0cb466ddb6ece29 and fixed in 6.6.122 with commit eb5ff1025c92117d5d1cc728bcfa294abe484da1 Issue introduced in 6.6 with commit 5f94f181ca25d8c5b77beb2da0cb466ddb6ece29 and fixed in 6.12.68 with commit eba49c1dee9c5e514ca18e52c545bba524e8a045 Issue introduced in 6.6 with commit 5f94f181ca25d8c5b77beb2da0cb466ddb6ece29 and fixed in 6.18.8 with commit 193922a23d7294085a47d7719fdb7d66ad0a236f Issue introduced in 6.6 with commit 5f94f181ca25d8c5b77beb2da0cb466ddb6ece29 and fixed in 6.19-rc7 with commit 25150715e0b049b99df664daf05dab12f41c3e13 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-23062 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/platform/x86/hp/hp-bioscfg/bioscfg.h Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/eb5ff1025c92117d5d1cc728bcfa294abe484da1 https://git.kernel.org/stable/c/eba49c1dee9c5e514ca18e52c545bba524e8a045 https://git.kernel.org/stable/c/193922a23d7294085a47d7719fdb7d66ad0a236f https://git.kernel.org/stable/c/25150715e0b049b99df664daf05dab12f41c3e13