bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 5 bcachefs (loop4): clean shutdown complete, journal seq 6 bcachefs: bch2_verify_accounting_clean() dev accounting mismatch: u64s 8 type accounting 216182677718433792:0:0 len 0 ver 21474836909: dev_data_type dev=0 data_type=need_discard 1 0 0 in mem 2 0 0 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5833 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: 5833 Comm: syz-executor Not tainted 6.16.0-rc2-syzkaller-00045-g4663747812d1 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:bch2_verify_accounting_clean+0x20cd/0x21d0 fs/bcachefs/disk_accounting.c:1055 Code: c4 8e fd eb 24 e8 93 c4 8e fd 48 c7 c7 60 d7 d3 8b 48 c7 c6 f5 40 92 8d 48 c7 c2 40 d8 d3 8b 31 c9 49 89 d8 e8 74 f3 f5 fc 90 <0f> 0b 90 e9 8d fe ff ff e8 66 c4 8e fd e9 c6 fb ff ff e8 5c c4 8e RSP: 0018:ffffc9000409f720 EFLAGS: 00010293 RAX: ffffffff843197c4 RBX: 0000000000000000 RCX: ffff88807c8f5a00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000409fa90 R08: ffff888052d34017 R09: 0000000000000000 R10: ffff888052d34008 R11: ffffed100a5a6803 R12: abaa88a5a9a44301 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 000055557a943500(0000) GS:ffff888125d85000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556dd42588 CR3: 00000000728ce000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_fs_read_only+0x998/0xb00 fs/bcachefs/super.c:390 __bch2_fs_stop+0x100/0x900 fs/bcachefs/super.c:678 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:1417 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:114 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdbde78fc57 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:00007ffe71da8988 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fdbde810925 RCX: 00007fdbde78fc57 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe71da8a40 RBP: 00007ffe71da8a40 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe71da9ad0 R13: 00007fdbde810925 R14: 00000000000235a5 R15: 00007ffe71da9b10