------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 4996 at fs/btrfs/extent-tree.c:3053 __btrfs_free_extent+0x2325/0x2e50 fs/btrfs/extent-tree.c:3053 Modules linked in: CPU: 1 PID: 4996 Comm: syz-executor416 Not tainted 6.4.0-rc7-syzkaller-00194-g8a28a0b6f1a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:__btrfs_free_extent+0x2325/0x2e50 fs/btrfs/extent-tree.c:3053 Code: 2a 07 48 bb 00 00 00 00 00 fc ff df 4c 8b 74 24 08 e9 1b fb ff ff e8 4a 77 07 fe 48 c7 c7 00 95 29 8b 44 89 e6 e8 db f0 ce fd <0f> 0b e9 40 e4 ff ff 4d 89 e5 e8 2c 77 07 fe 45 31 c0 45 84 f6 41 RSP: 0018:ffffc90003aceb00 EFLAGS: 00010246 RAX: cd7ff1e472329500 RBX: ffff88802b77c001 RCX: ffff88801ffc5940 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90003acec80 R08: ffffffff81530132 R09: fffff52000759cd9 R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000ffffffe4 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000001000 FS: 00007f7c580ec700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200000c4 CR3: 000000007d832000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1952 [inline] __btrfs_run_delayed_refs+0xef9/0x3fc0 fs/btrfs/extent-tree.c:2013 btrfs_run_delayed_refs+0x140/0x480 fs/btrfs/extent-tree.c:2125 btrfs_commit_transaction+0x427/0x3370 fs/btrfs/transaction.c:2158 btrfs_sync_file+0xcb3/0x10e0 fs/btrfs/file.c:2001 generic_write_sync include/linux/fs.h:2469 [inline] iomap_dio_complete+0x5fc/0x990 fs/iomap/direct-io.c:128 btrfs_direct_write fs/btrfs/file.c:1542 [inline] btrfs_do_write_iter+0x8b5/0x1270 fs/btrfs/file.c:1674 do_iter_write+0x7b1/0xcb0 fs/read_write.c:860 iter_file_splice_write+0x843/0xfe0 fs/splice.c:795 do_splice_from fs/splice.c:873 [inline] direct_splice_actor+0xe7/0x1c0 fs/splice.c:1039 splice_direct_to_actor+0x4c4/0xbd0 fs/splice.c:994 do_splice_direct+0x283/0x3d0 fs/splice.c:1082 do_sendfile+0x620/0xff0 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7c58147629 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 a1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7c580ec2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f7c581ca780 RCX: 00007f7c58147629 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f7c581976ac R08: 0000000000000000 R09: 0000000000000000 R10: 000000000880000c R11: 0000000000000246 R12: 0000000020000600 R13: 0030656c69662f2e R14: 0000000000000000 R15: 00007f7c581ca788