WARNING: CPU: 1 PID: 7580 at fs/btrfs/block-group.c:2421 btrfs_create_pending_block_groups+0xba4/0xebc fs/btrfs/block-group.c:2421 Modules linked in: CPU: 1 PID: 7580 Comm: syz-executor.4 Not tainted 5.15.157-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 60401005 (nZCv daif +PAN -UAO -TCO -DIT +SSBS BTYPE=--) pc : btrfs_create_pending_block_groups+0xba4/0xebc fs/btrfs/block-group.c:2421 lr : btrfs_create_pending_block_groups+0xba4/0xebc fs/btrfs/block-group.c:2421 sp : ffff80001d377460 x29: ffff80001d3776a0 x28: ffff0000d7195440 x27: ffff0000e73ab1b0 x26: ffff0000dc247318 x25: ffff0000e73ab050 x24: dfff800000000000 x23: 1fffe0001ce7560b x22: 1fffe0001ce7560a x21: ffff0000d71959d0 x20: ffff0000e73ab058 x19: 00000000ffffffe4 x18: 1fffe0003690198e x17: 1fffe0003690198e x16: ffff800011997d7c x15: ffff8000149dec20 x14: 1ffff0000292806a x13: dfff800000000000 x12: 0000000000040000 x11: 000000000003ffff x10: ffff80001e099000 x9 : bdbe6e9fe6ef0e00 x8 : bdbe6e9fe6ef0e00 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff800008550224 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 Call trace: btrfs_create_pending_block_groups+0xba4/0xebc fs/btrfs/block-group.c:2421 __btrfs_end_transaction+0x13c/0x610 fs/btrfs/transaction.c:1014 btrfs_end_transaction+0x24/0x34 fs/btrfs/transaction.c:1050 btrfs_inc_block_group_ro+0x4dc/0x54c fs/btrfs/block-group.c:2644 btrfs_relocate_block_group+0x2c0/0x8bc fs/btrfs/relocation.c:4041 btrfs_relocate_chunk+0xb8/0x280 fs/btrfs/volumes.c:3289 __btrfs_balance+0x1214/0x1e20 fs/btrfs/volumes.c:4029 btrfs_balance+0xaa8/0x111c fs/btrfs/volumes.c:4419 btrfs_ioctl_balance+0x50c/0x7b4 fs/btrfs/ioctl.c:4152 btrfs_ioctl+0x8d4/0xa5c fs/btrfs/ioctl.c:5012 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 93246 hardirqs last enabled at (93245): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1338 [inline] hardirqs last enabled at (93245): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:4784 hardirqs last disabled at (93246): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (93230): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (93230): [] __do_softirq+0xb5c/0xdb0 kernel/softirq.c:587 softirqs last disabled at (93113): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (93113): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (93113): [] __irq_exit_rcu+0x264/0x4d4 kernel/softirq.c:637 ---[ end trace c4474069627d3626 ]--- BTRFS: error (device loop4) in btrfs_create_pending_block_groups:2421: errno=-28 No space left BTRFS info (device loop4): forced readonly BTRFS: error (device loop4) in btrfs_create_pending_block_groups:2432: errno=-28 No space left BTRFS: error (device loop4) in add_block_group_free_space:1315: errno=-28 No space left BTRFS info (device loop4): balance: ended with status: -30