------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 5325 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: 5325 Comm: syz.0.0 Not tainted 6.15.0-syzkaller-11802-g1af80d00e1e0 #0 PREEMPT(full) 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+0x2480/0x2eb0 fs/btrfs/extent-tree.c:3235 Code: 00 01 cd 8b 45 89 ee 44 89 ea e8 4b 3d 69 fd eb 1d e8 84 80 ff fd 90 48 c7 c7 a0 00 cd 8b 45 89 ee 44 89 ee e8 21 2e c3 fd 90 <0f> 0b 90 90 4c 8b 7c 24 20 48 8b 7c 24 18 e9 94 e2 ff ff e8 58 80 RSP: 0018:ffffc9000f53ebe0 EFLAGS: 00010246 RAX: 87dafc6efac51500 RBX: 0000000000000000 RCX: 0000000000100000 RDX: ffffc9000e493000 RSI: 00000000000fffff RDI: 0000000000100000 RBP: ffffc9000f53ed90 R08: ffff88801fc24293 R09: 1ffff11003f84852 R10: dffffc0000000000 R11: ffffed1003f84853 R12: 00000000ffffffe4 R13: 00000000ffffffe4 R14: 00000000ffffffe4 R15: ffff888055609e70 FS: 00007f74836346c0(0000) GS:ffff88808d25c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c3a2ee28f0 CR3: 0000000042b13000 CR4: 0000000000352ef0 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:3027 [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+0xfe/0x160 fs/splice.c:1158 splice_direct_to_actor+0x5a8/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:0x7f748278e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7483634038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f74829b6080 RCX: 00007f748278e929 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000008 RBP: 00007f7482810b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000200201005 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f74829b6080 R15: 00007ffc6e156b18