[PATCH v6 3/6] x86/kexec: Carry forward IMA measurement log on kexec
Nageswara R Sastry
nasastry at in.ibm.com
Wed Jul 20 06:44:50 PDT 2022
________________________________________
> From: Stefan Berger <stefanb at linux.ibm.com>
> Sent: 07 July 2022 10:50 PM
> To: kexec at lists.infradead.org; devicetree at vger.kernel.org; linux-integrity at vger.kernel.org; linux-kernel at vger.kernel.org; linuxppc-dev at lists.ozlabs.org
> Cc: nayna at linux.ibm.com; Nageswara R Sastry; mpe at ellerman.id.au; Jonathan McDowell; Borislav Petkov; Mimi Zohar
> Subject: [PATCH v6 3/6] x86/kexec: Carry forward IMA measurement log on kexec
> From: Jonathan McDowell <noodles at fb.com>
> On kexec file load, the Integrity Measurement Architecture (IMA)
> subsystem may verify the IMA signature of the kernel and initramfs, and
> measure it. The command line parameters passed to the kernel in the
> kexec call may also be measured by IMA.
> A remote attestation service can verify a TPM quote based on the TPM
> event log, the IMA measurement list and the TPM PCR data. This can
> be achieved only if the IMA measurement log is carried over from the
> current kernel to the next kernel across the kexec call.
> PowerPC and ARM64 both achieve this using device tree with a
> "linux,ima-kexec-buffer" node. x86 platforms generally don't make use of
> device tree, so use the setup_data mechanism to pass the IMA buffer to
> the new kernel.
> Signed-off-by: Jonathan McDowell <noodles at fb.com>
> Signed-off-by: Borislav Petkov <bp at suse.de>
> Reviewed-by: Mimi Zohar <zohar at linux.ibm.com> # IMA function definitions
> Link: https://lore.kernel.org/r/YmKyvlF3my1yWTvK@noodles-fedora-PC23Y6EG
> ---
Tested-by: Nageswara R Sastry <rnsastry at linux.ibm.com>
More information about the kexec
mailing list