bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5896 at fs/bcachefs/super.c:1248 bch2_dev_free+0x222/0x290 fs/bcachefs/super.c:1248 Modules linked in: CPU: 1 UID: 0 PID: 5896 Comm: syz.0.1 Not tainted 6.15.0-rc5-syzkaller-00032-g0d8d44db295c #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025 RIP: 0010:bch2_dev_free+0x222/0x290 fs/bcachefs/super.c:1248 Code: 08 e8 c2 11 68 00 4c 89 ef e8 ba 11 68 00 48 89 df 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d e9 b4 da fc 06 e8 af 2e 77 fd 90 <0f> 0b 90 e9 11 fe ff ff e8 a1 2e 77 fd 90 0f 0b 90 e9 18 fe ff ff RSP: 0018:ffffc90004357360 EFLAGS: 00010293 RAX: ffffffff8448a0b1 RBX: ffff888058de8000 RCX: ffff888024a9da00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000fffffff4 R08: ffffc90004357207 R09: 0000000000000000 R10: ffffc900043571e0 R11: fffff5200086ae41 R12: ffff88805b200000 R13: ffff888058de80b0 R14: dffffc0000000000 R15: ffff888058de8040 FS: 00007f6a857cf6c0(0000) GS:ffff8881261fd000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1d8cd82000 CR3: 0000000028458000 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:1417 bch2_dev_alloc+0xcb/0x170 fs/bcachefs/super.c:1443 bch2_fs_alloc fs/bcachefs/super.c:955 [inline] bch2_fs_open+0x2700/0x2820 fs/bcachefs/super.c:2205 bch2_fs_get_tree+0x45d/0x13a0 fs/bcachefs/fs.c:2489 vfs_get_tree+0x8f/0x2b0 fs/super.c:1759 do_new_mount+0x24a/0xa40 fs/namespace.c:3884 do_mount fs/namespace.c:4224 [inline] __do_sys_mount fs/namespace.c:4435 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4412 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:0x7f6a8499010a 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:00007f6a857cee68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f6a857ceef0 RCX: 00007f6a8499010a RDX: 00002000000000c0 RSI: 0000200000000100 RDI: 00007f6a857ceeb0 RBP: 00002000000000c0 R08: 00007f6a857ceef0 R09: 0000000000200414 R10: 0000000000200414 R11: 0000000000000246 R12: 0000200000000100 R13: 00007f6a857ceeb0 R14: 0000000000005adc R15: 0000200000000000