------------[ cut here ]------------ WARNING: CPU: 0 PID: 4146 at fs/btrfs/block-group.c:2441 btrfs_create_pending_block_groups+0x9e8/0xca8 fs/btrfs/block-group.c:2441 Modules linked in: CPU: 0 PID: 4146 Comm: syz.2.3 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_create_pending_block_groups+0x9e8/0xca8 fs/btrfs/block-group.c:2441 lr : btrfs_create_pending_block_groups+0x9e8/0xca8 fs/btrfs/block-group.c:2441 sp : ffff80001fd67540 x29: ffff80001fd67710 x28: ffff0000dc213058 x27: ffff0000de4b7110 x26: ffff0000de4b7108 x25: ffff0000dc213050 x24: dfff800000000000 x23: ffff0000dc2131b0 x22: 1fffe0001b84260b x21: 1fffe0001b84260a x20: 00000000ffffffe4 x19: ffff0000e9f999d0 x18: 0000000000000001 x17: 0000000000000002 x16: ffff8000111bc798 x15: 00000000ffffffff x14: 0000000000ff0100 x13: 0000000000000001 x12: 0000000000080000 x11: 000000000007ffff x10: ffff80002148d000 x9 : d8e7484964017800 x8 : d8e7484964017800 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001fd66e38 x4 : ffff80001424f400 x3 : ffff80000850433c x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 Call trace: btrfs_create_pending_block_groups+0x9e8/0xca8 fs/btrfs/block-group.c:2441 __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:2664 btrfs_relocate_block_group+0x2b8/0x8a4 fs/btrfs/relocation.c:4041 btrfs_relocate_chunk+0xb8/0x280 fs/btrfs/volumes.c:3338 __btrfs_balance+0x1170/0x1ba4 fs/btrfs/volumes.c:4079 btrfs_balance+0xac4/0x1138 fs/btrfs/volumes.c:4469 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: 81698 hardirqs last enabled at (81697): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (81698): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (81516): [] softirq_handle_end kernel/softirq.c:419 [inline] softirqs last enabled at (81516): [] handle_softirqs+0xa4c/0xbf0 kernel/softirq.c:604 softirqs last disabled at (81497): [] __do_softirq kernel/softirq.c:610 [inline] softirqs last disabled at (81497): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (81497): [] invoke_softirq kernel/softirq.c:457 [inline] softirqs last disabled at (81497): [] __irq_exit_rcu+0x240/0x440 kernel/softirq.c:659 ---[ end trace 41f3cc765bd329ec ]--- BTRFS: error (device loop2) in btrfs_create_pending_block_groups:2441: errno=-28 No space left BTRFS info (device loop2): forced readonly BTRFS: error (device loop2) in btrfs_create_pending_block_groups:2452: errno=-28 No space left BTRFS: error (device loop2) in add_block_group_free_space:1315: errno=-28 No space left BTRFS info (device loop2): balance: ended with status: -30