bcachefs: bch2_verify_accounting_clean() dev accounting mismatch: u64s 8 type accounting 216173881625411584:0:0 len 0 ver 4294968204: dev_data_type dev=0 data_type=sb 25 6152 248 in mem 25 6153 248 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5842 at fs/bcachefs/disk_accounting.c:1055 bch2_verify_accounting_clean+0x20cd/0x21d0 fs/bcachefs/disk_accounting.c:1055 Modules linked in: CPU: 1 UID: 0 PID: 5842 Comm: syz-executor Tainted: G W 6.17.0-rc1-syzkaller-00165-gee94b00c1a64 #0 PREEMPT_{RT,(full)} Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:bch2_verify_accounting_clean+0x20cd/0x21d0 fs/bcachefs/disk_accounting.c:1055 Code: e9 8f fd eb 24 e8 f3 e9 8f fd 48 c7 c7 80 e8 53 8b 48 c7 c6 d8 f5 fe 8c 48 c7 c2 60 e9 53 8b 31 c9 49 89 d8 e8 34 df f8 fc 90 <0f> 0b 90 e9 8d fe ff ff e8 c6 e9 8f fd e9 c6 fb ff ff e8 bc e9 8f RSP: 0018:ffffc90004bbf720 EFLAGS: 00010293 RAX: ffffffff842e7264 RBX: 0000000000000000 RCX: ffff88802a550000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90004bbfa90 R08: 0000000000000000 R09: 0000000000000000 R10: ffff888049a98008 R11: ffffed1009353003 R12: 89d84a3b6006f401 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 000055558fdbf500(0000) GS:ffff8881269c5000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555e6f7608 CR3: 0000000026c9a000 CR4: 00000000003526f0 Call Trace: bch2_fs_read_only+0x998/0xb00 fs/bcachefs/super.c:389 __bch2_fs_stop+0x100/0x900 fs/bcachefs/super.c:677 generic_shutdown_super+0x132/0x2c0 fs/super.c:643 bch2_kill_sb+0x41/0x50 fs/bcachefs/fs.c:2618 deactivate_locked_super+0xbc/0x130 fs/super.c:474 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1378 task_work_run+0x1d1/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xec/0x110 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0e2e9dff17 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffe6e6fc558 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f0e2ea61c05 RCX: 00007f0e2e9dff17 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe6e6fc610 RBP: 00007ffe6e6fc610 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe6e6fd6a0 R13: 00007f0e2ea61c05 R14: 0000000000015906 R15: 00007ffe6e6fd6e0