------------[ cut here ]------------ btrfs_abort_should_print_stack(__error) WARNING: fs/btrfs/block-group.c:4212 at do_chunk_alloc fs/btrfs/block-group.c:4212 [inline], CPU#1: kworker/u8:3/50 WARNING: fs/btrfs/block-group.c:4212 at btrfs_chunk_alloc+0xc44/0x10d0 fs/btrfs/block-group.c:4453, CPU#1: kworker/u8:3/50 Modules linked in: CPU: 1 UID: 0 PID: 50 Comm: kworker/u8:3 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:4212 [inline] RIP: 0010:btrfs_chunk_alloc+0xc44/0x10d0 fs/btrfs/block-group.c:4453 Code: 40 b1 4d 8c 4c 89 ff e8 3a 1e 80 fd 41 8d 47 1e 83 f8 19 77 0f ba 01 00 04 02 48 0f a3 c2 0f 82 58 10 a6 fc e8 4d 23 80 fd 90 <0f> 0b 90 e9 4a 10 a6 fc 48 8b 7c 24 58 e8 da 6b f3 fd e9 54 f4 ff RSP: 0018:ffffc90000ba7998 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888053a78000 RCX: 0000000000000000 RDX: ffff88801db5ddc0 RSI: ffffffff848c1223 RDI: ffff88801db5ddc0 RBP: ffff888053a780b1 R08: 0000000000000005 R09: fffffffffffffffb R10: ffffffffffffffe4 R11: 0000000000000001 R12: ffff88808af1c968 R13: 00000000ffffffe4 R14: ffff88808af1dc00 R15: ffffffffffffffe4 FS: 0000000000000000(0000) GS:ffff888122a44000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562ed6998078 CR3: 00000000723fd000 CR4: 0000000000350ef0 Call Trace: flush_space+0x5af/0xe20 fs/btrfs/space-info.c:908 do_async_reclaim_metadata_space+0x139/0x4c0 fs/btrfs/space-info.c:1211 btrfs_async_reclaim_metadata_space+0xd0/0x170 fs/btrfs/space-info.c:1278 process_one_work+0xac7/0x1b10 kernel/workqueue.c:3396 process_scheduled_works kernel/workqueue.c:3479 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3560 kthread+0x373/0x450 kernel/kthread.c:436 ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245