------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 5068 at fs/btrfs/extent-tree.c:3074 __btrfs_free_extent+0x237b/0x29d0 fs/btrfs/extent-tree.c:3074 Modules linked in: CPU: 0 PID: 5068 Comm: syz-executor300 Not tainted 6.2.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:__btrfs_free_extent+0x237b/0x29d0 fs/btrfs/extent-tree.c:3074 Code: ba ff 0b 00 00 b9 fe ff ff ff e8 10 76 28 07 e9 b0 fb ff ff e8 06 bd 04 fe 48 c7 c7 a0 e3 38 8b 44 89 f6 31 c0 e8 c5 ac cb fd <0f> 0b e9 a9 e3 ff ff e8 e9 bc 04 fe 31 c0 4c 8b 6c 24 28 48 8b 7c RSP: 0018:ffffc90003bfea60 EFLAGS: 00010246 RAX: 0d7746c55be24500 RBX: ffff888028c9c001 RCX: ffff8880200d8000 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90003bfebe0 R08: ffffffff816f2c9d R09: ffffed1017324f5b R10: ffffed1017324f5b R11: 1ffff11017324f5a R12: dffffc0000000000 R13: ffff888028c01790 R14: 00000000ffffffe4 R15: dffffc0000000000 FS: 00007f6bed857700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005570f97a08a0 CR3: 0000000075f5d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: run_delayed_tree_ref fs/btrfs/extent-tree.c:1682 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1706 [inline] btrfs_run_delayed_refs_for_head+0xe35/0x1e50 fs/btrfs/extent-tree.c:1950 __btrfs_run_delayed_refs+0x25f/0x490 fs/btrfs/extent-tree.c:2015 btrfs_run_delayed_refs+0x13b/0x480 fs/btrfs/extent-tree.c:2146 btrfs_commit_transaction+0x23d/0x3340 fs/btrfs/transaction.c:2151 btrfs_sync_file+0xeac/0x1190 fs/btrfs/file.c:2001 generic_write_sync include/linux/fs.h:2882 [inline] btrfs_do_write_iter+0xcd3/0x1280 fs/btrfs/file.c:1684 do_iter_write+0x6c2/0xc20 fs/read_write.c:861 iter_file_splice_write+0x7fc/0xfc0 fs/splice.c:686 do_splice_from fs/splice.c:764 [inline] direct_splice_actor+0xe6/0x1c0 fs/splice.c:931 splice_direct_to_actor+0x4e4/0xc00 fs/splice.c:886 do_splice_direct+0x279/0x3d0 fs/splice.c:974 do_sendfile+0x5fb/0xf80 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64+0x14f/0x1b0 fs/read_write.c:1309 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6bed8aae09 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:00007f6bed8572f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f6bed9346e0 RCX: 00007f6bed8aae09 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000004 RBP: 00007f6bed90160c R08: 0000000000000000 R09: 0000000000000000 R10: 000000000880000c R11: 0000000000000246 R12: 0000000020000600 R13: 0030656c69662f2e R14: 0000000000000000 R15: 00007f6bed9346e8