------------[ cut here ]------------ WARNING: CPU: 1 PID: 10982 at fs/btrfs/volumes.c:3259 btrfs_remove_chunk+0x1378/0x1904 fs/btrfs/volumes.c:3259 Modules linked in: CPU: 1 PID: 10982 Comm: syz.4.2352 Tainted: G W 6.1.121-syzkaller #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+0x1378/0x1904 fs/btrfs/volumes.c:3259 lr : btrfs_remove_chunk+0x1378/0x1904 fs/btrfs/volumes.c:3259 sp : ffff8000230576a0 x29: ffff800023057820 x28: 0000000000690000 x27: ffff0000c65032f0 x26: dfff800000000000 x25: ffffffffffffffe4 x24: ffff00011beae270 x23: ffff70000460aeec x22: 1fffe0001e7646c0 x21: ffff0000f3b23600 x20: 0000000000000000 x19: 0000000000000000 x18: ffff800023056aa0 x17: 0000000000000000 x16: ffff80001232c2f4 x15: 0000000000000002 x14: 00000000ffffffff x13: 00000000000349f8 x12: 0000000000080000 x11: 000000000007ffff x10: ffff8000279a9000 x9 : 408a11503cb2c300 x8 : 408a11503cb2c300 x7 : 00000000000349f8 x6 : 00000000000349a0 x5 : ffff800023056f98 x4 : ffff800015b65d88 x3 : ffff800008587354 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: btrfs_remove_chunk+0x1378/0x1904 fs/btrfs/volumes.c:3259 btrfs_relocate_chunk+0x260/0x368 fs/btrfs/volumes.c:3389 __btrfs_balance+0x1468/0x1dc8 fs/btrfs/volumes.c:4092 btrfs_balance+0xa38/0xe40 fs/btrfs/volumes.c:4468 btrfs_ioctl_balance+0x3e4/0x778 fs/btrfs/ioctl.c:4531 btrfs_ioctl+0x72c/0xb08 fs/btrfs/ioctl.c:5570 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 79486 hardirqs last enabled at (79485): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (79486): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (79338): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (79338): [] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599 softirqs last disabled at (79309): [] __do_softirq+0x14/0x20 kernel/softirq.c:605 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop4: state A): dumping space info: BTRFS info (device loop4: state A): space_info DATA+METADATA has 7962624 free, is not full BTRFS info (device loop4: state A): space_info total=11534336, used=61440, pinned=0, reserved=8192, may_use=1863680, readonly=1638400 zone_unusable=0 BTRFS info (device loop4: state A): space_info SYSTEM has 4190208 free, is not full BTRFS info (device loop4: state A): space_info total=4194304, used=4096, pinned=0, reserved=0, may_use=0, readonly=0 zone_unusable=0 BTRFS info (device loop4: state A): global_block_rsv: size 1441792 reserved 1437696 BTRFS info (device loop4: state A): trans_block_rsv: size 262144 reserved 262144 BTRFS info (device loop4: state A): chunk_block_rsv: size 0 reserved 0 BTRFS info (device loop4: state A): delayed_block_rsv: size 0 reserved 0 BTRFS info (device loop4: state A): delayed_refs_rsv: size 524288 reserved 163840 BTRFS: error (device loop4: state A) in btrfs_remove_chunk:3259: errno=-28 No space left BTRFS info (device loop4: state EA): forced readonly BTRFS info (device loop4: state EA): 1 enospc errors during balance BTRFS info (device loop4: state EA): balance: ended with status: -30