Messages in this thread | | | From | Jonathan McDowell <> | Subject | Re: [tip: x86/boot] x86/kexec: Carry forward IMA measurement log on kexec | Date | Thu, 7 Jul 2022 17:37:20 +0000 |
| |
On Thu, Jul 07, 2022 at 04:52:32PM -0000, tip-bot2 for Jonathan McDowell wrote: > The following commit has been merged into the x86/boot branch of tip:
Just to clarify there's not some confusion going on; this is already in -next via tip/master via tip/x86/kdump.
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=x86/kdump&id=b69a2afd5afce9bf6d56e349d6ab592c916e20f2
> Commit-ID: 2faaa8f3ef16d794ecb28f9a7d9dca25cff98bb3 > Gitweb: https://git.kernel.org/tip/2faaa8f3ef16d794ecb28f9a7d9dca25cff98bb3 > Author: Jonathan McDowell <noodles@fb.com> > AuthorDate: Thu, 30 Jun 2022 08:36:12 > Committer: Dave Hansen <dave.hansen@linux.intel.com> > CommitterDate: Wed, 06 Jul 2022 15:45:55 -07:00 > > x86/kexec: Carry forward IMA measurement log on kexec > > 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. > > (Mimi, Baoquan, I haven't included your reviewed-bys because this has > changed the section annotations to __init and Boris reasonably enough > wants to make sure IMA folk are happy before taking this update.) > > Signed-off-by: Jonathan McDowell <noodles@fb.com> > Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> > Reviewed-by: Mimi Zohar <zohar@linux.ibm.com> # IMA function > Reviewed-by: Baoquan He <bhe@redhat.com> > Link: https://lore.kernel.org/r/YmKyvlF3my1yWTvK@noodles-fedora-PC23Y6EG > Link: https://lkml.kernel.org/r/Yr1geLyslnjKck86@noodles-fedora.dhcp.thefacebook.com
| |