------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 78 at fs/btrfs/inode.c:3124 btrfs_finish_one_ordered+0x15db/0x1670 fs/btrfs/inode.c:3124 Modules linked in: CPU: 0 PID: 78 Comm: kworker/u4:5 Not tainted 6.6.0-syzkaller-16176-g1b907d050735 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Workqueue: btrfs-endio-write btrfs_work_helper RIP: 0010:btrfs_finish_one_ordered+0x15db/0x1670 fs/btrfs/inode.c:3124 Code: 2a f6 ff ff 48 89 df e8 13 e2 53 fe e9 1d f6 ff ff e8 59 c0 f7 fd 48 c7 c7 40 50 ab 8b 4c 8b 74 24 08 44 89 f6 e8 e5 77 bd fd <0f> 0b e9 e4 fc ff ff e8 39 c0 f7 fd 48 c7 c7 40 50 ab 8b 48 8b 74 RSP: 0018:ffffc900015f7a00 EFLAGS: 00010246 RAX: 3d4f7783e21aa100 RBX: ffff88807c134001 RCX: ffff888012d21dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900015f7b60 R08: ffffffff81547c82 R09: 1ffff11017305172 R10: dffffc0000000000 R11: ffffed1017305173 R12: 0000000000000000 R13: dffffc0000000000 R14: 00000000ffffffe4 R15: 1ffff1100e09b831 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f51b08b6000 CR3: 0000000024aff000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_work_helper+0x37c/0xbd0 fs/btrfs/async-thread.c:315 process_one_work kernel/workqueue.c:2630 [inline] process_scheduled_works+0x90f/0x1400 kernel/workqueue.c:2703 worker_thread+0xa5f/0xff0 kernel/workqueue.c:2784 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242