[PATCH 05/27] kexec: Disable at runtime if the kernel is locked down
James Morris
james.l.morris at oracle.com
Fri Oct 20 23:22:41 UTC 2017
On Thu, 19 Oct 2017, David Howells wrote:
> From: Matthew Garrett <matthew.garrett at nebula.com>
>
> kexec permits the loading and execution of arbitrary code in ring 0, which
> is something that lock-down is meant to prevent. It makes sense to disable
> kexec in this situation.
>
> This does not affect kexec_file_load() which can check for a signature on the
> image to be booted.
>
> Signed-off-by: Matthew Garrett <matthew.garrett at nebula.com>
> Signed-off-by: David Howells <dhowells at redhat.com>
> Acked-by: Dave Young <dyoung at redhat.com>
> cc: kexec at lists.infradead.org
Reviewed-by: James Morris <james.l.morris at oracle.com>
--
James Morris
<james.l.morris at oracle.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the Linux-security-module-archive
mailing list