bcachefs (loop4): flushing journal and stopping allocators, journal seq 13 bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 13 ------------[ cut here ]------------ kernel BUG at fs/bcachefs/journal.c:1189! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 6378 Comm: syz-executor Not tainted 6.10.0-rc7-syzkaller-gc912bf709078 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : bch2_fs_journal_stop+0x374/0x378 fs/bcachefs/journal.c:1187 lr : bch2_fs_journal_stop+0x374/0x378 fs/bcachefs/journal.c:1187 sp : ffff8000a8217700 x29: ffff8000a82177b0 x28: 1fffe0001f6b954f x27: 1fffe0001f6b9490 x26: dfff800000000000 x25: ffff700015042ee0 x24: 000000000000000d x23: 1fffe0001f6b9488 x22: 000000000000000d x21: 000000000000000e x20: ffff0000fb5ca440 x19: ffff0000fb5ca480 x18: 1fffe000367a3dde x17: ffff80008f2dd000 x16: ffff80008032d32c x15: 0000000000000001 x14: 1fffe0001f6b954f x13: 0000000000000000 x12: 0000000000000000 x11: ffff60001f6b9550 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d99f0000 x7 : ffff80008024b950 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000828eb418 x2 : 0000000000000000 x1 : 000000000000000d x0 : 000000000000000e Call trace: bch2_fs_journal_stop+0x374/0x378 fs/bcachefs/journal.c:1187 __bch2_fs_read_only+0x2a4/0x3d0 fs/bcachefs/super.c:291 bch2_fs_read_only+0x930/0xf0c fs/bcachefs/super.c:356 __bch2_fs_stop+0x100/0x510 fs/bcachefs/super.c:614 bch2_put_super+0x40/0x50 fs/bcachefs/fs.c:1811 generic_shutdown_super+0x128/0x2b8 fs/super.c:642 bch2_kill_sb+0x40/0x58 fs/bcachefs/fs.c:2044 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1267 __cleanup_mnt+0x20/0x30 fs/namespace.c:1274 task_work_run+0x230/0x2e0 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:713 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Code: c80a7e69 35ffffaa 17ffffc9 9771825b (d4210000) ---[ end trace 0000000000000000 ]---