------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 12 at fs/btrfs/block-group.c:4007 do_chunk_alloc fs/btrfs/block-group.c:4007 [inline] WARNING: CPU: 0 PID: 12 at fs/btrfs/block-group.c:4007 btrfs_chunk_alloc+0xe67/0x1440 fs/btrfs/block-group.c:4248 Modules linked in: CPU: 0 UID: 0 PID: 12 Comm: kworker/u8:0 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:4007 [inline] RIP: 0010:btrfs_chunk_alloc+0xe67/0x1440 fs/btrfs/block-group.c:4248 Code: 00 e8 ad d2 be fd 84 c0 74 29 e8 f4 41 d8 fd e9 62 01 00 00 e8 ea 41 d8 fd 90 48 c7 c7 60 2a 10 8b 44 89 f6 e8 ea dd 9c fd 90 <0f> 0b 90 90 e9 9a fc ff ff e8 4b ef cb 06 89 c3 31 ff 89 c6 e8 70 RSP: 0018:ffffc90000117778 EFLAGS: 00010246 RAX: 2a503c80e5a93800 RBX: ffff88805c14c001 RCX: ffff888019ea5a00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed101710487b R12: dffffc0000000000 R13: ffff88805e6e7800 R14: ffffffffffffffe4 R15: ffff88805d5b8168 FS: 0000000000000000(0000) GS:ffff88812703b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564668aae07c CR3: 0000000034b42000 CR4: 00000000003526f0 Call Trace: flush_space+0x30b/0xcd0 fs/btrfs/space-info.c:861 do_async_reclaim_metadata_space+0x144/0x390 fs/btrfs/space-info.c:1158 btrfs_async_reclaim_metadata_space+0x89/0xe0 fs/btrfs/space-info.c:1226 process_one_work kernel/workqueue.c:3263 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x436/0x7d0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245