------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 1034 at fs/btrfs/block-group.c:3937 do_chunk_alloc fs/btrfs/block-group.c:3937 [inline] WARNING: CPU: 0 PID: 1034 at fs/btrfs/block-group.c:3937 btrfs_chunk_alloc+0xf70/0x10d0 fs/btrfs/block-group.c:4179 Modules linked in: CPU: 0 UID: 0 PID: 1034 Comm: kworker/u4:6 Not tainted 6.14.0-syzkaller-01103-g2df0c02dab82 #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 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3937 [inline] RIP: 0010:btrfs_chunk_alloc+0xf70/0x10d0 fs/btrfs/block-group.c:4179 Code: 04 24 48 8b 38 48 c7 c6 e0 a7 6e 8c 89 da e8 67 21 14 fd eb 19 e8 60 cb af fd 90 48 c7 c7 80 a7 6e 8c 89 de e8 e1 e3 6e fd 90 <0f> 0b 90 90 49 bd 00 00 00 00 00 fc ff df 4c 8b 74 24 08 4c 8b 64 RSP: 0018:ffffc900024ef888 EFLAGS: 00010246 RAX: 168e48477f678000 RBX: ffffffffffffffe4 RCX: ffff8880003bc880 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81827e02 R09: fffffbfff1d3a71c R10: dffffc0000000000 R11: fffffbfff1d3a71c R12: ffff888052c5c05b R13: dffffc0000000000 R14: ffff88801cd20001 R15: ffff88805236e800 FS: 0000000000000000(0000) GS:ffff88808c824000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001000 CR3: 000000000e938000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: flush_space+0x32e/0xd30 fs/btrfs/space-info.c:815 btrfs_async_reclaim_metadata_space+0x178/0x3b0 fs/btrfs/space-info.c:1120 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319 worker_thread+0x870/0xd30 kernel/workqueue.c:3400 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245