Greeting, FYI, we noticed the following commit (built with gcc-11): commit: ab66e7d1d8a90f6addac0da9b3ae13d77f095f76 ("[PATCH 2/3] fortify: cosmetic cleanups to __compiletime_strlen") url: https://github.com/intel-lab-lkp/linux/commits/Nick-Desaulniers/Fix-FORTIFY-y-UBSAN_LOCAL_BOUNDS-y/20220831-045536 base: https://git.kernel.org/cgit/linux/kernel/git/kees/linux.git for-next/hardening patch link: https://lore.kernel.org/linux-hardening/20220830205309.312864-3-ndesaulniers@google.com in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): early console in setup code Probing EDD (edd=off to disable)... ok No EFI environment detected. early console in extract_kernel input_data: 0x0000000003bad40d input_len: 0x0000000001246049 output: 0x0000000001000000 output_len: 0x0000000003a31a00 kernel_total_size: 0x0000000003e28000 needed_size: 0x0000000004000000 trampoline_32bit: 0x000000000009d000 Decompressing Linux... Parsing ELF... done. Booting the kernel. convert early boot stage from hang to failed BUG: kernel failed in early-boot stage, last printk: Booting the kernel. Linux version 6.0.0-rc2-00005-gab66e7d1d8a9 #1 If you fix the issue, kindly add following tag Reported-by: kernel test robot To reproduce: # build kernel cd linux cp config-6.0.0-rc2-00005-gab66e7d1d8a9 .config make HOSTCC=gcc-11 CC=gcc-11 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules make HOSTCC=gcc-11 CC=gcc-11 ARCH=x86_64 INSTALL_MOD_PATH= modules_install cd find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz git clone https://github.com/intel/lkp-tests.git cd lkp-tests bin/lkp qemu -k -m modules.cgz job-script # job-script is attached in this email # if come across any failure that blocks the test, # please remove ~/.lkp and /lkp dir to run from a clean state. -- 0-DAY CI Kernel Test Service https://01.org/lkp