bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7133 at fs/bcachefs/super.c:1248 bch2_dev_free+0x1e0/0x24c fs/bcachefs/super.c:1248 Modules linked in: CPU: 0 UID: 0 PID: 7133 Comm: syz.2.124 Not tainted 6.15.0-rc5-syzkaller-gc32f8dc5aaf9 #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:1248 lr : bch2_dev_free+0x1e0/0x24c fs/bcachefs/super.c:1248 sp : ffff8000a12e7050 x29: ffff8000a12e7060 x28: 1fffe0001ab0cc34 x27: 0000000000000001 x26: 00000000600e0000 x25: dfff800000000000 x24: ffff8000a12e7190 x23: ffff000100200000 x22: ffff0000d58661a2 x21: 00000000fffffff4 x20: 0000000000000004 x19: ffff0000d5866000 x18: 1fffe0003386ce76 x17: 20676e69646f636e x16: ffff80008adb421c x15: 0000000000000005 x14: 1ffff0001425cdc8 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000007ffff x9 : ffff8000a5991000 x8 : 0000000000080000 x7 : 2222222222222222 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000000 x3 : 0000000000000020 x2 : 0000000000000008 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: bch2_dev_free+0x1e0/0x24c fs/bcachefs/super.c:1248 (P) __bch2_dev_alloc+0x5ec/0x8c0 fs/bcachefs/super.c:1417 bch2_dev_alloc+0xc0/0x150 fs/bcachefs/super.c:1443 bch2_fs_alloc fs/bcachefs/super.c:955 [inline] bch2_fs_open+0x21d8/0x22e8 fs/bcachefs/super.c:2205 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:3884 path_mount+0x5b4/0xde0 fs/namespace.c:4211 do_mount fs/namespace.c:4224 [inline] __do_sys_mount fs/namespace.c:4435 [inline] __se_sys_mount fs/namespace.c:4412 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4412 __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: 76306 hardirqs last enabled at (76305): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (76305): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (76306): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:511 softirqs last enabled at (74828): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (74828): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (74815): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7133 at fs/bcachefs/super.c:1249 bch2_dev_free+0x1ec/0x24c fs/bcachefs/super.c:1249 Modules linked in: CPU: 1 UID: 0 PID: 7133 Comm: syz.2.124 Tainted: G W 6.15.0-rc5-syzkaller-gc32f8dc5aaf9 #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:1249 lr : bch2_dev_free+0x1ec/0x24c fs/bcachefs/super.c:1249 sp : ffff8000a12e7050 x29: ffff8000a12e7060 x28: 1fffe0001ab0cc34 x27: 0000000000000001 x26: 00000000600e0000 x25: dfff800000000000 x24: ffff8000a12e7190 x23: ffff000100200000 x22: ffff0000d58661a2 x21: 00000000fffffff4 x20: 0000000000000004 x19: ffff0000d5866000 x18: 1fffe0003386ce76 x17: 20676e69646f636e x16: ffff80008adb421c x15: 0000000000000005 x14: 1ffff0001425cdc8 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000007ffff x9 : ffff8000a5991000 x8 : 0000000000080000 x7 : 2222222222222222 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000000 x3 : 0000000000000020 x2 : 0000000000000008 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: bch2_dev_free+0x1ec/0x24c fs/bcachefs/super.c:1249 (P) __bch2_dev_alloc+0x5ec/0x8c0 fs/bcachefs/super.c:1417 bch2_dev_alloc+0xc0/0x150 fs/bcachefs/super.c:1443 bch2_fs_alloc fs/bcachefs/super.c:955 [inline] bch2_fs_open+0x21d8/0x22e8 fs/bcachefs/super.c:2205 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:3884 path_mount+0x5b4/0xde0 fs/namespace.c:4211 do_mount fs/namespace.c:4224 [inline] __do_sys_mount fs/namespace.c:4435 [inline] __se_sys_mount fs/namespace.c:4412 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4412 __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: 76708 hardirqs last enabled at (76707): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:85 [inline] hardirqs last enabled at (76707): [] exit_to_kernel_mode+0xc0/0xf0 arch/arm64/kernel/entry-common.c:95 hardirqs last disabled at (76708): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:511 softirqs last enabled at (76702): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (76702): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (76309): [] __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