bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6782 at fs/bcachefs/super.c:1253 bch2_dev_free+0x222/0x290 fs/bcachefs/super.c:1253 Modules linked in: CPU: 0 UID: 0 PID: 6782 Comm: syz.1.125 Not tainted 6.15.0-rc7-syzkaller #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 22 10 68 00 4c 89 ef e8 1a 10 68 00 48 89 df 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d e9 94 d4 fc 06 e8 0f ea 76 fd 90 <0f> 0b 90 e9 11 fe ff ff e8 01 ea 76 fd 90 0f 0b 90 e9 18 fe ff ff RSP: 0018:ffffc9000b11f360 EFLAGS: 00010287 RAX: ffffffff844906d1 RBX: ffff88807d7aa000 RCX: 0000000000080000 RDX: ffffc9000be99000 RSI: 0000000000027687 RDI: 0000000000027688 RBP: 00000000fffffff4 R08: ffffc9000b11f207 R09: 0000000000000000 R10: ffffc9000b11f1e0 R11: fffff52001623e41 R12: ffff88804d880000 R13: ffff88807d7aa0b0 R14: dffffc0000000000 R15: ffff88807d7aa040 FS: 00007f56e2a046c0(0000) GS:ffff8881260f6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555581919608 CR3: 0000000031b0a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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:2491 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:0x7f56e1b9010a 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:00007f56e2a03e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f56e2a03ef0 RCX: 00007f56e1b9010a RDX: 0000200000000080 RSI: 0000200000000100 RDI: 00007f56e2a03eb0 RBP: 0000200000000080 R08: 00007f56e2a03ef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000100 R13: 00007f56e2a03eb0 R14: 0000000000005ab3 R15: 0000200000000200