------------[ cut here ]------------ WARNING: CPU: 0 PID: 5614 at fs/btrfs/transaction.c:1994 cleanup_transaction+0x680/0x774 fs/btrfs/transaction.c:1994 Modules linked in: CPU: 0 PID: 5614 Comm: syz.1.247 Not tainted 6.1.128-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : cleanup_transaction+0x680/0x774 fs/btrfs/transaction.c:1994 lr : cleanup_transaction+0x680/0x774 fs/btrfs/transaction.c:1994 sp : ffff800022c071e0 x29: ffff800022c072c0 x28: ffff0000c062bb28 x27: ffff700004580e44 x26: 1fffe000180c576f x25: 0000000000000000 x24: ffff0000c062bb78 x23: 00000000ffffffe4 x22: ffff800022c07220 x21: ffff0000c38ad000 x20: dfff800000000000 x19: 0000000000000000 x18: 1fffe00036798976 x17: 0000000000000000 x16: ffff80001231f9fc x15: 0000000000000002 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000080000 x11: 000000000007ffff x10: ffff800021cf9000 x9 : 11e742078f8abe00 x8 : 11e742078f8abe00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800022c06ad8 x4 : ffff800015bd5320 x3 : ffff800008587fd0 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: cleanup_transaction+0x680/0x774 fs/btrfs/transaction.c:1994 btrfs_commit_transaction+0x2358/0x2cd4 fs/btrfs/transaction.c:2580 prepare_to_relocate+0x314/0x3f4 fs/btrfs/relocation.c:3606 relocate_block_group+0x12c/0xac4 fs/btrfs/relocation.c:3631 btrfs_relocate_block_group+0x5a8/0x98c fs/btrfs/relocation.c:4094 btrfs_relocate_chunk+0x118/0x368 fs/btrfs/volumes.c:3344 __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: 76850 hardirqs last enabled at (76849): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (76850): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (76236): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (76234): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop1: state A): dumping space info: BTRFS info (device loop1: state A): space_info DATA+METADATA has 5767168 free, is full BTRFS info (device loop1: state A): space_info total=9895936, used=61440, pinned=16384, reserved=0, may_use=2490368, readonly=1560576 zone_unusable=0 BTRFS info (device loop1: state A): space_info SYSTEM has 4186112 free, is not full BTRFS info (device loop1: state A): space_info total=4194304, used=4096, pinned=4096, reserved=0, may_use=0, readonly=0 zone_unusable=0 BTRFS info (device loop1: state A): global_block_rsv: size 1441792 reserved 1441792 BTRFS info (device loop1: state A): trans_block_rsv: size 0 reserved 0 BTRFS info (device loop1: state A): chunk_block_rsv: size 0 reserved 0 BTRFS info (device loop1: state A): delayed_block_rsv: size 0 reserved 0 BTRFS info (device loop1: state A): delayed_refs_rsv: size 0 reserved 0 BTRFS: error (device loop1: state A) in cleanup_transaction:1994: errno=-28 No space left BTRFS info (device loop1: state EA): forced readonly BTRFS info (device loop1: state EA): 1 enospc errors during balance BTRFS info (device loop1: state EA): balance: ended with status: -28