BTRFS error (device loop0): cow_file_range failed, root=5 inode=263 start=925696 len=4096 cur_offset=925696 cur_alloc_size=0: -28 BTRFS error (device loop0): failed to run delalloc range, root=5 ino=263 folio=925696 submit_bitmap=0 start=925696 len=4096: -28 BTRFS error (device loop0): failed to run delayed ref for logical 9650176 num_bytes 4096 type 178 action 1 ref_mod 1: -28 ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 54 at fs/btrfs/extent-tree.c:2161 btrfs_run_delayed_refs+0x318/0x3b0 fs/btrfs/extent-tree.c:2161 Modules linked in: CPU: 0 UID: 0 PID: 54 Comm: kworker/u4:4 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: events_unbound btrfs_async_reclaim_data_space RIP: 0010:btrfs_run_delayed_refs+0x318/0x3b0 fs/btrfs/extent-tree.c:2161 Code: 80 00 00 00 e8 b9 ae de fd 84 c0 74 26 e8 70 74 f8 fd eb 70 e8 69 74 f8 fd 90 48 c7 c7 e0 c3 ad 8b 44 89 fe e8 c9 81 bb fd 90 <0f> 0b 90 90 e9 02 ff ff ff e8 8a a9 86 07 41 89 c4 31 ff 89 c6 e8 RSP: 0018:ffffc9000101f4b8 EFLAGS: 00010246 RAX: 3e2d33f43cba0900 RBX: ffff8880433bea68 RCX: ffff88801f1f4900 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1bfa650 R12: ffff888000300001 R13: ffff888011a98000 R14: dffffc0000000000 R15: 00000000ffffffe4 FS: 0000000000000000(0000) GS:ffff88808d302000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055bff7f87a50 CR3: 0000000040c27000 CR4: 0000000000352ef0 Call Trace: btrfs_commit_transaction+0x269/0x3950 fs/btrfs/transaction.c:2211 flush_space+0x48b/0xcd0 fs/btrfs/space-info.c:888 do_async_reclaim_data_space+0x2a6/0x520 fs/btrfs/space-info.c:1410 btrfs_async_reclaim_data_space+0x41/0x90 fs/btrfs/space-info.c:1458 process_one_work kernel/workqueue.c:3263 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245