------------[ cut here ]------------ WARNING: CPU: 0 PID: 4939 at fs/btrfs/volumes.c:3217 btrfs_remove_chunk+0x11d8/0x1754 fs/btrfs/volumes.c:3217 Modules linked in: CPU: 0 PID: 4939 Comm: syz-executor.0 Not tainted 5.15.161-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_remove_chunk+0x11d8/0x1754 fs/btrfs/volumes.c:3217 lr : btrfs_remove_chunk+0x11d8/0x1754 fs/btrfs/volumes.c:3217 sp : ffff80001e9d76a0 x29: ffff80001e9d7820 x28: ffff0000dc6c6b58 x27: ffff0000dc6c6b00 x26: ffffffffffffffe4 x25: dfff800000000000 x24: ffff0000e54b1340 x23: ffff700003d3aeec x22: 1fffe000182d27c0 x21: ffff0000c1693e00 x20: ffff0000dc6c6b4c x19: 00000000ffffffe4 x18: 0000000000000001 x17: 0000000000000002 x16: ffff80001199d104 x15: 00000000ffffffff x14: ffff0000d14c51c0 x13: 0000000000000001 x12: 0000000000040000 x11: 000000000003ffff x10: ffff80001d56b000 x9 : ab985f9900176c00 x8 : ab985f9900176c00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001e9d6e18 x4 : ffff800014a2f7a0 x3 : ffff8000085503f4 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 Call trace: btrfs_remove_chunk+0x11d8/0x1754 fs/btrfs/volumes.c:3217 btrfs_relocate_chunk+0x1d0/0x280 fs/btrfs/volumes.c:3334 __btrfs_balance+0x1214/0x1e20 fs/btrfs/volumes.c:4037 btrfs_balance+0xaa8/0x111c fs/btrfs/volumes.c:4427 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: 85514 hardirqs last enabled at (85513): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (85514): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (83858): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (83858): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (83805): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (83805): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (83805): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (83805): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 9049a7d499f52e1b ]--- BTRFS: error (device loop0) in btrfs_remove_chunk:3217: errno=-28 No space left BTRFS info (device loop0): forced readonly BTRFS info (device loop0): 1 enospc errors during balance BTRFS info (device loop0): balance: ended with status: -28