bcachefs (loop4): journal_replay... done bcachefs (loop4): resume_logged_ops... done ------------[ cut here ]------------ UBSAN: shift-out-of-bounds in ./include/linux/log2.h:67:13 shift exponent 4294967295 is too large for 64-bit type 'unsigned long' CPU: 1 PID: 6588 Comm: syz-executor.4 Tainted: G W 6.10.0-rc3-syzkaller-gac2193b4b460 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:317 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:324 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:114 dump_stack+0x1c/0x28 lib/dump_stack.c:123 ubsan_epilogue lib/ubsan.c:231 [inline] __ubsan_handle_shift_out_of_bounds+0x2f4/0x36c lib/ubsan.c:468 __rounddown_pow_of_two include/linux/log2.h:67 [inline] eytzinger1_first fs/bcachefs/eytzinger.h:51 [inline] eytzinger0_first fs/bcachefs/eytzinger.h:194 [inline] bch2_blacklist_entries_gc+0x510/0x534 fs/bcachefs/journal_seq_blacklist.c:235 bch2_fs_recovery+0x405c/0x5488 fs/bcachefs/recovery.c:891 bch2_fs_start+0x30c/0x53c fs/bcachefs/super.c:1031 bch2_fs_open+0x8b4/0xb64 fs/bcachefs/super.c:2123 bch2_mount+0x4fc/0xe18 fs/bcachefs/fs.c:1917 legacy_get_tree+0xd4/0x16c fs/fs_context.c:662 vfs_get_tree+0x90/0x288 fs/super.c:1780 do_new_mount+0x278/0x900 fs/namespace.c:3352 path_mount+0x590/0xe04 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount fs/namespace.c:3875 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3875 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 ---[ end trace ]--- bcachefs (loop4): going read-write bcachefs (loop4): bch2_copygc_start(): error creating copygc thread EINTR bcachefs (loop4): error starting copygc thread bcachefs (loop4): going read-only bcachefs (loop4): finished waiting for writes to stop bcachefs (loop4): flushing journal and stopping allocators, journal seq 10 bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 10 bcachefs (loop4): shutdown complete, journal seq 11 bcachefs (loop4): marking filesystem clean bcachefs (loop4): bch2_fs_start(): error starting filesystem EINTR bcachefs (loop4): shutting down