loop0: detected capacity change from 0 to 32768 bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names bcachefs (loop0): recovering from clean shutdown, journal seq 10 bcachefs (loop0): Doing compatible version upgrade from 1.7: mi_btree_bitmap to 1.12: rebalance_work_acct_fix running recovery passes: check_allocations invalid bkey u64s 11 type alloc_v4 POS_MIN len 0 ver 0: gen 0 oldest_gen 0 data_type sb journal_seq 1 need_discard 1 need_inc_gen 1 dirty_sectors 0 stripe_sectors 0 cached_sectors 0 stripe 0 stripe_redundancy 7 io_time[READ] 1 io_time[WRITE] 1 fragmentation 0 bp_start 8 invalid data type (got 1 should be 9): delete?, fixing invalid bkey u64s 11 type alloc_v4 0:127:0 len 0 ver 0: gen 0 oldest_gen 0 data_type sb journal_seq 1 need_discard 1 need_inc_gen 1 dirty_sectors 256 stripe_sectors 0 cached_sectors 0 stripe 17327 stripe_redundancy 0 io_time[READ] 1 io_time[WRITE] 1 fragmentation 0 bp_start 8 invalid data type (got 1 should be 7): delete?, fixing bcachefs (loop0): flagging btree deleted_inodes lost data error reading btree root deleted_inodes l=0: btree_node_read_error, fixing bcachefs (loop0): will run btree node scan bcachefs (loop0): scan_for_btree_nodes... bcachefs (loop0): error starting kthread: 1 bcachefs (loop0): bch2_fs_recovery(): error EPERM bcachefs (loop0): bch2_fs_start(): error starting filesystem EPERM bcachefs (loop0): shutting down bcachefs (loop0): shutdown complete bcachefs: bch2_fs_get_tree() error: EPERM Filesystem bcachefs get_tree() didn't set fc->root, returned 1 ------------[ cut here ]------------ kernel BUG at fs/super.c:1810! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5114 Comm: syz.0.0 Not tainted 6.11.0-syzkaller-10669-g11a299a7933e #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:vfs_get_tree+0x29f/0x2b0 fs/super.c:1810 Code: 1e 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 14 c4 ec ff 48 8b 33 48 c7 c7 20 d4 18 8c 44 89 e2 e8 92 98 af 09 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 90 90 90 90 90 RSP: 0018:ffffc90002e7fd08 EFLAGS: 00010246 RAX: 000000000000003e RBX: ffffffff8ef5ba00 RCX: 63ab604680a60200 RDX: ffffc9000b5f2000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 1ffff11008054216 R08: ffffffff81746c8c R09: 1ffff11003f8519a R10: dffffc0000000000 R11: ffffed1003f8519b R12: 0000000000000001 R13: dffffc0000000000 R14: ffff8880402a1098 R15: ffff8880402a10b0 FS: 00007f9e252d46c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555712245f8 CR3: 0000000011b2e000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_new_mount+0x2be/0xb40 fs/namespace.c:3507 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4055 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4032 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:0x7f9e2457f6da 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:00007f9e252d3e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f9e252d3ef0 RCX: 00007f9e2457f6da RDX: 00000000200001c0 RSI: 0000000020000000 RDI: 00007f9e252d3eb0 RBP: 00000000200001c0 R08: 00007f9e252d3ef0 R09: 0000000000404000 R10: 0000000000404000 R11: 0000000000000246 R12: 0000000020000000 R13: 00007f9e252d3eb0 R14: 000000000000594e R15: 0000000020000a40 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:vfs_get_tree+0x29f/0x2b0 fs/super.c:1810 Code: 1e 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 14 c4 ec ff 48 8b 33 48 c7 c7 20 d4 18 8c 44 89 e2 e8 92 98 af 09 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 90 90 90 90 90 RSP: 0018:ffffc90002e7fd08 EFLAGS: 00010246 RAX: 000000000000003e RBX: ffffffff8ef5ba00 RCX: 63ab604680a60200 RDX: ffffc9000b5f2000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 1ffff11008054216 R08: ffffffff81746c8c R09: 1ffff11003f8519a R10: dffffc0000000000 R11: ffffed1003f8519b R12: 0000000000000001 R13: dffffc0000000000 R14: ffff8880402a1098 R15: ffff8880402a10b0 FS: 00007f9e252d46c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555712245f8 CR3: 0000000011b2e000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400