running recovery passes: check_allocations bcachefs (loop3): accounting_read... done bcachefs (loop3): alloc_read... done bcachefs (loop3): stripes_read... done bcachefs (loop3): snapshots_read... done bcachefs (loop3): check_allocations... ------------[ cut here ]------------ kernel BUG at fs/bcachefs/buckets.h:96! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 PID: 8056 Comm: syz-executor.3 Tainted: G W 6.10.0-rc1-next-20240603-syzkaller #0 Tainted: [W]=WARN 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 24 e2 62 fd e9 29 ff ff ff 89 f9 80 e1 07 fe c1 38 c1 0f 8c 36 ff ff ff e8 bb 73 ec fd e9 2c ff ff ff e8 11 85 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:ffffc9000e256208 EFLAGS: 00010246 RAX: ffffffff840ff95f RBX: 000000000001007c RCX: 0000000000040000 RDX: ffffc9000a123000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffff88802e016000 R08: ffffffff840ff8c1 R09: 0000000000000000 R10: ffffc9000e256fd0 R11: fffff52001c4adfc R12: ffff88802b8e2130 R13: ffff88802b8e2118 R14: 000000000001007c R15: 0000000000000080 FS: 00007f28ad0c96c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f07ec625000 CR3: 0000000063948000 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