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 6846B3F7A94 for ; Wed, 6 May 2026 11:30:55 +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=1778067055; cv=none; b=o2TcGmla/u+UZEe9zXRUjtX/nT50mZ3jeRgyjTzBQDfyvPoXJFc0onPgYMGdaBcmWV2keFgl09I9xIWZedjdwN64FjBuNOPhRQdKNdyMdRzjhKNDFcB2SAulnQqDGLePGK/x4EX0k2uI093klZFzusrdhNNp8yB6gw5ONxCNl3g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067055; c=relaxed/simple; bh=rNWmvLO3zVLW4GW+cIHkmM0cd0QmyaH/m2MY2f3LCeg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NNsyNgsQZ2pVZAjrJLO4B4muurPmTcpe80OP2zC71IxafXI3dW49euNk2dXGYJMyezT3fadOImcrHACxLfWVESXCBN7tapwKHPBXmieLJ49hXNn/SHn+iKQQPz5InT24LM6sZ5wyl4HXj3gVGrjNGUJLkKRqm7GauMUBLnGoeBM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IIEc5ItH; 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="IIEc5ItH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3832C2BCB8; Wed, 6 May 2026 11:30:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067055; bh=rNWmvLO3zVLW4GW+cIHkmM0cd0QmyaH/m2MY2f3LCeg=; h=From:To:Cc:Subject:Date:Reply-To:From; b=IIEc5ItHPF55Ct/Q6qfAVZHbPg9CO0w34MG4gS8rnHJBfBzzSyRpKessaxIJRt9n9 MVNpwoN61bOBT5kY12ZPp+3ad7rgkhTTXng6hwGapxtGUxiO0+jx4IJYY5+UPwIMSV gysTcrJFL3f2xFv1KGB6W9tVYUzNlc17sR+91MOw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43171: EFI/CPER: don't dump the entire memory region Date: Wed, 6 May 2026 13:28:07 +0200 Message-ID: <2026050635-CVE-2026-43171-8549@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=3029; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=uPWDTxBPjpyTL1s+lJwbmKKR1uWbtVG0heDCRD00qnk=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/VZffUjrNfiDzc2HdxQ0L09P+P/Hf6rxR4MrSCsbbO RvCnjY7dcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEyrUY5hfL2F47YHPpufdE tof6OeXvxP9bHGBYMCkmT9xvru+C8JmcS87MiE1W+dfPDQA= 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: EFI/CPER: don't dump the entire memory region The current logic at cper_print_fw_err() doesn't check if the error record length is big enough to handle offset. On a bad firmware, if the ofset is above the actual record, length -= offset will underflow, making it dump the entire memory. The end result can be: - the logic taking a lot of time dumping large regions of memory; - data disclosure due to the memory dumps; - an OOPS, if it tries to dump an unmapped memory region. Fix it by checking if the section length is too small before doing a hex dump. [ rjw: Subject tweaks ] The Linux kernel CVE team has assigned CVE-2026-43171 to this issue. Affected and fixed versions =========================== Fixed in 5.10.252 with commit 02de64ab54b4bb0f1b21bb324aeff3b08612be33 Fixed in 5.15.202 with commit 0e09b522f2622841389c3b2f9ac4969e35c0809d Fixed in 6.1.165 with commit 64ae5aaa7ac93c83da456039e8ec747bfa8a7cff Fixed in 6.6.128 with commit 5a9b1dda8481b82851a655c3bcc5b44879b95334 Fixed in 6.12.75 with commit 7780c0bad2a3a70a8c0113a33c02f4151d901eb3 Fixed in 6.18.16 with commit a8419f5f2c5f2d80848ddabb2b95cf0da84a5f91 Fixed in 6.19.6 with commit 54e131db4cdffd946db890ff33ff2647053fd4f6 Fixed in 7.0 with commit 55cc6fe5716f678f06bcb95140882dfa684464ec 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-43171 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/firmware/efi/cper.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/02de64ab54b4bb0f1b21bb324aeff3b08612be33 https://git.kernel.org/stable/c/0e09b522f2622841389c3b2f9ac4969e35c0809d https://git.kernel.org/stable/c/64ae5aaa7ac93c83da456039e8ec747bfa8a7cff https://git.kernel.org/stable/c/5a9b1dda8481b82851a655c3bcc5b44879b95334 https://git.kernel.org/stable/c/7780c0bad2a3a70a8c0113a33c02f4151d901eb3 https://git.kernel.org/stable/c/a8419f5f2c5f2d80848ddabb2b95cf0da84a5f91 https://git.kernel.org/stable/c/54e131db4cdffd946db890ff33ff2647053fd4f6 https://git.kernel.org/stable/c/55cc6fe5716f678f06bcb95140882dfa684464ec