Re: [PATCH] integrity: Do not load MOK and MOKx when secure boot be disabled

From: joeyli
Date: Wed Dec 22 2021 - 23:14:33 EST


Hi Mimi,

On Tue, Dec 21, 2021 at 06:28:31PM -0500, Mimi Zohar wrote:
> On Sat, 2021-12-18 at 10:09 +0800, Lee, Chun-Yi wrote:
> > The security of Machine Owner Key (MOK) relies on secure boot. When
> > secure boot is disabled, EFI firmware will not verify binary code. Then
> > arbitrary efi binary code can modify MOK when rebooting.
> >
> > This patch prevents MOK/MOKx be loaded when secure boot be disabled.
> >
> > Signed-off-by: "Lee, Chun-Yi" <jlee@xxxxxxxx>
>
> Thanks, Joey!
>
> This patch is now queued in the next-integrity-testing branch waiting
> further review/tags.
>
> Mimi

Thanks for your review!
Joey Lee