mirror-linux/arch/s390
Alexander Egorenkov ddc6cbef3e s390/boot/vmlinux.lds.S: Ensure bzImage ends with SecureBoot trailer
Since commit 3e86e4d74c ("kbuild: keep .modinfo section in
vmlinux.unstripped") the .modinfo section which has SHF_ALLOC ends up
in bzImage after the SecureBoot trailer. This breaks SecureBoot because
the bootloader can no longer find the SecureBoot trailer with kernel's
signature at the expected location in bzImage. To fix the bug,
move discarded sections before the ELF_DETAILS macro and discard
the .modinfo section which is not needed by the decompressor.

Fixes: 3e86e4d74c ("kbuild: keep .modinfo section in vmlinux.unstripped")
Cc: stable@vger.kernel.org
Suggested-by: Vasily Gorbik <gor@linux.ibm.com>
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Tested-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2026-01-22 15:15:50 +01:00
..
appldata s390: Remove KMSG_COMPONENT macro 2025-11-24 11:45:21 +01:00
boot s390/boot/vmlinux.lds.S: Ensure bzImage ends with SecureBoot trailer 2026-01-22 15:15:50 +01:00
configs This update includes the following changes: 2025-12-03 11:28:38 -08:00
crypto Crypto library updates for 6.19 2025-12-02 18:01:03 -08:00
hypfs Some filesystems use a kinda-sorta controlled dentry refcount leak to pin 2025-12-05 14:36:21 -08:00
include s390/ipl: Clear SBP flag when bootprog is set 2025-12-14 11:03:57 +01:00
kernel s390/vdso: Disable kstack erase 2026-01-17 15:51:28 +01:00
kvm ARM: 2025-12-05 17:01:20 -08:00
lib s390: Remove superfluous newlines from inline assemblies 2025-09-29 13:52:08 +02:00
mm KVM: s390: Fix gmap_helper_zap_one_page() again 2025-12-08 13:06:14 +01:00
net bpf-next-6.19 2025-12-03 16:54:54 -08:00
pci s390/pci: Annotate lock context imbalance in zpci_release_device() 2025-12-14 11:03:58 +01:00
purgatory kbuild: Add '-fms-extensions' to areas with dedicated CFLAGS 2025-10-30 21:26:28 -04:00
tools s390: Add Dat-Enhancement facility 1 to architecture level set 2025-11-06 14:12:30 +01:00
Kbuild
Kconfig s390/pci: Migrate s390 IRQ logic to IRQ domain API 2025-12-07 16:15:23 +01:00
Kconfig.debug s390/mm: Add configurable STRICT_MM_TYPECHECKS 2025-03-11 15:27:34 +01:00
Makefile s390 updates for 6.19 merge window 2025-12-02 16:37:00 -08:00
Makefile.postlink kbuild: Create intermediate vmlinux build with relocations preserved 2025-03-17 00:29:50 +09:00