------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 3554 at fs/btrfs/block-group.c:3972 do_chunk_alloc fs/btrfs/block-group.c:3972 [inline] WARNING: CPU: 0 PID: 3554 at fs/btrfs/block-group.c:3972 btrfs_chunk_alloc+0xe7c/0x10b0 fs/btrfs/block-group.c:4214 Modules linked in: CPU: 0 UID: 0 PID: 3554 Comm: kworker/u8:6 Not tainted 6.15.0-rc5-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3972 [inline] RIP: 0010:btrfs_chunk_alloc+0xe7c/0x10b0 fs/btrfs/block-group.c:4214 Code: 48 c7 c6 20 3d af 8b 44 89 f2 e8 bf 2e 48 fd e9 05 fd ff ff e8 75 ea dd fd 90 48 c7 c7 c0 3c af 8b 44 89 f6 e8 b5 46 a2 fd 90 <0f> 0b 90 90 e9 e6 fc ff ff e8 56 ea dd fd eb 05 e8 4f ea dd fd 48 RSP: 0018:ffffc9000c5df838 EFLAGS: 00010246 RAX: ed775cb42c950900 RBX: 0000000000000000 RCX: ffff888030955a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 00000000ffffff01 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1bba4b4 R12: ffff888033700800 R13: dffffc0000000000 R14: ffffffffffffffe4 R15: ffff888021bd8000 FS: 0000000000000000(0000) GS:ffff8881260cb000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2a6bae56c0 CR3: 00000000314a5000 CR4: 0000000000350ef0 Call Trace: flush_space+0x2fe/0xcc0 fs/btrfs/space-info.c:815 btrfs_async_reclaim_metadata_space+0x185/0x3d0 fs/btrfs/space-info.c:1120 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xade/0x17a0 kernel/workqueue.c:3319 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400 kthread+0x711/0x8a0 kernel/kthread.c:464 ret_from_fork+0x4e/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245