-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: prevent unsigned kexec with secureboot
This ensures that when kernel is booted in SecureBoot mode, kexec is only permitted if the kernel is signed with a key from either `.system` or `.platform` keyring. `.platform` keyring will be populated by keys in UEFI db. We do not need to set `CONFIG_KEXEC_SIG_FORCE`, since it will break non secureboot-ed Talos installed. But if Talos is secrueboot-ed, this is enforced via `CONFIG_IMA_ARCH_POLICY`. See: * https://elixir.bootlin.com/linux/latest/source/kernel/kexec_file.c * https://elixir.bootlin.com/linux/latest/source/security/integrity/ima/ima_efi.c#L71 Signed-off-by: Noel Georgi <[email protected]>
- Loading branch information
Showing
3 changed files
with
42 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters