From mboxrd@z Thu Jan 1 00:00:00 1970 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 700A53E3165 for ; Fri, 8 May 2026 13:15:10 +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=1778246110; cv=none; b=sIggnqTH1NjCSljcJ/NXCTOSNrFyt0NcU7LRACYaV8CPNI2Ddbxu28+RsZRK8dSVFS7iP8S9iyBwlWtK9067b1e5TcndY3ZPgTw48t75Ny9gsgHFb9f2A2viOhsLpYjLF6nYp+GixnYmH0Ba3dDyX22aelBts3auw5fc4egyBXA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778246110; c=relaxed/simple; bh=O8LDLLLiDQj00gDaWMTx0MHF1tTgXSSZlZ56eKthy0U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=czffHYyHYMr48ZydUqSKQQ7WsyPy3vs6588knxdkJhW2+bIWTRNebHtwlABr2wcl5rjjKe5/PKIA+8SSMMD48nOmi7eplyCqH/aA3F4SIcqgbWm/QkCZm2uplQsYTYn5dBtdRpIBbPZIAm4/dWdC9Ahhyl1GnT2rn6AH3+NAKeY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QWUS9VQp; 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="QWUS9VQp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B04B7C2BCB0; Fri, 8 May 2026 13:15:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778246110; bh=O8LDLLLiDQj00gDaWMTx0MHF1tTgXSSZlZ56eKthy0U=; h=From:To:Cc:Subject:Date:Reply-To:From; b=QWUS9VQpFw5FwHbLz6SIrSiJadwPihgQXlof2BO1LQ6yKypfHA+5r/qyBXVUKYSVG YS2HtS9M2D0GBYN3feoihYJ4y60WP0zd/0BYD33AyzOBxWQgAcIkT1/EhKZiJ1DbPR eSaoi4bcR/Mi63GxLMcTlmsdymdRe6GWkKjHEmtY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43289: kexec: derive purgatory entry from symbol Date: Fri, 8 May 2026 15:11:54 +0200 Message-ID: <2026050852-CVE-2026-43289-ad06@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=4164; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VbcWjlrHAmLADqJi/rTy6jPMbFojjsq2mKqGTgVryhg=; b=kA0DAAIRMUfUDdst+ykByyZiAGn94Rihjg7AH2zZNuWyrd+MlSscNcDTa1MsqfIZ98kaT0fQV YhdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmn94RgACgkQMUfUDdst+ynzWgCcCFE8 aGuoCBIHqt9lU+jrtounmKYAoNDS+L2FM8vClmImsIS56E0u5NAU 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: kexec: derive purgatory entry from symbol kexec_load_purgatory() derives image->start by locating e_entry inside an SHF_EXECINSTR section. If the purgatory object contains multiple executable sections with overlapping sh_addr, the entrypoint check can match more than once and trigger a WARN. Derive the entry section from the purgatory_start symbol when present and compute image->start from its final placement. Keep the existing e_entry fallback for purgatories that do not expose the symbol. WARNING: kernel/kexec_file.c:1009 at kexec_load_purgatory+0x395/0x3c0, CPU#10: kexec/1784 Call Trace: bzImage64_load+0x133/0xa00 __do_sys_kexec_file_load+0x2b3/0x5c0 do_syscall_64+0x81/0x610 entry_SYSCALL_64_after_hwframe+0x76/0x7e [me@linux.beauty: move helper to avoid forward declaration, per Baoquan] The Linux kernel CVE team has assigned CVE-2026-43289 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10.185 with commit f368aed4827bd4276c0e3664fb2cb815a8d7caf3 and fixed in 5.10.252 with commit 027797595a108726f4a0a45d225f603b0ffbd22b Issue introduced in 5.15.118 with commit d38e051ec6fd8650b139d9bc4b0b8b261953b263 and fixed in 5.15.202 with commit 1737d37ae1d2814e6cf0a1af87af3d41f0812b95 Issue introduced in 6.1.35 with commit 013027918a4efa807409fcb356009c117e4d181a and fixed in 6.1.165 with commit f736032c638a33a243e9126e617788f763d648f9 Issue introduced in 6.4 with commit 8652d44f466ad5772e7d1756e9457046189b0dfc and fixed in 6.6.128 with commit cfccd3b8c51bc57a8a6fcb2fd30453afae5bc0d2 Issue introduced in 6.4 with commit 8652d44f466ad5772e7d1756e9457046189b0dfc and fixed in 6.12.75 with commit 875355152b33436907c2a6d2ffad1431fa86c62b Issue introduced in 6.4 with commit 8652d44f466ad5772e7d1756e9457046189b0dfc and fixed in 6.18.16 with commit 36eb314184a0ae74dd42914b47d2b9fc43be8034 Issue introduced in 6.4 with commit 8652d44f466ad5772e7d1756e9457046189b0dfc and fixed in 6.19.6 with commit 5226570bd252cea2e805a161cb0f75c204c3108a Issue introduced in 6.4 with commit 8652d44f466ad5772e7d1756e9457046189b0dfc and fixed in 7.0 with commit 480e1d5c64bb14441f79f2eb9421d5e26f91ea3d Issue introduced in 4.19.287 with commit 4947a0eb7d642b6048559857964966016ef3aa8b Issue introduced in 5.4.248 with commit b16bf76b382810257e3fb6278663a9d131b70197 Issue introduced in 6.3.9 with commit cb1638618545182a01444b2b20a4ed6b9d2a8c8f 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-43289 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: kernel/kexec_file.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/027797595a108726f4a0a45d225f603b0ffbd22b https://git.kernel.org/stable/c/1737d37ae1d2814e6cf0a1af87af3d41f0812b95 https://git.kernel.org/stable/c/f736032c638a33a243e9126e617788f763d648f9 https://git.kernel.org/stable/c/cfccd3b8c51bc57a8a6fcb2fd30453afae5bc0d2 https://git.kernel.org/stable/c/875355152b33436907c2a6d2ffad1431fa86c62b https://git.kernel.org/stable/c/36eb314184a0ae74dd42914b47d2b9fc43be8034 https://git.kernel.org/stable/c/5226570bd252cea2e805a161cb0f75c204c3108a https://git.kernel.org/stable/c/480e1d5c64bb14441f79f2eb9421d5e26f91ea3d