md: async del_gendisk mode will be removed in future, please upgrade to mdadm-4.5+ block device autoloading is deprecated and will be removed. md/raid:md0: device ram0 operational as raid disk 0 md/raid:md0: raid level 5 active with 1 out of 1 devices, algorithm 2 ------------[ cut here ]------------ UBSAN: shift-out-of-bounds in ./include/linux/log2.h:57:13 shift exponent 64 is too large for 64-bit type 'unsigned long' CPU: 0 UID: 0 PID: 5354 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 ubsan_epilogue+0xa/0x30 lib/ubsan.c:233 __ubsan_handle_shift_out_of_bounds+0x36d/0x400 lib/ubsan.c:494 __roundup_pow_of_two include/linux/log2.h:57 [inline] raid5_set_limits+0x538/0x660 drivers/md/raid5.c:7951 raid5_run+0x1e86/0x2560 drivers/md/raid5.c:8249 md_run+0xc3d/0x1cd0 drivers/md/md.c:6779 do_md_run+0x35/0x720 drivers/md/md.c:6880 md_ioctl+0x1e2b/0x2610 drivers/md/md.c:8515 blkdev_ioctl+0x5e3/0x740 block/ioctl.c:798 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1dd639f559 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1dd7236fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f1dd6625fa0 RCX: 00007f1dd639f559 RDX: 0000000000000000 RSI: 00000000400c0930 RDI: 0000000000000007 RBP: 00007f1dd6436b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1dd6626038 R14: 00007f1dd6625fa0 R15: 00007ffe620b1cc8 ---[ end trace ]---