el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1d0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/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: 4525 at fs/btrfs/file.c:2983 btrfs_replace_file_extents+0xcc4/0x1238 fs/btrfs/file.c:2983 Modules linked in: CPU: 0 PID: 4525 Comm: syz-executor.0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/26/2026 pstate: 62400005 (nZCv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : btrfs_replace_file_extents+0xcc4/0x1238 fs/btrfs/file.c:2983 lr : btrfs_replace_file_extents+0xcc4/0x1238 fs/btrfs/file.c:2983 sp : ffff80001f5f71e0 x29: ffff80001f5f7300 x28: dfff800000000000 x27: 0000000000000000 x26: ffff0000d3d36700 x25: ffff80001f5f74e0 x24: ffff0000e2511d70 x23: ffff700003ebee4c x22: 00000000fffffff4 x21: 1fffe0001bd48e21 x20: ffff0000dea470b0 x19: ffff0000dea47108 x18: 0000000000000001 x17: 0000000000000000 x16: ffff800011255484 x15: 00000000ffffffff x14: 0000000000000001 x13: 1fffe000341f07ab x12: 0000000000ff0100 x11: 0000000000000000 x10: 0000000000000000 x9 : a334b56f40bcfb00 x8 : a334b56f40bcfb00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001f5f6af8 x4 : ffff80001436f3e0 x3 : ffff800008508fa8 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 Call trace: btrfs_replace_file_extents+0xcc4/0x1238 fs/btrfs/file.c:2983 insert_prealloc_file_extent fs/btrfs/inode.c:10414 [inline] __btrfs_prealloc_file_range+0x3c8/0xbcc fs/btrfs/inode.c:10482 btrfs_prealloc_file_range+0x60/0x7c fs/btrfs/inode.c:10572 btrfs_fallocate+0x1354/0x1638 fs/btrfs/file.c:3638 vfs_fallocate+0x4a4/0x5f4 fs/open.c:308 ioctl_preallocate+0x234/0x2dc fs/ioctl.c:294 file_ioctl fs/ioctl.c:-1 [inline] do_vfs_ioctl+0x1aa4/0x23f0 fs/ioctl.c:853 __do_sys_ioctl fs/ioctl.c:872 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __arm64_sys_ioctl+0xe4/0x1c8 fs/ioctl.c:860 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1d0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 79692 hardirqs last enabled at (79691): [] __up_console_sem+0xb4/0xfc kernel/printk/printk.c:257 hardirqs last disabled at (79692): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (79680): [] softirq_handle_end kernel/softirq.c:419 [inline] softirqs last enabled at (79680): [] handle_softirqs+0xa40/0xbe4 kernel/softirq.c:604 softirqs last disabled at (79613): [] __do_softirq kernel/softirq.c:610 [inline] softirqs last disabled at (79613): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (79613): [] invoke_softirq kernel/softirq.c:457 [inline] softirqs last disabled at (79613): [] __irq_exit_rcu+0x240/0x43c kernel/softirq.c:659 ---[ end trace 5c6f179f1ab7733a ]--- BTRFS: error (device loop0) in btrfs_replace_file_extents:2983: errno=-12 Out of memory BTRFS info (device loop0): forced readonly