------------[ cut here ]------------ WARNING: CPU: 1 PID: 314 at fs/btrfs/block-group.c:3503 do_chunk_alloc fs/btrfs/block-group.c:3503 [inline] WARNING: CPU: 1 PID: 314 at fs/btrfs/block-group.c:3503 btrfs_chunk_alloc+0x8f8/0xcdc fs/btrfs/block-group.c:3726 Modules linked in: CPU: 1 PID: 314 Comm: kworker/u4:4 Not tainted 5.15.169-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound btrfs_async_reclaim_data_space pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : do_chunk_alloc fs/btrfs/block-group.c:3503 [inline] pc : btrfs_chunk_alloc+0x8f8/0xcdc fs/btrfs/block-group.c:3726 lr : do_chunk_alloc fs/btrfs/block-group.c:3503 [inline] lr : btrfs_chunk_alloc+0x8f8/0xcdc fs/btrfs/block-group.c:3726 sp : ffff80001fce78a0 x29: ffff80001fce7900 x28: ffff0000e5e44630 x27: 0000000000000005 x26: ffffffffffffffe4 x25: ffff0000e5e4467b x24: ffff0000e2d8c868 x23: 00000000ffffffe4 x22: 1fffe0001cbc88d1 x21: ffff0000d4458800 x20: dfff800000000000 x19: ffff0000e548e000 x18: 0000000000000001 x17: 0000000000000000 x16: ffff800011ab8424 x15: 00000000ffffffff x14: ffff0000c7989b40 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : 4d0bd7e444366a00 x8 : 4d0bd7e444366a00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001fce7018 x4 : ffff800014b905e0 x3 : ffff800008556e88 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 Call trace: do_chunk_alloc fs/btrfs/block-group.c:3503 [inline] btrfs_chunk_alloc+0x8f8/0xcdc fs/btrfs/block-group.c:3726 flush_space+0x44c/0xc94 fs/btrfs/space-info.c:670 btrfs_async_reclaim_data_space+0xec/0x37c fs/btrfs/space-info.c:1169 process_one_work+0x790/0x11b8 kernel/workqueue.c:2310 worker_thread+0x910/0x1034 kernel/workqueue.c:2457 kthread+0x37c/0x45c kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 irq event stamp: 654010 hardirqs last enabled at (654009): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (654010): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (653952): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (653952): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (653855): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (653855): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (653855): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (653855): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace d330f9ad04431e3a ]--- BTRFS: error (device loop3) in do_chunk_alloc:3503: errno=-28 No space left BTRFS info (device loop3): forced readonly