bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 7 bcachefs (loop2): clean shutdown complete, journal seq 8 bcachefs: bch2_verify_accounting_clean() fs_usage_base.reserved mismatch: 0 != 1 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 6562 at fs/bcachefs/disk_accounting.c:1055 bch2_verify_accounting_clean+0x1998/0x1a1c fs/bcachefs/disk_accounting.c:1053 Modules linked in: CPU: 1 UID: 0 PID: 6562 Comm: syz-executor Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/18/2025 pstate: 83400005 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : bch2_verify_accounting_clean+0x1998/0x1a1c fs/bcachefs/disk_accounting.c:1053 lr : bch2_verify_accounting_clean+0x196c/0x1a1c fs/bcachefs/disk_accounting.c:1053 sp : ffff8000a6757540 x29: ffff8000a67578c0 x28: 0000000000000000 x27: 0000000000000001 x26: 0000000000000000 x25: 0000000000000001 x24: 0000000000000160 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 x20: ffff8000a6757640 x19: 0000000000000000 x18: 00000000ffffffff x17: 2064657672657365 x16: ffff80008b007230 x15: 0000000000000001 x14: 1fffe000337a06f2 x13: 0000000000000000 x12: 0000000000000000 x11: ffff6000337a06f3 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d545bd00 x7 : ffff800080563af4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807de334 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: bch2_verify_accounting_clean+0x1998/0x1a1c fs/bcachefs/disk_accounting.c:1053 (P) bch2_fs_read_only+0x7b8/0x960 fs/bcachefs/super.c:389 __bch2_fs_stop+0x104/0x800 fs/bcachefs/super.c:677 bch2_put_super+0x40/0x50 fs/bcachefs/fs.c:2365 generic_shutdown_super+0x12c/0x2b8 fs/super.c:643 bch2_kill_sb+0x40/0x58 fs/bcachefs/fs.c:2618 deactivate_locked_super+0xc4/0x12c fs/super.c:474 deactivate_super+0xe0/0x100 fs/super.c:507 cleanup_mnt+0x31c/0x3ac fs/namespace.c:1378 __cleanup_mnt+0x20/0x30 fs/namespace.c:1385 task_work_run+0x1dc/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x174/0x1f4 arch/arm64/kernel/entry-common.c:155 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:173 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:182 [inline] el0_svc+0xb8/0x180 arch/arm64/kernel/entry-common.c:880 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 182176 hardirqs last enabled at (182175): [] vprintk_store+0x898/0xac8 kernel/printk/printk.c:2356 hardirqs last disabled at (182176): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (180458): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (180456): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- bcachefs (loop2): marking filesystem clean bcachefs (loop2): shutdown complete