------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 12 at fs/btrfs/block-group.c:3944 do_chunk_alloc fs/btrfs/block-group.c:3944 [inline] WARNING: CPU: 0 PID: 12 at fs/btrfs/block-group.c:3944 btrfs_chunk_alloc+0xe29/0xfb0 fs/btrfs/block-group.c:4185 Modules linked in: CPU: 0 PID: 12 Comm: kworker/u4:1 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3944 [inline] RIP: 0010:btrfs_chunk_alloc+0xe29/0xfb0 fs/btrfs/block-group.c:4185 Code: ab 2e 8b 89 ee e8 77 ec ac fd 0f 0b 48 8b 5c 24 08 e9 51 fe ff ff e8 b6 47 e3 fd 48 c7 c7 a0 ab 2e 8b 44 89 ee e8 57 ec ac fd <0f> 0b 48 8b 5c 24 08 e9 92 fe ff ff e8 96 47 e3 fd 48 c7 c7 a0 ab RSP: 0000:ffffc90000117908 EFLAGS: 00010246 RAX: a062fe5dc8ae8500 RBX: ffff888061660001 RCX: ffff88801d645a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 0000000000000000 R08: ffffc90000117507 R09: 1ffff92000022ea0 R10: dffffc0000000000 R11: fffff52000022ea1 R12: ffff888061697000 R13: ffffffffffffffe4 R14: ffff88807d241000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9d65c16000 CR3: 000000005f89c000 CR4: 00000000003506f0 Call Trace: flush_space+0x495/0xcd0 fs/btrfs/space-info.c:797 btrfs_async_reclaim_metadata_space+0x26b/0x330 fs/btrfs/space-info.c:1100 process_one_work kernel/workqueue.c:2657 [inline] process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734 worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293