------------[ cut here ]------------ WARNING: CPU: 0 PID: 7767 at fs/bcachefs/disk_accounting.c:1055 bch2_verify_accounting_clean+0x20cd/0x21d0 fs/bcachefs/disk_accounting.c:1055 Modules linked in: CPU: 0 UID: 0 PID: 7767 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) 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: ec 86 fd eb 24 e8 23 ec 86 fd 48 c7 c7 c0 49 d4 8b 48 c7 c6 a9 cd 96 8d 48 c7 c2 a0 4a d4 8b 31 c9 49 89 d8 e8 14 e0 ee fc 90 <0f> 0b 90 e9 8d fe ff ff e8 f6 eb 86 fd e9 c6 fb ff ff e8 ec eb 86 RSP: 0018:ffffc9001ff3f720 EFLAGS: 00010293 RAX: ffffffff8438c084 RBX: 0000000000000000 RCX: ffff88802459da00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9001ff3fa90 R08: ffff88805ec44017 R09: ffff88805ec44008 R10: dffffc0000000000 R11: ffffed100bd88803 R12: 54634174446c8601 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000555567d85500(0000) GS:ffff888125c1b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc6929b7dac CR3: 00000000265de000 CR4: 0000000000350ef0 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+0x135/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:1375 task_work_run+0x1d4/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:0x7f2be038ff17 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:00007ffc6b895618 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f2be0411c05 RCX: 00007f2be038ff17 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc6b8956d0 RBP: 00007ffc6b8956d0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffc6b896760 R13: 00007f2be0411c05 R14: 000000000008baf7 R15: 00007ffc6b8967a0