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:1186! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 6378 Comm: syz-executor Tainted: G W 6.10.0-rc2-syzkaller-g8867bbd4a056 #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+0x344/0x348 fs/bcachefs/journal.c:1184 lr : bch2_fs_journal_stop+0x344/0x348 fs/bcachefs/journal.c:1184 sp : ffff800099707720 x29: ffff8000997077c0 x28: 1fffe0002076957f x27: 0000000000000002 x26: dfff800000000000 x25: dfff800000000000 x24: ffff7000132e0ee4 x23: 00000000000001be x22: 1fffe000207694b8 x21: 000000000000000d x20: 000000000000000e x19: ffff000103b4a5c0 x18: 1fffe000367a01de x17: ffff80008f3bd000 x16: ffff80008033878c x15: 0000000000000001 x14: 1fffe0002076957f x13: 0000000000000000 x12: 0000000000000000 x11: ffff600020769580 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d992bc80 x7 : ffff800080257218 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800082925d10 x2 : 0000000000000000 x1 : 000000000000000d x0 : 000000000000000e Call trace: bch2_fs_journal_stop+0x344/0x348 fs/bcachefs/journal.c:1184 __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:613 bch2_put_super+0x40/0x50 fs/bcachefs/fs.c:1802 generic_shutdown_super+0x128/0x2b8 fs/super.c:642 bch2_kill_sb+0x40/0x58 fs/bcachefs/fs.c:2034 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 17ffffca 9770d318 (d4210000) ---[ end trace 0000000000000000 ]---