bcachefs (loop7): set_may_go_rw(): error invalid_sb_journal bcachefs (loop7): error in recovery: invalid_sb_journal bcachefs (loop7): bch2_fs_start(): error starting filesystem invalid_sb_journal ------------[ cut here ]------------ WARNING: fs/bcachefs/super.c:1373 at bch2_dev_free+0x3db/0x480 fs/bcachefs/super.c:1373, CPU#1: syz.7.4554/27598 Modules linked in: CPU: 1 UID: 0 PID: 27598 Comm: syz.7.4554 Not tainted 6.16.0-rc6-next-20250718-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:bch2_dev_free+0x3db/0x480 fs/bcachefs/super.c:1373 Code: f7 e8 a9 f3 e1 ff 4c 89 ef e8 a1 f3 e1 ff 4c 89 ff 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d e9 9b d0 15 07 e8 86 24 67 fd 90 <0f> 0b 90 e9 2c fd ff ff e8 78 24 67 fd 90 0f 0b 90 e9 fe fd ff ff RSP: 0018:ffffc9000b6a78c8 EFLAGS: 00010246 RAX: ffffffff84588c8a RBX: dffffc0000000000 RCX: 0000000000080000 RDX: ffffc9001e804000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: 0000000000000000 R08: ffff88814c8fc807 R09: 1ffff1102991f900 R10: dffffc0000000000 R11: ffffed102991f901 R12: ffff888020bde128 R13: 0000000000000001 R14: 1ffff1100417bc24 R15: 1ffff1100417bc25 FS: 00007fe1b5c156c0(0000) GS:ffff888125ce3000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f80b799d000 CR3: 0000000059950000 CR4: 00000000003526f0 Call Trace: bch2_fs_free+0x4b3/0x5c0 fs/bcachefs/super.c:749 bch2_fs_get_tree+0xb76/0x1540 fs/bcachefs/fs.c:2572 vfs_get_tree+0x92/0x2b0 fs/super.c:1815 do_new_mount+0x2a2/0x9e0 fs/namespace.c:3805 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4321 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe1b4d9014a 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:00007fe1b5c14e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fe1b5c14ef0 RCX: 00007fe1b4d9014a RDX: 00002000000000c0 RSI: 0000200000000180 RDI: 00007fe1b5c14eb0 RBP: 00002000000000c0 R08: 00007fe1b5c14ef0 R09: 0000000000800000 R10: 0000000000800000 R11: 0000000000000246 R12: 0000200000000180 R13: 00007fe1b5c14eb0 R14: 000000000000593f R15: 0000200000005cc0