Kexec: Sign Image before packing into EFI STUB
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Makefile.zboot: Sign Image before packing into EFI-STUB shelldrivers/ | +13 | 6 replies | |
| 2/2 | kexec: Introduce KEXEC_SIGN_IMAGE config optionkernel/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Kexec: Sign Image before packing into EFI STUB
At present, the kexec_file_load of either zboot or UKI kernel relies on the user space to parse and extract the Image, and then pass the Image through that syscall. During this process, the outmost signature on zboot or UKI kernel is stripped and discarded.
On the other hand, a secure boot platform enforces the signature verfiication on the kernel image passed through the kexec_file_load syscall. To cater to this requirement, this patch applies signature on the PE format 'Image' before padding.
The key used to sign is the same as module sign key, and the signing tool is sbsign.
Cc: Ard Biesheuvel <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Baoquan He <[email protected]>
Cc: Dave Young <[email protected]>
Cc: Eric Biederman <[email protected]>
To: [email protected]
To: [email protected]
Pingfan Liu (2):
Makefile.zboot: Sign Image before packing into EFI-STUB shell
kexec: Introduce KEXEC_SIGN_IMAGE config option
drivers/firmware/efi/libstub/Makefile.zboot | 13 +++++++++++++ kernel/Kconfig.kexec | 9 +++++++++ 2 files changed, 22 insertions(+)
Signature · 1 line
2.41.0