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: 1 PID: 4415 at fs/btrfs/file.c:966 btrfs_drop_extents+0x2664/0x2b80 fs/btrfs/file.c:966 Modules linked in: CPU: 1 PID: 4415 Comm: syz-executor.0 Not tainted 5.15.175-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_drop_extents+0x2664/0x2b80 fs/btrfs/file.c:966 lr : btrfs_drop_extents+0x2664/0x2b80 fs/btrfs/file.c:966 sp : ffff8000200b6fc0 x29: ffff8000200b7300 x28: 00000000fffffff4 x27: ffff0000c80f5510 x26: ffff0000cd2dc1f0 x25: dfff800000000000 x24: ffff8000200b7210 x23: 0000000000011000 x22: ffff8000200b71a0 x21: 0000000000011000 x20: 1fffe0001b7e0c4d x19: ffff0000dbf06268 x18: 0000000000000001 x17: 0000000000000000 x16: ffff800011b4eaf8 x15: 00000000ffffffff x14: ffff0000ca633680 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : 5ba207e1a832a400 x8 : 5ba207e1a832a400 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000200b6738 x4 : ffff800014c50660 x3 : ffff800008555fe4 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 Call trace: btrfs_drop_extents+0x2664/0x2b80 fs/btrfs/file.c:966 btrfs_replace_file_extents+0x3a4/0x1388 fs/btrfs/file.c:2823 insert_prealloc_file_extent fs/btrfs/inode.c:10399 [inline] __btrfs_prealloc_file_range+0x5ac/0x1164 fs/btrfs/inode.c:10467 btrfs_prealloc_file_range+0x60/0x7c fs/btrfs/inode.c:10557 btrfs_zero_range+0xd58/0xfd8 fs/btrfs/file.c:3427 btrfs_fallocate+0xb4c/0x1954 fs/btrfs/file.c:3542 vfs_fallocate+0x478/0x5b4 fs/open.c:308 ksys_fallocate fs/open.c:331 [inline] __do_sys_fallocate fs/open.c:339 [inline] __se_sys_fallocate fs/open.c:337 [inline] __arm64_sys_fallocate+0xc0/0x110 fs/open.c:337 __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: 82906 hardirqs last enabled at (82905): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (82906): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (82882): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (82882): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (82847): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (82847): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (82847): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (82847): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 5d95f050c4d455f1 ]--- BTRFS: error (device loop0) in btrfs_drop_extents:966: errno=-12 Out of memory BTRFS info (device loop0): forced readonly BTRFS: error (device loop0) in btrfs_replace_file_extents:2840: errno=-12 Out of memory