md/raid:md4: device ram8 operational as raid disk 0 md/raid:md4: 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: 1 UID: 0 PID: 5577 Comm: syz.4.127 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/23/2026 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 ubsan_epilogue+0x14/0x48 lib/ubsan.c:233 __ubsan_handle_shift_out_of_bounds+0x224/0x264 lib/ubsan.c:494 __roundup_pow_of_two include/linux/log2.h:57 [inline] raid5_set_limits+0x470/0x510 drivers/md/raid5.c:7951 raid5_run+0x1554/0x1b68 drivers/md/raid5.c:8249 md_run+0xb10/0x19e8 drivers/md/md.c:6779 do_md_run+0x4c/0x4e4 drivers/md/md.c:6880 md_ioctl+0x1bf8/0x23d4 drivers/md/md.c:8515 blkdev_ioctl+0x574/0x904 block/ioctl.c:798 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl fs/ioctl.c:583 [inline] __arm64_sys_ioctl+0x154/0x1cc fs/ioctl.c:583 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x60/0x1d8 arch/arm64/kernel/entry-common.c:796 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:815 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:606 ---[ end trace ]---