Greeting, FYI, we noticed the following commit (built with gcc-9): commit: 0a1d3d4a3c5b6ac940e93041df8ad78430f0df95 ("[PATCH 2/2] lib: Add test for bitmap_cut()") url: https://github.com/0day-ci/linux/commits/Stefano-Brivio/lib-Fix-bitmap_cut-for-overlaps-add-test/20200608-171544 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): +----------------------------------------------------------------------------------------+------------+------------+ | | 28010335d0 | 0a1d3d4a3c | +----------------------------------------------------------------------------------------+------------+------------+ | boot_successes | 6 | 0 | | boot_failures | 2 | 8 | | Kernel_panic-not_syncing:VFS:Unable_to_mount_root_fs_on_unknown-block(#,#) | 2 | | | Kernel_panic-not_syncing:stack-protector:Kernel_stack_is_corrupted_in:test_bitmap_init | 0 | 8 | +----------------------------------------------------------------------------------------+------------+------------+ If you fix the issue, kindly add following tag Reported-by: kernel test robot [ 33.028685] test_printf: all 364 tests passed [ 33.030451] test_bitmap: loaded. [ 33.031050] test_bitmap: parselist: 14: input is '0-2047:128/256' OK, Time: 721 [ 33.031968] test_bitmap: parselist_user: 14: input is '0-2047:128/256' OK, Time: 1161 [ 33.034559] test_bitmap: all 1663 tests passed [ 33.035085] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: test_bitmap_init+0x202/0x20b [ 33.036182] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.7.0-12705-g0a1d3d4a3c5b6 #2 [ 33.036182] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 33.036182] Call Trace: [ 33.036182] dump_stack+0x50/0x63 [ 33.036182] panic+0x100/0x2b4 [ 33.036182] ? printk+0x53/0x6a [ 33.036182] ? test_bitmap_init+0x202/0x20b [ 33.036182] __stack_chk_fail+0x10/0x10 [ 33.036182] test_bitmap_init+0x202/0x20b [ 33.036182] ? test_zero_clear+0x1ab/0x1ab [ 33.036182] do_one_initcall+0x6e/0x158 [ 33.036182] kernel_init_freeable+0x202/0x29f [ 33.036182] ? rest_init+0xf7/0xf7 [ 33.036182] kernel_init+0x5/0xf0 [ 33.036182] ret_from_fork+0x1f/0x30 [ 33.036182] Kernel Offset: disabled Elapsed time: 60 qemu-img create -f qcow2 disk-vm-snb-24-0 256G To reproduce: # build kernel cd linux cp config-5.7.0-12705-g0a1d3d4a3c5b6 .config make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage git clone https://github.com/intel/lkp-tests.git cd lkp-tests bin/lkp qemu -k job-script # job-script is attached in this email Thanks, lkp