bcachefs (loop0): Ratelimiting new instances of previous error accounting mismatch for nr_inodes : got 0 should be 7, fixing accounting mismatch for replicas btree: 1/1 [0]: got 0 should be 2816, fixing accounting mismatch for replicas user: 1/1 [0]: got 0 should be 16, fixing accounting mismatch for dev_data_type dev=0 data_type=free: got 0 0 0 should be 82 0 0, fixing accounting mismatch for dev_data_type dev=0 data_type=sb: got 0 0 0 should be 25 6152 248, fixing accounting mismatch for dev_data_type dev=0 data_type=journal: got 0 0 0 should be 9 2304 0, fixing accounting mismatch for dev_data_type dev=0 data_type=btree: got 0 0 0 should be 11 2816 0, fixing accounting mismatch for dev_data_type dev=0 data_type=user: got 0 0 0 should be 1 16 240, fixing accounting mismatch for compression lz4: got 0 0 0 should be 1 24 8, fixing accounting mismatch for compression incompressible: got 0 0 0 should be 1 8 8, fixing accounting mismatch for snapshot id=4294967295: got 0 should be 16, fixing bcachefs (loop0): Ratelimiting new instances of previous error done bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean bcachefs (loop0): scanning for old btree nodes: min_version 0.24: unwritten_extents bcachefs (loop0): going read-write u64s 13 type alloc_v4 0:25:0 len 0 ver 0: gen 0 oldest_gen 0 data_type journal journal_seq_nonempty 0 journal_seq_empty 0 need_discard 0 need_inc_gen 0 dirty_sectors 256 stripe_sectors 0 cached_sectors 0 stripe 0 stripe_redundancy 0 io_time[READ] 0 io_time[WRITE] 0 fragmentation 0 bp_start 8 incorrectly set at freespace:0:25:0 (free 0, genbits 0 should be 0), shutting down u64s 13 type alloc_v4 0:25:0 len 0 ver 0: gen 0 oldest_gen 0 data_type journal journal_seq_nonempty 0 journal_seq_empty 0 need_discard 0 need_inc_gen 0 dirty_sectors 256 stripe_sectors 0 cached_sectors 0 stripe 0 stripe_redundancy 0 io_time[READ] 0 io_time[WRITE] 0 fragmentation 0 bp_start 8 incorrectly set at freespace:0:25:0 (free 0, genbits 0 should be 0), shutting down bcachefs (loop0): bch2_btree_update_start(): error fsck_errors_not_fixed Kernel panic - not syncing: trans should be locked, unlocked by bch2_btree_update_start+0x116b/0x14e0 fs/bcachefs/btree_update_interior.c:1251 CPU: 0 UID: 0 PID: 5318 Comm: syz.0.0 Not tainted 6.13.0-syzkaller-08291-g805ba04cb7cc #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 panic+0x349/0x880 kernel/panic.c:354 bch2_trans_unlocked_or_in_restart_error+0xa5/0x100 fs/bcachefs/btree_iter.c:1471 bch2_trans_verify_not_unlocked_or_in_restart fs/bcachefs/btree_iter.h:334 [inline] bch2_path_get+0x1286/0x15d0 fs/bcachefs/btree_iter.c:1755 bch2_trans_iter_init_common fs/bcachefs/btree_iter.h:500 [inline] bch2_trans_node_iter_init+0x3e0/0x720 fs/bcachefs/btree_iter.c:3071 bch2_move_btree+0x4ce/0xdf0 fs/bcachefs/move.c:904 bch2_scan_old_btree_nodes+0x14b/0x3c0 fs/bcachefs/move.c:1053 bch2_fs_recovery+0x3869/0x3de0 fs/bcachefs/recovery.c:1051 bch2_fs_start+0x37c/0x610 fs/bcachefs/super.c:1030 bch2_fs_get_tree+0xd8d/0x1740 fs/bcachefs/fs.c:2203 vfs_get_tree+0x90/0x2b0 fs/super.c:1814 do_new_mount+0x2be/0xb40 fs/namespace.c:3560 do_mount fs/namespace.c:3900 [inline] __do_sys_mount fs/namespace.c:4111 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4088 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f874cf8e54a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f87493f4e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f87493f4ef0 RCX: 00007f874cf8e54a RDX: 00000000200000c0 RSI: 0000000020000000 RDI: 00007f87493f4eb0 RBP: 00000000200000c0 R08: 00007f87493f4ef0 R09: 0000000002010081 R10: 0000000002010081 R11: 0000000000000246 R12: 0000000020000000 R13: 00007f87493f4eb0 R14: 0000000000005918 R15: 0000000020000280 Kernel Offset: disabled Rebooting in 86400 seconds..