bcachefs (loop0): mounting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=crc64,background_compression=zstd,str_hash=crc32c,nojournal_transaction_names bcachefs (loop0): recovering from clean shutdown, journal seq 8 bcachefs (loop0): alloc_read... done bcachefs (loop0): stripes_read... done bcachefs (loop0): snapshots_read... done bcachefs (loop0): journal_replay... done bcachefs (loop0): resume_logged_ops... done bcachefs (loop0): going read-write bcachefs (loop0): done starting filesystem ------------[ cut here ]------------ kernel BUG at fs/bcachefs/btree_iter.c:273! invalid opcode: 0000 [#1] PREEMPT SMP PTI CPU: 1 PID: 2368 Comm: syz-executor.0 Not tainted 6.9.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:bch2_btree_iter_verify_entry_exit fs/bcachefs/btree_iter.c:272 [inline] RIP: 0010:bch2_btree_iter_peek_slot+0x839/0x850 fs/bcachefs/btree_iter.c:2567 Code: fd ff ff 45 31 ff 31 d2 e9 55 fe ff ff 4c 89 f7 e8 4c aa ff ff 90 0f 0b 90 0f 0b 90 0f 0b e8 0e 26 13 01 90 0f 0b 90 0f 0b 90 <0f> 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 0f RSP: 0018:ffffc90001c7f970 EFLAGS: 00010246 RAX: 0000000000000161 RBX: 0000000000000020 RCX: 0000000000000000 RDX: 0000000000000820 RSI: ffff88810b3d42b8 RDI: ffff88810b3d42b8 RBP: 0000000000000000 R08: 0000000000000161 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffc90001c7fab0 R13: 0000000000001000 R14: ffff88810b3d4000 R15: ffffc90001c7fb50 FS: 00007f27c56336c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f27bb801150 CR3: 00000001053da000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __bch2_bkey_get_iter fs/bcachefs/btree_iter.h:563 [inline] bch2_bkey_get_iter fs/bcachefs/btree_iter.h:577 [inline] bch2_inode_peek_nowarn+0x96/0x140 fs/bcachefs/inode.c:340 bch2_inode_peek fs/bcachefs/inode.c:366 [inline] bch2_inode_find_by_inum_trans+0xaf/0x140 fs/bcachefs/inode.c:939 bch2_vfs_inode_get+0x165/0x2a0 fs/bcachefs/fs.c:254 bch2_mount+0x531/0x5c0 fs/bcachefs/fs.c:1985 legacy_get_tree+0x2d/0x60 fs/fs_context.c:662 vfs_get_tree+0x2a/0xf0 fs/super.c:1779 do_new_mount+0x15a/0x3a0 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x14b/0x1c0 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xe2/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f27c487e5ea Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f27c5632ef8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f27c5632f80 RCX: 00007f27c487e5ea RDX: 0000000020005b00 RSI: 0000000020000000 RDI: 00007f27c5632f40 RBP: 0000000020005b00 R08: 00007f27c5632f80 R09: 0000000000000098 R10: 0000000000000098 R11: 0000000000000246 R12: 0000000020000000 R13: 00007f27c5632f40 R14: 0000000000005b28 R15: 0000000020000300 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:bch2_btree_iter_verify_entry_exit fs/bcachefs/btree_iter.c:272 [inline] RIP: 0010:bch2_btree_iter_peek_slot+0x839/0x850 fs/bcachefs/btree_iter.c:2567 Code: fd ff ff 45 31 ff 31 d2 e9 55 fe ff ff 4c 89 f7 e8 4c aa ff ff 90 0f 0b 90 0f 0b 90 0f 0b e8 0e 26 13 01 90 0f 0b 90 0f 0b 90 <0f> 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 0f RSP: 0018:ffffc90001c7f970 EFLAGS: 00010246 RAX: 0000000000000161 RBX: 0000000000000020 RCX: 0000000000000000 RDX: 0000000000000820 RSI: ffff88810b3d42b8 RDI: ffff88810b3d42b8 RBP: 0000000000000000 R08: 0000000000000161 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffc90001c7fab0 R13: 0000000000001000 R14: ffff88810b3d4000 R15: ffffc90001c7fb50 FS: 00007f27c56336c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f27bb801150 CR3: 00000001053da000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400