bcachefs: bch2_verify_accounting_clean() dev accounting mismatch: u64s 8 type accounting 216177180160294912:0:0 len 0 ver 25769803801: dev_data_type dev=0 data_type=user 1 48 208 in mem 1 48 209 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 6537 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: 6537 Comm: syz-executor Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/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+0x1a18/0x1a1c fs/bcachefs/disk_accounting.c:1055 sp : ffff8000a0a47560 x29: ffff8000a0a478e0 x28: 0000000000000000 x27: 0000000000000000 x26: 0000000000000000 x25: 0000000000000001 x24: 0000000000000180 x23: 0000000000000030 x22: 0000000000000000 x21: 0000000000000001 x20: ffff8000a0a47660 x19: 0000000000000000 x18: 0000000000000000 x17: 3330383936373532 x16: ffff80008b021030 x15: 0000000000000001 x14: 1fffffbff7eedb73 x13: 0000000000000000 x12: 0000000000000000 x11: ffff7fbff7eedb74 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c8f33d00 x7 : 0000000000000000 x6 : ffffffffffffffff x5 : ffff8000a0a47280 x4 : 0000000000000008 x3 : ffff8000828bdbd8 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:1375 __cleanup_mnt+0x20/0x30 fs/namespace.c:1382 task_work_run+0x1dc/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xfc/0x168 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] arm64_exit_to_user_mode arch/arm64/kernel/entry-common.c:103 [inline] el0_svc+0x170/0x254 arch/arm64/kernel/entry-common.c:745 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:763 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 166392 hardirqs last enabled at (166391): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (166391): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (166392): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:434 softirqs last enabled at (166240): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (166240): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (166217): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- bcachefs (loop0): marking filesystem clean bcachefs (loop0): shutdown complete