------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 2 PID: 6127 at fs/btrfs/extent-tree.c:3203 __btrfs_free_extent.isra.0+0x859/0x2cf0 fs/btrfs/extent-tree.c:3203 Modules linked in: CPU: 2 UID: 0 PID: 6127 Comm: syz-executor.0 Not tainted 6.14.0-rc4-syzkaller-gd082ecbc71e9 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__btrfs_free_extent.isra.0+0x859/0x2cf0 fs/btrfs/extent-tree.c:3203 Code: f8 19 77 0f ba 01 00 04 02 48 0f a3 c2 0f 82 61 05 00 00 e8 c9 54 f6 fd 90 8b 74 24 30 48 c7 c7 80 c7 b8 8b e8 58 85 b6 fd 90 <0f> 0b 90 90 bd 01 00 00 00 e8 a9 54 f6 fd 8b 4c 24 30 41 89 e8 ba RSP: 0018:ffffc9000380eff8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffffffffffffffe4 RCX: ffffffff817a1229 RDX: ffff888026960000 RSI: ffffffff817a1236 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000006 R12: ffff8880297698f0 R13: 0000000000000000 R14: ffff8880248c70f0 R15: 0000000000624000 FS: 00007fd68a5fe6c0(0000) GS:ffff88806a800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055dc94d62300 CR3: 000000003506a000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: run_delayed_data_ref fs/btrfs/extent-tree.c:1602 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1783 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1976 [inline] __btrfs_run_delayed_refs+0x9ae/0x3680 fs/btrfs/extent-tree.c:2046 btrfs_run_delayed_refs+0x1a4/0x320 fs/btrfs/extent-tree.c:2158 btrfs_commit_transaction+0x783/0x3b40 fs/btrfs/transaction.c:2196 btrfs_sync_file+0xa47/0x1050 fs/btrfs/file.c:1733 vfs_fsync_range+0x136/0x220 fs/sync.c:187 generic_write_sync include/linux/fs.h:2970 [inline] iomap_dio_complete+0x898/0xa70 fs/iomap/direct-io.c:133 btrfs_direct_write+0x6c4/0xc20 fs/btrfs/direct-io.c:895 btrfs_do_write_iter+0x627/0x7e0 fs/btrfs/file.c:1374 iter_file_splice_write+0x90f/0x10b0 fs/splice.c:743 do_splice_from fs/splice.c:941 [inline] direct_splice_actor+0x18f/0x6c0 fs/splice.c:1164 splice_direct_to_actor+0x346/0xa40 fs/splice.c:1108 do_splice_direct_actor fs/splice.c:1207 [inline] do_splice_direct+0x178/0x250 fs/splice.c:1233 do_sendfile+0xafb/0xe40 fs/read_write.c:1363 __do_sys_sendfile64 fs/read_write.c:1424 [inline] __se_sys_sendfile64 fs/read_write.c:1410 [inline] __x64_sys_sendfile64+0x1da/0x220 fs/read_write.c:1410 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd68b27dda9 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:00007fd68a5fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fd68b3abf80 RCX: 00007fd68b27dda9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007fd68b2ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 000000000880000c R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd68b3abf80 R15: 00007ffebee85ce8