[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8bea9e61be96e0358a43e320f9b89b742e8ca992.camel@linux.ibm.com>
Date: Wed, 13 Jul 2022 10:23:35 -0400
From: Mimi Zohar <zohar@...ux.ibm.com>
To: Coiby Xu <coxu@...hat.com>, linux-integrity@...r.kernel.org
Cc: kexec@...ts.infradead.org, Baoquan He <bhe@...hat.com>,
Eric Biederman <ebiederm@...ssion.com>,
Dmitry Kasatkin <dmitry.kasatkin@...il.com>,
James Morris <jmorris@...ei.org>,
"Serge E. Hallyn" <serge@...lyn.com>, Jiri Bohac <jbohac@...e.cz>,
David Howells <dhowells@...hat.com>,
Matthew Garrett <mjg59@...gle.com>,
open list <linux-kernel@...r.kernel.org>,
"open list:SECURITY SUBSYSTEM"
<linux-security-module@...r.kernel.org>
Subject: Re: [PATCH v2] ima: force signature verification when
CONFIG_KEXEC_SIG is configured
On Wed, 2022-07-13 at 15:21 +0800, Coiby Xu wrote:
> Currently, an unsigned kernel could be kexec'ed when IMA arch specific
> policy is configured unless lockdown is enabled. Enforce kernel
> signature verification check in the kexec_file_load syscall when IMA
> arch specific policy is configured.
>
> Fixes: 99d5cadfde2b ("kexec_file: split KEXEC_VERIFY_SIG into KEXEC_SIG and KEXEC_SIG_FORCE")
> Reported-by: Mimi Zohar <zohar@...ux.ibm.com>
> Suggested-by: Mimi Zohar <zohar@...ux.ibm.com>
> Signed-off-by: Coiby Xu <coxu@...hat.com>
> ---
> v2
> - don't include linux/kexec.h since it's already been included in
> linux/ima.h
> - fix build errors when KEXEC_FILE/KEXEC_CORE is disable as caught by
> kernel test robot <lkp@...el.com>
Thanks, Coiby. This version of the patch is now queued in next-
integrity/next-
integrity-testing.
Mimi
Powered by blists - more mailing lists