------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 7787 at fs/btrfs/volumes.c:3292 btrfs_remove_chunk+0x14a4/0x18d4 fs/btrfs/volumes.c:3292 Modules linked in: CPU: 1 UID: 0 PID: 7787 Comm: syz.0.200 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_remove_chunk+0x14a4/0x18d4 fs/btrfs/volumes.c:3292 lr : btrfs_remove_chunk+0x14a4/0x18d4 fs/btrfs/volumes.c:3292 sp : ffff8000a42b76c0 x29: ffff8000a42b7840 x28: 0000000000690000 x27: ffff0000f19b9d18 x26: dfff800000000000 x25: ffff0000f7cd8600 x24: ffffffffffffffe4 x23: dfff800000000000 x22: ffff700014856ef0 x21: ffff0000f19b9cb8 x20: 0000000000000000 x19: 0000000000000000 x18: 1fffe000366c8076 x17: ffff80008f8cd000 x16: ffff800080355c58 x15: 0000000000000001 x14: 1fffe000366cab20 x13: ffff8000a42b8000 x12: 0000000000000003 x11: 0000000000000001 x10: 0000000000000003 x9 : a85d96ae6e338500 x8 : a85d96ae6e338500 x7 : ffff8000802c419c x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : ffff80008b6c4000 x0 : ffff800123e21000 Call trace: btrfs_remove_chunk+0x14a4/0x18d4 fs/btrfs/volumes.c:3292 (P) btrfs_remove_chunk+0x14a4/0x18d4 fs/btrfs/volumes.c:3292 (L) btrfs_relocate_chunk+0x268/0x37c fs/btrfs/volumes.c:3422 __btrfs_balance+0x1454/0x1db4 fs/btrfs/volumes.c:4161 btrfs_balance+0xa38/0xe50 fs/btrfs/volumes.c:4538 btrfs_ioctl_balance+0x3e4/0x778 fs/btrfs/ioctl.c:3673 btrfs_ioctl+0x70c/0xaec fs/btrfs/ioctl.c:4783 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:893 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 71402 hardirqs last enabled at (71401): [<ffff8000802c423c>] raw_spin_rq_unlock_irq kernel/sched/sched.h:1518 [inline] hardirqs last enabled at (71401): [<ffff8000802c423c>] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5082 hardirqs last disabled at (71402): [<ffff80008b54386c>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (71008): [<ffff80008002f3d8>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (71006): [<ffff80008002f3a4>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop0 state A): dumping space info: BTRFS info (device loop0 state A): space_info DATA+METADATA has 8036352 free, is not full BTRFS info (device loop0 state A): space_info total=11534336, used=49152, pinned=0, reserved=8192, may_use=1802240, readonly=1638400 zone_unusable=0 BTRFS info (device loop0 state A): space_info SYSTEM has -98304 free, is not full BTRFS info (device loop0 state A): space_info total=4194304, used=4096, pinned=0, reserved=0, may_use=98304, readonly=4190208 zone_unusable=0 BTRFS info (device loop0 state A): global_block_rsv: size 983040 reserved 978944 BTRFS info (device loop0 state A): trans_block_rsv: size 262144 reserved 262144 BTRFS info (device loop0 state A): chunk_block_rsv: size 98304 reserved 98304 BTRFS info (device loop0 state A): delayed_block_rsv: size 0 reserved 0 BTRFS info (device loop0 state A): delayed_refs_rsv: size 262144 reserved 262144 BTRFS: error (device loop0 state A) in btrfs_remove_chunk:3292: errno=-28 No space left BTRFS info (device loop0 state EA): forced readonly BTRFS info (device loop0 state EA): 1 enospc errors during balance BTRFS info (device loop0 state EA): balance: ended with status: -30