running recovery passes: check_allocations bcachefs (loop1): accounting_read... done bcachefs (loop1): alloc_read... done bcachefs (loop1): stripes_read... done bcachefs (loop1): snapshots_read... done bcachefs (loop1): check_allocations... ------------[ cut here ]------------ kernel BUG at fs/bcachefs/buckets.h:96! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 1 PID: 5812 Comm: syz-executor.1 Not tainted 6.10.0-rc1-next-20240531-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:gc_bucket+0x250/0x260 fs/bcachefs/buckets.h:96 Code: 8c e8 34 e1 62 fd e9 29 ff ff ff 89 f9 80 e1 07 fe c1 38 c1 0f 8c 36 ff ff ff e8 9b 71 ec fd e9 2c ff ff ff e8 71 84 86 fd 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 RSP: 0018:ffffc9001478e208 EFLAGS: 00010246 RAX: ffffffff840ff77f RBX: 000000000001007c RCX: 0000000000040000 RDX: ffffc90012b3c000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffff88805ce80000 R08: ffffffff840ff6e1 R09: 0000000000000000 R10: ffffc9001478efd0 R11: fffff520028f1dfc R12: ffff88807d520130 R13: ffff88807d520118 R14: 000000000001007c R15: 0000000000000080 FS: 00007f5b624566c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3edfd81198 CR3: 000000005fe6a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_gc_alloc_start fs/bcachefs/btree_gc.c:899 [inline] bch2_check_allocations+0xc63/0xb9d0 fs/bcachefs/btree_gc.c:1109