bcachefs (loop2): shutting down ------------[ cut here ]------------ WARNING: CPU: 0 PID: 2961 at fs/bcachefs/super.c:1229 bch2_dev_free+0x106/0x120 fs/bcachefs/super.c:1229 Modules linked in: CPU: 0 UID: 0 PID: 2961 Comm: syz-executor Not tainted 6.14.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:bch2_dev_free+0x106/0x120 fs/bcachefs/super.c:1229 Code: 01 00 4c 89 e7 e8 6a 02 01 00 4c 89 ff e8 72 ac 1d 00 4c 89 f7 e8 6a ac 1d 00 48 89 df 5b 41 5c 41 5e 41 5f e9 6b 35 13 01 90 <0f> 0b 90 e9 1a ff ff ff 90 0f 0b 90 e9 21 ff ff ff 66 0f 1f 84 00 RSP: 0018:ffffc90002407e18 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88810d2fd000 RCX: 0000000000001b70 RDX: 0000000000001b68 RSI: 0000000000035370 RDI: ffff88810d2fd0c0 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88810d2fd0d0 R13: ffff88810d2fd000 R14: ffff88810d2fd0b0 R15: ffff88810d2fd0c0 FS: 0000555568424500(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564030a06000 CR3: 000000017321e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <TASK> bch2_fs_free+0x8f/0x130 fs/bcachefs/super.c:688 deactivate_locked_super+0x2d/0x90 fs/super.c:473 cleanup_mnt+0xf8/0x150 fs/namespace.c:1413 task_work_run+0x82/0xb0 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xa4/0x1f0 kernel/entry/common.c:218 do_syscall_64+0xed/0x220 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0f8fb8e497 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:00007ffc430be928 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f0f8fc0e08c RCX: 00007f0f8fb8e497 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc430be9e0 RBP: 00007ffc430be9e0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffc430bfa70 R13: 00007f0f8fc0e08c R14: 000000000000db91 R15: 00007ffc430bfab0 </TASK>