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 382C8F507 for ; Wed, 6 May 2026 11:30:32 +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=1778067032; cv=none; b=E8MpKkz9l4L8cnB10bhBMkUUrNvoWNAj66e9Wfta1DYNsy6Tk6csYRvETCo47T9MlL4lQxX+Q1A+NtMz1sPblnNR5xv6flyMP1fGRwN3ZIy0UMkapIE2SpzF3iSaOFLfCtYahFOboCmF9KIwx5c9yMlAwPjXRNMBS2CCYibW43I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067032; c=relaxed/simple; bh=SMvR21tMtEr8kNJwDLRUOii0gdZDR1PLo8wJ3G5jgQA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=h6h8gcfWK9RL3ESEmewFNjuOOhnfUXH0/RqrNk93DOJdkmPiGoWnjTCnm8VyFBpllhD+yXrq8GpZbLRui6WcpRLdzvJpJx6lTTtzC+o9lgfHB2SNYXXzyK1bR2jIOiCDSRFmUApNkhdmIKpjRObrWezgt6H3H+GYV1Cw1FdtEvk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hxjfG2YR; 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="hxjfG2YR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5052C2BCB8; Wed, 6 May 2026 11:30:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067032; bh=SMvR21tMtEr8kNJwDLRUOii0gdZDR1PLo8wJ3G5jgQA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=hxjfG2YRj2s/XWGdapAH8KYVpLU4xr4wDb1PLyXHBh0EaCug//iH3HD9K9+ZWdlPv ObOgNiSHOehZUQ055x6ottFE9ZSHBG43iu8hDaH0BQ/gu4BH0IvfN81M5YgtIK3sOz vpq27vuXJTlKIZU02W7SnKt6gWdImLujiyG2MGzo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43129: ima: verify the previous kernel's IMA buffer lies in addressable RAM Date: Wed, 6 May 2026 13:27:25 +0200 Message-ID: <2026050621-CVE-2026-43129-14c2@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=3046; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xGslMvTONlUvELriTvW48M7wUKMiHZKc0JdOQuG0LsA=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/VWeaS/rvLUqdkHhMuLP6i0PjhaJlbRuvTZryrfvqc xf3D2dbOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi8+YxzHdZYScgOfHprTfy QUdrp/5oitFh4GeYH9RyX4PtW1nC7yV7U648frT308xt4QA= 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: ima: verify the previous kernel's IMA buffer lies in addressable RAM Patch series "Address page fault in ima_restore_measurement_list()", v3. When the second-stage kernel is booted via kexec with a limiting command line such as "mem=" we observe a pafe fault that happens. BUG: unable to handle page fault for address: ffff97793ff47000 RIP: ima_restore_measurement_list+0xdc/0x45a #PF: error_code(0x0000) not-present page This happens on x86_64 only, as this is already fixed in aarch64 in commit: cbf9c4b9617b ("of: check previous kernel's ima-kexec-buffer against memory bounds") This patch (of 3): When the second-stage kernel is booted with a limiting command line (e.g. "mem="), the IMA measurement buffer handed over from the previous kernel may fall outside the addressable RAM of the new kernel. Accessing such a buffer can fault during early restore. Introduce a small generic helper, ima_validate_range(), which verifies that a physical [start, end] range for the previous-kernel IMA buffer lies within addressable memory: - On x86, use pfn_range_is_mapped(). - On OF based architectures, use page_is_ram(). The Linux kernel CVE team has assigned CVE-2026-43129 to this issue. Affected and fixed versions =========================== Fixed in 6.12.77 with commit f11d7d088f5ed54b31c6735854c12845eb60eb4a Fixed in 6.18.16 with commit 9e1f51c1ad57cc76a0e8b5eb27038f8973fff4fa Fixed in 6.19.6 with commit 5366ec7d2f793ce703c403d7fd4c25a3db365b9d Fixed in 7.0 with commit 10d1c75ed4382a8e79874379caa2ead8952734f9 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-43129 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: include/linux/ima.h security/integrity/ima/ima_kexec.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/f11d7d088f5ed54b31c6735854c12845eb60eb4a https://git.kernel.org/stable/c/9e1f51c1ad57cc76a0e8b5eb27038f8973fff4fa https://git.kernel.org/stable/c/5366ec7d2f793ce703c403d7fd4c25a3db365b9d https://git.kernel.org/stable/c/10d1c75ed4382a8e79874379caa2ead8952734f9