------------[ cut here ]------------ WARNING: CPU: 0 PID: 5121 at fs/bcachefs/error.c:242 __bch2_fsck_err+0x131c/0x1500 fs/bcachefs/error.c:242 Modules linked in: CPU: 0 UID: 0 PID: 5121 Comm: read_btree_node Not tainted 6.11.0-syzkaller-11728-gad46e8f95e93 #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 b6 a9 d1 f5 41 bc 5d f7 ff ff 45 31 f6 e9 7a fa ff ff e8 a3 a9 d1 f5 90 0f 0b 90 e9 42 ee ff ff e8 95 a9 d1 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:ffffc90002e3eaa0 EFLAGS: 00010293 RAX: ffffffff8bc309cb RBX: 0000000000000000 RCX: ffff8880002fc880 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffc90002e3e9e0 RBP: ffffc90002e3ec50 R08: ffffc90002e3e9e7 R09: 1ffff920005c7d3c R10: dffffc0000000000 R11: fffff520005c7d3d R12: 000000000000009d R13: dffffc0000000000 R14: 000000000000009d R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f43d2611760 CR3: 000000003e2ac000 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+0x171a/0x1d20 bch2_btree_node_read_done+0x3dc6/0x5d80 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+0xbb6/0x1200 fs/bcachefs/btree_cache.c:969 bch2_btree_node_get_noiter+0x9d5/0xf70 fs/bcachefs/btree_cache.c:1238 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