------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 46 at fs/btrfs/extent-tree.c:3226 __btrfs_free_extent+0x3065/0x3a10 fs/btrfs/extent-tree.c:3226 Modules linked in: CPU: 0 UID: 0 PID: 46 Comm: kworker/u4:3 Not tainted 6.12.0-rc5-syzkaller-00308-g3e5e6c9900c3 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:__btrfs_free_extent+0x3065/0x3a10 fs/btrfs/extent-tree.c:3226 Code: 08 48 83 c4 10 41 bd fe ff ff ff 4c 8b 24 24 e9 60 ed ff ff e8 bc e6 e2 fd 90 48 c7 c7 20 0b 4c 8c 44 89 ee e8 4c dc a3 fd 90 <0f> 0b 90 90 e9 e2 d8 ff ff e8 9d e6 e2 fd 4c 8b 24 24 48 8b 7c 24 RSP: 0018:ffffc9000060f360 EFLAGS: 00010246 RAX: 5f6592fecccf6700 RBX: ffff888043f4ba68 RCX: ffff88801e128000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000060f530 R08: ffffffff8155d252 R09: 1ffff11003f8519a R10: dffffc0000000000 R11: ffffed1003f8519b R12: dffffc0000000000 R13: 00000000ffffffe4 R14: 0000000000000000 R15: ffff888043f4bac8 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000206af000 CR3: 0000000043b50000 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:1740 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1766 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:2031 [inline] __btrfs_run_delayed_refs+0x112e/0x4680 fs/btrfs/extent-tree.c:2101 btrfs_run_delayed_refs+0xe3/0x2c0 fs/btrfs/extent-tree.c:2213 flush_space+0x2f7/0xd00 btrfs_async_reclaim_metadata_space+0x28e/0x350 fs/btrfs/space-info.c:1105 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244