------------[ cut here ]------------ WARNING: CPU: 0 PID: 5115 at fs/bcachefs/error.c:242 __bch2_fsck_err+0x131c/0x1500 fs/bcachefs/error.c:242 Modules linked in: CPU: 0 UID: 0 PID: 5115 Comm: read_btree_node Not tainted 6.11.0-syzkaller-08829-gaf9c191ac2a0 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__bch2_fsck_err+0x131c/0x1500 fs/bcachefs/error.c:242 Code: f9 ff ff e8 46 80 d4 f5 41 bc 5d f7 ff ff 45 31 f6 e9 7a fa ff ff e8 33 80 d4 f5 90 0f 0b 90 e9 42 ee ff ff e8 25 80 d4 f5 90 <0f> 0b 90 e9 8b ee ff ff 89 f9 80 e1 07 38 c1 0f 8c c7 ed ff ff e8 RSP: 0018:ffffc90002f0ea80 EFLAGS: 00010293 RAX: ffffffff8bc0398b RBX: 0000000000000000 RCX: ffff888000bfa440 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffc90002f0e9c0 RBP: ffffc90002f0ec30 R08: ffffc90002f0e9c7 R09: 1ffff920005e1d38 R10: dffffc0000000000 R11: fffff520005e1d39 R12: 0000000000000090 R13: dffffc0000000000 R14: 0000000000000090 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5d4c8cad78 CR3: 0000000012760000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __bch2_bkey_fsck_err+0x1a2/0x230 fs/bcachefs/error.c:436 bch2_bkey_ptrs_validate+0x1458/0x1d20 bch2_btree_node_read_done+0x3dc6/0x5d60 fs/bcachefs/btree_io.c:1219 btree_node_read_work+0x68b/0x1260 fs/bcachefs/btree_io.c:1323 bch2_btree_node_read+0x2433/0x2a10 bch2_btree_node_fill+0xcd1/0x1320 fs/bcachefs/btree_cache.c:886 bch2_btree_node_get_noiter+0x9b3/0xf50 fs/bcachefs/btree_cache.c:1155 found_btree_node_is_readable fs/bcachefs/btree_node_scan.c:85 [inline] try_read_btree_node fs/bcachefs/btree_node_scan.c:190 [inline] read_btree_nodes_worker+0x122c/0x20b0 fs/bcachefs/btree_node_scan.c:239 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244