------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 6205 at fs/btrfs/extent-tree.c:3235 __btrfs_free_extent+0x2480/0x2eb0 fs/btrfs/extent-tree.c:3235 Modules linked in: CPU: 0 UID: 0 PID: 6205 Comm: syz-executor.0 Not tainted 6.16.0-rc3-syzkaller-g78f4e737a53e #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__btrfs_free_extent+0x2480/0x2eb0 fs/btrfs/extent-tree.c:3235 Code: 40 ef cc 8b 45 89 ee 44 89 ea e8 4b 55 6b fd eb 1d e8 c4 8c 01 fe 90 48 c7 c7 e0 ee cc 8b 45 89 ee 44 89 ee e8 c1 36 c5 fd 90 <0f> 0b 90 90 4c 8b 7c 24 20 48 8b 7c 24 18 e9 94 e2 ff ff e8 98 8c RSP: 0018:ffffc90004baebe0 EFLAGS: 00010246 RAX: 9c0c0f9b7e49c600 RBX: 0000000000000000 RCX: ffff8880783f0000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002 RBP: ffffc90004baed90 R08: ffff8880b8624293 R09: 1ffff110170c4852 R10: dffffc0000000000 R11: ffffed10170c4853 R12: 00000000ffffffe4 R13: 00000000ffffffe4 R14: 00000000ffffffe4 R15: ffff8880759dcc60 FS: 00007fd40de3b6c0(0000) GS:ffff888125c83000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3290200480 CR3: 0000000079b7c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: run_delayed_tree_ref fs/btrfs/extent-tree.c:1747 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1773 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1970 [inline] __btrfs_run_delayed_refs+0xe7b/0x3a50 fs/btrfs/extent-tree.c:2045 btrfs_run_delayed_refs+0xe6/0x300 fs/btrfs/extent-tree.c:2157 btrfs_commit_transaction+0x274/0x37f0 fs/btrfs/transaction.c:2208 btrfs_sync_file+0xd30/0x1160 fs/btrfs/file.c:1797 generic_write_sync include/linux/fs.h:3031 [inline] btrfs_do_write_iter+0x59a/0x710 fs/btrfs/file.c:1448 iter_file_splice_write+0x93a/0x1000 fs/splice.c:738 do_splice_from fs/splice.c:935 [inline] direct_splice_actor+0x101/0x160 fs/splice.c:1158 splice_direct_to_actor+0x5a5/0xcc0 fs/splice.c:1102 do_splice_direct_actor fs/splice.c:1201 [inline] do_splice_direct+0x181/0x270 fs/splice.c:1227 do_sendfile+0x4da/0x7e0 fs/read_write.c:1370 __do_sys_sendfile64 fs/read_write.c:1431 [inline] __se_sys_sendfile64+0x13e/0x190 fs/read_write.c:1417 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd40d07c859 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:00007fd40de3b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fd40d19bf80 RCX: 00007fd40d07c859 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007fd40d0d8ad0 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000880000c R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd40d19bf80 R15: 00007ffccd5d48f8