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: 4446 at fs/btrfs/tree-log.c:3210 btrfs_sync_log+0x15f0/0x2294 fs/btrfs/tree-log.c:3210 Modules linked in: CPU: 1 PID: 4446 Comm: syz-executor.0 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_sync_log+0x15f0/0x2294 fs/btrfs/tree-log.c:3210 lr : btrfs_sync_log+0x15f0/0x2294 fs/btrfs/tree-log.c:3210 sp : ffff800020297300 x29: ffff800020297760 x28: ffff0000dbf88160 x27: 1fffe0001b7f102c x26: 00000000fffffff4 x25: 0000000000000000 x24: ffff0000d0202000 x23: dfff800000000000 x22: 00000000fffffff4 x21: 0000000000000009 x20: ffff0000d0202338 x19: 00000000fffffff4 x18: 0000000000000001 x17: 0000000000000000 x16: ffff800011ac23e0 x15: 00000000ffffffff x14: ffff0000dab051c0 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : 217d7f5693a4c500 x8 : 217d7f5693a4c500 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800020296a78 x4 : ffff800014b9fae0 x3 : ffff800008557c4c x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 Call trace: btrfs_sync_log+0x15f0/0x2294 fs/btrfs/tree-log.c:3210 btrfs_sync_file+0xa70/0xfd4 fs/btrfs/file.c:2373 vfs_fsync_range+0x168/0x188 fs/sync.c:188 generic_write_sync include/linux/fs.h:2989 [inline] btrfs_file_write_iter+0x5b8/0xb6c fs/btrfs/file.c:2101 call_write_iter include/linux/fs.h:2172 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x884/0xb44 fs/read_write.c:594 ksys_write+0x15c/0x26c fs/read_write.c:647 __do_sys_write fs/read_write.c:659 [inline] __se_sys_write fs/read_write.c:656 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:656 __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: 84302 hardirqs last enabled at (84301): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (84302): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (84234): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (84234): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (84127): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (84127): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (84127): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (84127): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace f6b03447331d433d ]--- BTRFS: error (device loop0) in btrfs_sync_log:3210: errno=-12 Out of memory BTRFS info (device loop0): forced readonly