bcachefs (loop0): check_snapshot_trees... done
bcachefs (loop0): check_snapshots...
bcachefs (loop0): snapshot points to missing/incorrect tree:
u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: is_subvol 1 deleted 0 parent 0 children 0 0 subvol 1 tree 0, fixing
done
bcachefs (loop0): check_subvols... done
bcachefs (loop0): check_subvol_children... done
bcachefs (loop0): delete_dead_snapshots... done
bcachefs (loop0): check_inodes... done
bcachefs (loop0): check_extents... done
bcachefs (loop0): check_indirect_extents... done
bcachefs (loop0): check_dirents... done
bcachefs (loop0): check_xattrs... done
bcachefs (loop0): check_root... done
bcachefs (loop0): check_unreachable_inodes... done
bcachefs (loop0): check_subvolume_structure... done
bcachefs (loop0): check_directory_structure... done
bcachefs (loop0): check_nlinks...
bcachefs (loop0): inode 536870914 type reg has wrong i_nlink (2780562353, should be 1), fixing
done
bcachefs (loop0): resume_logged_ops... done
bcachefs (loop0): delete_dead_inodes... done
bcachefs (loop0): set_fs_needs_rebalance... done
bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean
bcachefs (loop0): check_alloc_info... done
bcachefs (loop0): check_lrus... done
bcachefs (loop0): check_btree_backpointers... done
bcachefs (loop0): check_backpointers_to_extents... done
bcachefs (loop0): check_extents_to_backpointers... done
bcachefs (loop0): check_alloc_to_lru_refs... done
bcachefs (loop0): bucket_gens_init... done
bcachefs (loop0): check_snapshot_trees... done
bcachefs (loop0): check_snapshots... done
bcachefs (loop0): check_subvols... done
bcachefs (loop0): check_subvol_children... done
bcachefs (loop0): delete_dead_snapshots... done
bcachefs (loop0): check_inodes... done
bcachefs (loop0): check_extents... done
bcachefs (loop0): check_indirect_extents... done
bcachefs (loop0): check_dirents... done
bcachefs (loop0): check_xattrs... done
bcachefs (loop0): check_root... done
bcachefs (loop0): check_unreachable_inodes... done
bcachefs (loop0): check_subvolume_structure... done
bcachefs (loop0): check_directory_structure... done
bcachefs (loop0): check_nlinks... done
bcachefs (loop0): resume_logged_ops... done
bcachefs (loop0): delete_dead_inodes... done
bcachefs (loop0): set_fs_needs_rebalance... done
bcachefs (loop0): done starting filesystem
Kernel panic - not syncing: in transaction restart: transaction_restart_relock, last restarted by
[<0>] btree_trans_restart_ip fs/bcachefs/btree_iter.h:353 [inline]
[<0>] btree_trans_restart fs/bcachefs/btree_iter.h:361 [inline]
[<0>] bch2_trans_relock_fail+0x501/0xb30 fs/bcachefs/btree_locking.c:763
[<0>] __bch2_trans_relock+0x4ed/0x600 fs/bcachefs/btree_locking.c:783
[<0>] bch2_new_inode fs/bcachefs/fs.c:467 [inline]
[<0>] bch2_inode_hash_init_insert+0x113/0x170 fs/bcachefs/fs.c:484
[<0>] bch2_vfs_inode_get+0x26e/0x310 fs/bcachefs/fs.c:507
[<0>] bch2_fs_get_tree+0x12d8/0x18f0 fs/bcachefs/fs.c:2257
[<0>] vfs_get_tree+0x90/0x2b0 fs/super.c:1759
[<0>] do_new_mount+0x2cf/0xb70 fs/namespace.c:3881
[<0>] do_mount fs/namespace.c:4221 [inline]
[<0>] __do_sys_mount fs/namespace.c:4432 [inline]
[<0>] __se_sys_mount+0x38c/0x400 fs/namespace.c:4409
[<0>] do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
[<0>] do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94
[<0>] entry_SYSCALL_64_after_hwframe+0x77/0x7f
CPU: 0 UID: 0 PID: 5323 Comm: syz.0.0 Not tainted 6.15.0-rc3-syzkaller-00032-ga79be02bba5c #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
<TASK>
__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_in_restart_error+0xf2/0x120 fs/bcachefs/btree_iter.c:1441
bch2_trans_put+0xf91/0x1030 fs/bcachefs/btree_iter.c:3420
bch2_vfs_inode_get+0x281/0x310 fs/bcachefs/fs.c:508
bch2_fs_get_tree+0x12d8/0x18f0 fs/bcachefs/fs.c:2257
vfs_get_tree+0x90/0x2b0 fs/super.c:1759
do_new_mount+0x2cf/0xb70 fs/namespace.c:3881
do_mount fs/namespace.c:4221 [inline]
__do_sys_mount fs/namespace.c:4432 [inline]
__se_sys_mount+0x38c/0x400 fs/namespace.c:4409
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f906779010a
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:00007f90686c6e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f90686c6ef0 RCX: 00007f906779010a
RDX: 00002000000000c0 RSI: 0000200000000000 RDI: 00007f90686c6eb0
RBP: 00002000000000c0 R08: 00007f90686c6ef0 R09: 0000000000000890
R10: 0000000000000890 R11: 0000000000000246 R12: 0000200000000000
R13: 00007f90686c6eb0 R14: 0000000000005922 R15: 0000200000000200
</TASK>
Kernel Offset: disabled
Rebooting in 86400 seconds..