bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 6696 at fs/bcachefs/super.c:1253 bch2_dev_free+0x1e0/0x24c fs/bcachefs/super.c:1253 Modules linked in: CPU: 1 UID: 0 PID: 6696 Comm: syz.4.21 Not tainted 6.15.0-rc6-syzkaller-ga82e92598ab1 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : bch2_dev_free+0x1e0/0x24c fs/bcachefs/super.c:1253 lr : bch2_dev_free+0x1e0/0x24c fs/bcachefs/super.c:1253 sp : ffff8000a2697050 x29: ffff8000a2697060 x28: 1fffe00019d1cc34 x27: 0000000000000001 x26: 00000000600e0000 x25: dfff800000000000 x24: ffff8000a2697190 x23: ffff0000f8500000 x22: ffff0000ce8e61a2 x21: 00000000fffffff4 x20: 0000000000000004 x19: ffff0000ce8e6000 x18: 00000000ffffffff x17: ffff800092f36000 x16: ffff80008adb98e4 x15: 0000000000000005 x14: 1ffff000144d2dc8 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000007ffff x9 : ffff8000a509e000 x8 : 0000000000080000 x7 : 2222222222222222 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : 0000000000000020 x2 : 0000000000000008 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: bch2_dev_free+0x1e0/0x24c fs/bcachefs/super.c:1253 (P) __bch2_dev_alloc+0x5ec/0x8c0 fs/bcachefs/super.c:1422 bch2_dev_alloc+0xc0/0x150 fs/bcachefs/super.c:1448 bch2_fs_alloc fs/bcachefs/super.c:960 [inline] bch2_fs_open+0x21d8/0x22e8 fs/bcachefs/super.c:2210 bch2_fs_get_tree+0x384/0xf30 fs/bcachefs/fs.c:2489 vfs_get_tree+0x90/0x28c fs/super.c:1759 do_new_mount+0x228/0x814 fs/namespace.c:3881 path_mount+0x5b4/0xde0 fs/namespace.c:4208 do_mount fs/namespace.c:4221 [inline] __do_sys_mount fs/namespace.c:4432 [inline] __se_sys_mount fs/namespace.c:4409 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4409 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x17c arch/arm64/kernel/entry-common.c:767 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 70712 hardirqs last enabled at (70711): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (70711): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (70712): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:511 softirqs last enabled at (68352): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (68352): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (68069): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 6696 at fs/bcachefs/super.c:1254 bch2_dev_free+0x1ec/0x24c fs/bcachefs/super.c:1254 Modules linked in: CPU: 1 UID: 0 PID: 6696 Comm: syz.4.21 Tainted: G W 6.15.0-rc6-syzkaller-ga82e92598ab1 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : bch2_dev_free+0x1ec/0x24c fs/bcachefs/super.c:1254 lr : bch2_dev_free+0x1ec/0x24c fs/bcachefs/super.c:1254 sp : ffff8000a2697050 x29: ffff8000a2697060 x28: 1fffe00019d1cc34 x27: 0000000000000001 x26: 00000000600e0000 x25: dfff800000000000 x24: ffff8000a2697190 x23: ffff0000f8500000 x22: ffff0000ce8e61a2 x21: 00000000fffffff4 x20: 0000000000000004 x19: ffff0000ce8e6000 x18: 00000000ffffffff x17: ffff800092f36000 x16: ffff80008adb98e4 x15: 0000000000000005 x14: 1ffff000144d2dc8 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000007ffff x9 : ffff8000a509e000 x8 : 0000000000080000 x7 : 2222222222222222 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : 0000000000000020 x2 : 0000000000000008 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: bch2_dev_free+0x1ec/0x24c fs/bcachefs/super.c:1254 (P) __bch2_dev_alloc+0x5ec/0x8c0 fs/bcachefs/super.c:1422 bch2_dev_alloc+0xc0/0x150 fs/bcachefs/super.c:1448 bch2_fs_alloc fs/bcachefs/super.c:960 [inline] bch2_fs_open+0x21d8/0x22e8 fs/bcachefs/super.c:2210 bch2_fs_get_tree+0x384/0xf30 fs/bcachefs/fs.c:2489 vfs_get_tree+0x90/0x28c fs/super.c:1759 do_new_mount+0x228/0x814 fs/namespace.c:3881 path_mount+0x5b4/0xde0 fs/namespace.c:4208 do_mount fs/namespace.c:4221 [inline] __do_sys_mount fs/namespace.c:4432 [inline] __se_sys_mount fs/namespace.c:4409 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4409 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x17c arch/arm64/kernel/entry-common.c:767 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 71062 hardirqs last enabled at (71061): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:85 [inline] hardirqs last enabled at (71061): [] exit_to_kernel_mode+0xc0/0xf0 arch/arm64/kernel/entry-common.c:95 hardirqs last disabled at (71062): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:511 softirqs last enabled at (71056): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (71056): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (70717): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete bcachefs: bch2_fs_get_tree() error: ENOMEM_dev_alloc