------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 5579 at fs/btrfs/extent-tree.c:3210 __btrfs_free_extent+0x3065/0x3a10 fs/btrfs/extent-tree.c:3210 Modules linked in: CPU: 0 UID: 0 PID: 5579 Comm: syz-executor.0 Not tainted 6.11.0-syzkaller-07462-g1868f9d0260e-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:__btrfs_free_extent+0x3065/0x3a10 fs/btrfs/extent-tree.c:3210 Code: 08 48 83 c4 10 41 bd fe ff ff ff 4c 8b 24 24 e9 60 ed ff ff e8 bc cb e9 fd 90 48 c7 c7 a0 ea 4b 8c 44 89 ee e8 bc c9 aa fd 90 <0f> 0b 90 90 e9 e2 d8 ff ff e8 9d cb e9 fd 4c 8b 24 24 48 8b 7c 24 RSP: 0018:ffffc900089668e0 EFLAGS: 00010246 RAX: 5740474d6fec3400 RBX: ffff888079a5a378 RCX: ffff888025d88000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90008966ab0 R08: ffffffff8155bf72 R09: 1ffff1101710519a R10: dffffc0000000000 R11: ffffed101710519b R12: dffffc0000000000 R13: 00000000ffffffe4 R14: 0000000000000000 R15: ffff888079a5a3d8 FS: 00007f647f98c6c0(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005622b0fdf950 CR3: 000000006977c000 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:1724 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1750 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:2015 [inline] __btrfs_run_delayed_refs+0x112e/0x4680 fs/btrfs/extent-tree.c:2085 btrfs_run_delayed_refs+0xe3/0x2c0 fs/btrfs/extent-tree.c:2197 btrfs_commit_transaction+0x4be/0x3740 fs/btrfs/transaction.c:2197 btrfs_sync_file+0xdf5/0x1230 fs/btrfs/file.c:1864 generic_write_sync include/linux/fs.h:2870 [inline] iomap_dio_complete+0x595/0x950 fs/iomap/direct-io.c:133 btrfs_direct_write+0x6a1/0xa70 fs/btrfs/direct-io.c:896 btrfs_do_write_iter+0x2a0/0x760 fs/btrfs/file.c:1505 iter_file_splice_write+0xbfa/0x1510 fs/splice.c:743 do_splice_from fs/splice.c:941 [inline] direct_splice_actor+0x11b/0x220 fs/splice.c:1164 splice_direct_to_actor+0x586/0xc80 fs/splice.c:1108 do_splice_direct_actor fs/splice.c:1207 [inline] do_splice_direct+0x289/0x3e0 fs/splice.c:1233 do_sendfile+0x561/0xe10 fs/read_write.c:1388 __do_sys_sendfile64 fs/read_write.c:1455 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1441 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f647ec7cb29 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:00007f647f98c0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f647ed9bf80 RCX: 00007f647ec7cb29 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f647ecc847a R08: 0000000000000000 R09: 0000000000000000 R10: 000000000880000c R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f647ed9bf80 R15: 00007ffcc6789928