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 DD7A44279F2 for ; Wed, 6 May 2026 11:32:12 +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=1778067132; cv=none; b=fmQiqdZHtnN5z7llv1dt2gZiFphpeDa4caiXLkgZNTHXXglcnsomyWphn+nvf9NHkLgy0P2gjUfWtlp7JjDAGDyy8IunsWJSwjH+xig13b4hFoFEDeoYUeWl/OwxAujRw4ivd9y5CbOrJrH1+ZQKA4d0wSoTA+3BIuyIbYqIIuo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067132; c=relaxed/simple; bh=BEXkUiM8X+2udddeqPqhW7FqclEMQzIsHK0ZXmgD+xw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hcXFH9ol9/0IBJLVgubtAFXqHpTXXKa5d1oZEOOYtnbqNsrmKg+M20SWNqksrQoEFOjdF8eeuqPEaodTNYWGl4jRl+5MOzrMYREgu4k9xXbjFeGWKa4CFeZkt+E53/E9hCUp/jqn2ZjQkd3O+SYlvL8TDjNINr68NW0QLZO1/xE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cMfB1ihg; 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="cMfB1ihg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3409FC2BCB8; Wed, 6 May 2026 11:32:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067132; bh=BEXkUiM8X+2udddeqPqhW7FqclEMQzIsHK0ZXmgD+xw=; h=From:To:Cc:Subject:Date:Reply-To:From; b=cMfB1ihgoI1+ni87O5J8OT+jikfW5lbFJADZqDBEt3l+8daWxH5UtRQR0BJLuvzOF eVNwMkFiikjNk3QLlYtBlpcL4wy0neTBot1Z1SR1jw3INVO0l8Dh3zCk5dqMVFpnVe WuclN1Tx+6jAhc6iN5jGcOB4OApS7X1mMVhw0+UA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43201: APEI/GHES: ARM processor Error: don't go past allocated memory Date: Wed, 6 May 2026 13:28:37 +0200 Message-ID: <2026050646-CVE-2026-43201-b78e@gregkh> X-Mailer: git-send-email 2.54.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=3310; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=V5fpDKrE+o7EsjVLqxG3gsieyuIcQJI+3A7gYiVgeWE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/VTeppb0L5TUTZb93VNSsbmrIQ9OGKfu/ynWf+KwkJ Ov+5uW5jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI+maGBZ35gT82Pua0sAl5 s2Ehr7BK1anOOIa5snbtaYpl89wmpa2MaDm4tI05v1YdAA== 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: APEI/GHES: ARM processor Error: don't go past allocated memory If the BIOS generates a very small ARM Processor Error, or an incomplete one, the current logic will fail to deferrence err->section_length and ctx_info->size Add checks to avoid that. With such changes, such GHESv2 records won't cause OOPSes like this: [ 1.492129] Internal error: Oops: 0000000096000005 [#1] SMP [ 1.495449] Modules linked in: [ 1.495820] CPU: 0 UID: 0 PID: 9 Comm: kworker/0:0 Not tainted 6.18.0-rc1-00017-gabadcc3553dd-dirty #18 PREEMPT [ 1.496125] Hardware name: QEMU QEMU Virtual Machine, BIOS unknown 02/02/2022 [ 1.496433] Workqueue: kacpi_notify acpi_os_execute_deferred [ 1.496967] pstate: 814000c5 (Nzcv daIF +PAN -UAO -TCO +DIT -SSBS BTYPE=--) [ 1.497199] pc : log_arm_hw_error+0x5c/0x200 [ 1.497380] lr : ghes_handle_arm_hw_error+0x94/0x220 0xffff8000811c5324 is in log_arm_hw_error (../drivers/ras/ras.c:75). 70 err_info = (struct cper_arm_err_info *)(err + 1); 71 ctx_info = (struct cper_arm_ctx_info *)(err_info + err->err_info_num); 72 ctx_err = (u8 *)ctx_info; 73 74 for (n = 0; n < err->context_info_num; n++) { 75 sz = sizeof(struct cper_arm_ctx_info) + ctx_info->size; 76 ctx_info = (struct cper_arm_ctx_info *)((long)ctx_info + sz); 77 ctx_len += sz; 78 } 79 and similar ones while trying to access section_length on an error dump with too small size. [ rjw: Subject tweaks ] The Linux kernel CVE team has assigned CVE-2026-43201 to this issue. Affected and fixed versions =========================== Fixed in 6.12.75 with commit 242c652849d979d0133c315a42d9acea0ff88390 Fixed in 6.18.16 with commit 136093ba4161e0080088abff48273f6830a47766 Fixed in 6.19.6 with commit db103b8bd3a4aca69b1b5fe8831a6ed75ac4b3bd Fixed in 7.0 with commit 87880af2d24e62a84ed19943dbdd524f097172f2 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-43201 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/acpi/apei/ghes.c drivers/ras/ras.c 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/242c652849d979d0133c315a42d9acea0ff88390 https://git.kernel.org/stable/c/136093ba4161e0080088abff48273f6830a47766 https://git.kernel.org/stable/c/db103b8bd3a4aca69b1b5fe8831a6ed75ac4b3bd https://git.kernel.org/stable/c/87880af2d24e62a84ed19943dbdd524f097172f2