aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kexec
diff options
context:
space:
mode:
authorLee, Chun-Yi <joeyli.kernel@gmail.com>2021-12-18 10:09:05 +0800
committerMimi Zohar <zohar@linux.ibm.com>2021-12-24 10:25:24 -0500
commit92ad19559ea9a8ec6f158480934ae26ebfe2c14f (patch)
tree7cab118eacabaecc222cbc63040de48a016005ee /tools/testing/selftests/kexec
parentima: Fix undefined arch_ima_get_secureboot() and co (diff)
downloadlinux-dev-92ad19559ea9a8ec6f158480934ae26ebfe2c14f.tar.xz
linux-dev-92ad19559ea9a8ec6f158480934ae26ebfe2c14f.zip
integrity: Do not load MOK and MOKx when secure boot be disabled
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@suse.com> Reviewed-by: Petr Vorel <pvorel@suse.cz> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'tools/testing/selftests/kexec')
0 files changed, 0 insertions, 0 deletions