bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 11728 at fs/bcachefs/super.c:1253 bch2_dev_free+0x222/0x290 fs/bcachefs/super.c:1253 Modules linked in: CPU: 0 UID: 0 PID: 11728 Comm: syz.5.885 Not tainted 6.15.0-rc7-syzkaller-00152-gd0c22de9995b #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:bch2_dev_free+0x222/0x290 fs/bcachefs/super.c:1253 Code: 08 e8 f2 f4 6c 00 4c 89 ef e8 ea f4 6c 00 48 89 df 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d e9 64 ba 01 07 e8 cf b0 74 fd 90 <0f> 0b 90 e9 11 fe ff ff e8 c1 b0 74 fd 90 0f 0b 90 e9 18 fe ff ff RSP: 0018:ffffc9000b70f360 EFLAGS: 00010287 RAX: ffffffff844b4101 RBX: ffff888044824000 RCX: 0000000000080000 RDX: ffffc9000d455000 RSI: 000000000002c343 RDI: 000000000002c344 RBP: 00000000fffffff4 R08: ffffc9000b70f207 R09: ffffc9000b70f1e0 R10: dffffc0000000000 R11: fffff520016e1e41 R12: ffff888064a00000 R13: ffff8880448240b0 R14: dffffc0000000000 R15: ffff888044824040 FS: 00007fb5385546c0(0000) GS:ffff8881260c2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fca32171440 CR3: 000000005b56d000 CR4: 0000000000350ef0 Call Trace: __bch2_dev_alloc+0x832/0xb50 fs/bcachefs/super.c:1422 bch2_dev_alloc+0xcb/0x170 fs/bcachefs/super.c:1448 bch2_fs_alloc fs/bcachefs/super.c:960 [inline] bch2_fs_open+0x2700/0x2820 fs/bcachefs/super.c:2210 bch2_fs_get_tree+0x45d/0x13b0 fs/bcachefs/fs.c:2467 vfs_get_tree+0x92/0x2b0 fs/super.c:1759 do_new_mount+0x24a/0xa40 fs/namespace.c:3881 do_mount fs/namespace.c:4221 [inline] __do_sys_mount fs/namespace.c:4432 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4409 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb53779010a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb538553e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fb538553ef0 RCX: 00007fb53779010a RDX: 0000200000000440 RSI: 0000200000000040 RDI: 00007fb538553eb0 RBP: 0000200000000440 R08: 00007fb538553ef0 R09: 0000000002810002 R10: 0000000002810002 R11: 0000000000000246 R12: 0000200000000040 R13: 00007fb538553eb0 R14: 0000000000005a7b R15: 0000200000000000