From: David Howells Subject: Re: [GIT PULL] Kernel lockdown for secure boot Date: Wed, 04 Apr 2018 14:57:15 +0100 Message-ID: <27481.1522850235@warthog.procyon.org.uk> References: <20180404135251.GD16242@thunk.org> <24353.1522848817@warthog.procyon.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: In-Reply-To: <20180404135251.GD16242@thunk.org> Content-ID: <27480.1522850235.1@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org To: "Theodore Y. Ts'o" Cc: dhowells@redhat.com, Matthew Garrett , Linus Torvalds , luto@kernel.org, Ard Biesheuvel , jmorris@namei.org, Alan Cox , Greg Kroah-Hartman , Linux Kernel Mailing List , jforbes@redhat.com, linux-man@vger.kernel.org, jlee@suse.com, LSM List , linux-api@vger.kernel.org, Kees Cook , linux-efi List-Id: linux-api@vger.kernel.org Theodore Y. Ts'o wrote: > > Lockdown mode restricts kexec to booting an authorised image (where the > > authorisation may be by signature or by IMA). > > If that's true, then Matthew's assertion that lockdown w/o secure boot > is insecure goes away, no? No. Lockdown prevents the running kernel from being modified (or, at least, that's the hope). But it doesn't do anything to prevent the kernel being modified before lockdown is engaged. We are trying to use secureboot to protect the system to the point that lockdown can take over. David