WARNING: CPU: 1 PID: 6765 at fs/btrfs/transaction.c:2005 cleanup_transaction+0x678/0x73c fs/btrfs/transaction.c:2005 Modules linked in: CPU: 1 PID: 6765 Comm: syz-executor.0 Not tainted 6.9.0-rc7-syzkaller-gfda5695d692c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : cleanup_transaction+0x678/0x73c fs/btrfs/transaction.c:2005 lr : cleanup_transaction+0x678/0x73c fs/btrfs/transaction.c:2005 sp : ffff8000a8607200 x29: ffff8000a86072e0 x28: ffff0000f074a6f0 x27: ffff7000150c0e48 x26: 1fffe0001e0e94ea x25: 0000000000000000 x24: ffff0000f074a750 x23: 00000000ffffffe4 x22: ffff8000a8607240 x21: ffff0000c823b000 x20: dfff800000000000 x19: 0000000000000000 x18: 1fffe000367bd196 x17: ffff80008eead000 x16: ffff800080333944 x15: 0000000000000001 x14: 1fffe000367bfd90 x13: 0000000000000000 x12: 0000000000000003 x11: 0000000000000001 x10: 0000000000000003 x9 : 2632d8b2ac4a0200 x8 : 2632d8b2ac4a0200 x7 : ffff8000802aa2c0 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000007 x1 : ffff80008afffb40 x0 : ffff800124fe7000 Call trace: cleanup_transaction+0x678/0x73c fs/btrfs/transaction.c:2005 btrfs_commit_transaction+0x21e0/0x2ba8 fs/btrfs/transaction.c:2588 prepare_to_relocate+0x30c/0x3e8 fs/btrfs/relocation.c:3670 relocate_block_group+0x130/0xbac fs/btrfs/relocation.c:3695 btrfs_relocate_block_group+0x5b8/0x9d0 fs/btrfs/relocation.c:4173 btrfs_relocate_chunk+0x118/0x37c fs/btrfs/volumes.c:3370 __btrfs_balance+0x1454/0x1db4 fs/btrfs/volumes.c:4154 btrfs_balance+0xa38/0xe50 fs/btrfs/volumes.c:4531 btrfs_ioctl_balance+0x3e4/0x778 fs/btrfs/ioctl.c:3675 btrfs_ioctl+0x70c/0xaec fs/btrfs/ioctl.c:4742 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl fs/ioctl.c:890 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:890 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 78068 hardirqs last enabled at (78067): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1399 [inline] hardirqs last enabled at (78067): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5163 hardirqs last disabled at (78068): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (78060): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (78060): [] handle_softirqs+0xa60/0xc34 kernel/softirq.c:582 softirqs last disabled at (77869): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop0 state A): dumping space info: BTRFS info (device loop0 state A): space_info DATA+METADATA has 6225920 free, is full BTRFS info (device loop0 state A): space_info total=9895936, used=49152, pinned=24576, reserved=0, may_use=2031616, readonly=1564672 zone_unusable=0 BTRFS info (device loop0 state A): space_info SYSTEM has 4186112 free, is not full BTRFS info (device loop0 state A): space_info total=4194304, used=4096, pinned=4096, reserved=0, may_use=0, readonly=0 zone_unusable=0 BTRFS info (device loop0 state A): global_block_rsv: size 983040 reserved 983040 BTRFS info (device loop0 state A): trans_block_rsv: size 0 reserved 0 BTRFS info (device loop0 state A): chunk_block_rsv: size 0 reserved 0 BTRFS info (device loop0 state A): delayed_block_rsv: size 0 reserved 0 BTRFS info (device loop0 state A): delayed_refs_rsv: size 0 reserved 0 BTRFS: error (device loop0 state A) in cleanup_transaction:2005: errno=-28 No space left BTRFS info (device loop0 state EA): forced readonly BTRFS info (device loop0 state EA): 1 eno