el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4848 at fs/btrfs/free-space-tree.c:1267 btrfs_clear_free_space_tree+0x6bc/0x9bc fs/btrfs/free-space-tree.c:1267 Modules linked in: CPU: 0 PID: 4848 Comm: syz-executor.0 Not tainted 5.15.178-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_clear_free_space_tree+0x6bc/0x9bc fs/btrfs/free-space-tree.c:1267 lr : btrfs_clear_free_space_tree+0x6bc/0x9bc fs/btrfs/free-space-tree.c:1267 sp : ffff8000204277a0 x29: ffff800020427840 x28: 1fffe0001968380b x27: dfff800000000000 x26: ffff700004084ef8 x25: ffff0000cfc4a0bb x24: ffff0000dbfb5790 x23: 0000000000000006 x22: 00000000fffffff4 x21: ffff0000cb41d9d0 x20: ffff0000dbfb57e8 x19: 1fffe0001b7f6afd x18: 0000000000000001 x17: 0000000000000000 x16: ffff800011b4e3fc x15: 00000000ffffffff x14: ffff0000ce2251c0 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : 84130c8f0928b600 x8 : 84130c8f0928b600 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800020426f18 x4 : ffff800014c50660 x3 : ffff8000085568c0 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 Call trace: btrfs_clear_free_space_tree+0x6bc/0x9bc fs/btrfs/free-space-tree.c:1267 btrfs_start_pre_rw_mount+0x24c/0x578 fs/btrfs/disk-io.c:3079 btrfs_remount+0xb88/0x130c fs/btrfs/super.c:2082 legacy_reconfigure+0xfc/0x114 fs/fs_context.c:634 reconfigure_super+0x1d0/0x6ec fs/super.c:938 do_remount fs/namespace.c:2668 [inline] path_mount+0xbec/0x101c fs/namespace.c:3334 do_mount fs/namespace.c:3355 [inline] __do_sys_mount fs/namespace.c:3563 [inline] __se_sys_mount fs/namespace.c:3540 [inline] __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3540 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 80118 hardirqs last enabled at (80117): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (80118): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (80094): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (80094): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (80071): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (80071): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (80071): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (80071): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace eabdb01f47c3b3df ]--- BTRFS: error (device loop0) in btrfs_clear_free_space_tree:1267: errno=-12 Out of memory BTRFS warning (device loop0): failed to clear free space tree: -12