------------[ cut here ]------------ WARNING: CPU: 1 PID: 4258 at fs/btrfs/block-group.c:2437 btrfs_create_pending_block_groups+0x9e8/0xca8 fs/btrfs/block-group.c:2437 Modules linked in: CPU: 1 PID: 4258 Comm: syz.2.47 Not tainted 5.15.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_create_pending_block_groups+0x9e8/0xca8 fs/btrfs/block-group.c:2437 lr : btrfs_create_pending_block_groups+0x9e8/0xca8 fs/btrfs/block-group.c:2437 sp : ffff80001f4a7540 x29: ffff80001f4a7710 x28: ffff0000d00e2858 x27: ffff0000dcce4110 x26: ffff0000dcce4108 x25: ffff0000d00e2850 x24: dfff800000000000 x23: ffff0000d00e29b0 x22: 1fffe0001a01c50b x21: 1fffe0001a01c50a x20: 00000000ffffffe4 x19: ffff0000e75919d0 x18: 0000000000000001 x17: 0000000000000002 x16: ffff80001119ef40 x15: 00000000ffffffff x14: 0000000000ff0100 x13: 0000000000000001 x12: 0000000000080000 x11: 000000000005926f x10: ffff800021bba000 x9 : f742556efa429100 x8 : f742556efa429100 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001f4a6e38 x4 : ffff80001422f280 x3 : ffff800008503f9c x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 Call trace: btrfs_create_pending_block_groups+0x9e8/0xca8 fs/btrfs/block-group.c:2437 __btrfs_end_transaction+0x13c/0x608 fs/btrfs/transaction.c:1016 btrfs_end_transaction+0x24/0x34 fs/btrfs/transaction.c:1052 btrfs_inc_block_group_ro+0x4ec/0x558 fs/btrfs/block-group.c:2660 btrfs_relocate_block_group+0x2b8/0x8a4 fs/btrfs/relocation.c:4041 btrfs_relocate_chunk+0xb8/0x280 fs/btrfs/volumes.c:3332 __btrfs_balance+0x1170/0x1ba4 fs/btrfs/volumes.c:4073 btrfs_balance+0xac4/0x1138 fs/btrfs/volumes.c:4463 btrfs_ioctl_balance+0x4cc/0x658 fs/btrfs/ioctl.c:4152 btrfs_ioctl+0x8d0/0xb38 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+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 85602 hardirqs last enabled at (85601): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (85602): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (85334): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (85334): [] handle_softirqs+0xa4c/0xbf0 kernel/softirq.c:586 softirqs last disabled at (85321): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (85321): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (85321): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (85321): [] __irq_exit_rcu+0x240/0x440 kernel/softirq.c:641 ---[ end trace 69034485cd465b5a ]--- BTRFS: error (device loop2) in btrfs_create_pending_block_groups:2437: errno=-28 No space left BTRFS info (device loop2): forced readonly BTRFS: error (device loop2) in btrfs_create_pending_block_groups:2448: errno=-28 No space left BTRFS info (device loop2): balance: ended with status: -30