bcachefs (loop4): recovering from clean shutdown, journal seq 10 bcachefs (loop4): alloc_read... done bcachefs (loop4): stripes_read... done bcachefs (loop4): snapshots_read... ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7116 at mm/util.c:649 kvmalloc_node_noprof+0x244/0x24c Modules linked in: CPU: 0 PID: 7116 Comm: syz.4.162 Not tainted 6.10.0-rc5-syzkaller-g5e456a31d1ac #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : kvmalloc_node_noprof+0x244/0x24c lr : kvmalloc_node_noprof+0x240/0x24c mm/util.c:649 sp : ffff8000a09c6940 x29: ffff8000a09c6950 x28: 0000000000000002 x27: 0000000000000000 x26: dfff800000000000 x25: 00000000ff8c0400 x24: 0000000000000001 x23: 0000000000000000 x22: ffff8000829b78e8 x21: 00000037e6a0e050 x20: 00000000ffffffff x19: 0000000000000dc0 x18: ffff8000a09c67e0 x17: 0000000000000000 x16: ffff800082fca0f0 x15: 0000000000000005 x14: 1ffff00014138cf0 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000040000 x10: 000000000003ffff x9 : ffff8000a1ee3000 x8 : 0000000000040000 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 00000000ffffffff x4 : 0000000000012dc0 x3 : 0000004000000000 x2 : 00000037e6a0e050 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: kvmalloc_node_noprof+0x244/0x24c __snapshot_t_mut+0x50/0x218 fs/bcachefs/snapshot.c:171 snapshot_t_mut fs/bcachefs/snapshot.c:200 [inline] __bch2_mark_snapshot+0x5f0/0x9b4 fs/bcachefs/snapshot.c:310 bch2_snapshots_read+0x1dc/0x93c fs/bcachefs/snapshot.c:1848 bch2_run_recovery_pass+0xe4/0x1d4 fs/bcachefs/recovery_passes.c:182 bch2_run_recovery_passes+0x258/0x6e0 fs/bcachefs/recovery_passes.c:225 bch2_fs_recovery+0x31f0/0x5488 fs/bcachefs/recovery.c:813 bch2_fs_start+0x30c/0x53c fs/bcachefs/super.c:1036 bch2_fs_open+0x8b4/0xb64 fs/bcachefs/super.c:2128 bch2_mount+0x4fc/0xe68 fs/bcachefs/fs.c:1926 legacy_get_tree+0xd4/0x16c fs/fs_context.c:662 vfs_get_tree+0x90/0x288 fs/super.c:1780 do_new_mount+0x278/0x900 fs/namespace.c:3352 path_mount+0x590/0xe04 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount fs/namespace.c:3875 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3875 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 77528 hardirqs last enabled at (77527): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (77527): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (77528): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (77492): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (77492): [] handle_softirqs+0xa3c/0xbfc kernel/softirq.c:582 softirqs last disabled at (77457): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- bcachefs (loop4): bch2_snapshots_read(): error ENOMEM_mark_snapshot bcachefs (loop4): bch2_fs_recovery(): error ENOMEM_mark_snapshot bcachefs (loop4): bch2_fs_start(): error starting filesystem ENOMEM_mark_snapshot bcachefs (loop4): shutting down bcachefs (loop4): shutdown complete