------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 5074 at fs/btrfs/extent-tree.c:3076 __btrfs_free_extent+0x15c1/0x27f0 fs/btrfs/extent-tree.c:3076 Modules linked in: CPU: 0 PID: 5074 Comm: syz-executor387 Not tainted 6.2.0-syzkaller-05251-g5b7c4cabbb65 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:__btrfs_free_extent+0x15c1/0x27f0 fs/btrfs/extent-tree.c:3076 Code: e8 b4 a5 18 fe 0f 1f 44 00 00 41 bc 01 00 00 00 e9 98 fd ff ff e8 9f a5 18 fe 8b 74 24 60 48 c7 c7 a0 61 94 8a e8 ef 21 e0 fd <0f> 0b 41 bc 01 00 00 00 e9 93 f0 ff ff e8 7d a5 18 fe bf ea ff ff RSP: 0018:ffffc90003eeefd0 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff8880293ad7c0 RSI: ffffffff814c2c17 RDI: 0000000000000001 RBP: ffff888075f336e0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000100 R14: 0000000000500000 R15: 0000000000000007 FS: 00007fc06822b700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc060e0a718 CR3: 000000007da9a000 CR4: 0000000000350ef0 Call Trace: run_delayed_tree_ref fs/btrfs/extent-tree.c:1681 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1705 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1954 [inline] __btrfs_run_delayed_refs+0x160c/0x3dc0 fs/btrfs/extent-tree.c:2017 btrfs_run_delayed_refs+0x19a/0x540 fs/btrfs/extent-tree.c:2148 btrfs_commit_transaction+0xd6c/0x4410 fs/btrfs/transaction.c:2151 btrfs_sync_file+0xedc/0x1460 fs/btrfs/file.c:2001 vfs_fsync_range+0x13e/0x230 fs/sync.c:188 generic_write_sync include/linux/fs.h:2450 [inline] btrfs_do_write_iter+0x67d/0x1470 fs/btrfs/file.c:1684 call_write_iter include/linux/fs.h:1849 [inline] do_iter_readv_writev+0x20b/0x3b0 fs/read_write.c:735 do_iter_write+0x182/0x700 fs/read_write.c:861 vfs_iter_write+0x74/0xa0 fs/read_write.c:902 iter_file_splice_write+0x743/0xc80 fs/splice.c:685 do_splice_from fs/splice.c:763 [inline] direct_splice_actor+0x114/0x180 fs/splice.c:930 splice_direct_to_actor+0x335/0x8a0 fs/splice.c:885 do_splice_direct+0x1ab/0x280 fs/splice.c:973 do_sendfile+0xb19/0x12c0 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64 fs/read_write.c:1309 [inline] __x64_sys_sendfile64+0x1d0/0x210 fs/read_write.c:1309 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc06827ee29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 14 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:00007fc06822b2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fc0683086e0 RCX: 00007fc06827ee29 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007fc0682d560c R08: 0000000000000000 R09: 0000000000000000 R10: 000000000880000c R11: 0000000000000246 R12: 0000000020000600 R13: 0030656c69662f2e R14: 0000000000000000 R15: 00007fc0683086e8