------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 5481 at fs/btrfs/extent-tree.c:3221 __btrfs_free_extent+0x2f93/0x38e0 fs/btrfs/extent-tree.c:3221 Modules linked in: CPU: 1 PID: 5481 Comm: syz-executor.0 Not tainted 6.7.0-rc1-syzkaller-00125-g7475e51b8796 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:__btrfs_free_extent+0x2f93/0x38e0 fs/btrfs/extent-tree.c:3221 Code: e8 22 1f 84 07 48 83 c4 10 41 bd fe ff ff ff e9 ab fc ff ff e8 9e 40 fe fd 90 48 c7 c7 00 b7 aa 8b 44 89 ee e8 de 19 c4 fd 90 <0f> 0b 90 90 e9 83 d8 ff ff e8 7f 40 fe fd 49 bc 00 00 00 00 00 fc RSP: 0018:ffffc90005496880 EFLAGS: 00010246 RAX: a15ca97816106600 RBX: ffff88807ee08001 RCX: ffff88802aae5940 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90005496a80 R08: ffffffff81545a92 R09: 1ffff92000a92cb0 R10: dffffc0000000000 R11: fffff52000a92cb1 R12: 0000000000000000 R13: 00000000ffffffe4 R14: 0000000000000000 R15: 0000000000000005 FS: 00007fc8428a86c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f57da58e897 CR3: 000000007953a000 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:1759 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1784 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:2042 [inline] __btrfs_run_delayed_refs+0x13c8/0x44d0 fs/btrfs/extent-tree.c:2112 btrfs_run_delayed_refs+0xe3/0x2c0 fs/btrfs/extent-tree.c:2224 btrfs_commit_transaction+0x4ba/0x3740 fs/btrfs/transaction.c:2237 btrfs_sync_file+0xf50/0x1330 fs/btrfs/file.c:2004 generic_write_sync include/linux/fs.h:2653 [inline] btrfs_do_write_iter+0xbc5/0x1190 fs/btrfs/file.c:1694 do_iter_readv_writev+0x330/0x4a0 do_iter_write+0x1f6/0x8d0 fs/read_write.c:860 iter_file_splice_write+0x86d/0x1010 fs/splice.c:736 do_splice_from fs/splice.c:933 [inline] direct_splice_actor+0xea/0x1c0 fs/splice.c:1142 splice_direct_to_actor+0x376/0x9e0 fs/splice.c:1088 do_splice_direct+0x2ac/0x3f0 fs/splice.c:1194 do_sendfile+0x62c/0x1000 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:51 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fc841a7cb29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc8428a80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fc841b9bf80 RCX: 00007fc841a7cb29 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007fc841ac847a R08: 0000000000000000 R09: 0000000000000000 R10: 000000000880000c R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc841b9bf80 R15: 00007ffefadc9bf8