BTRFS info (device loop4): relocating block group 5242880 flags data|metadata ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 8027 at fs/btrfs/extent-tree.c:3235 __btrfs_free_extent+0x1f54/0x2b78 fs/btrfs/extent-tree.c:3235 Modules linked in: CPU: 1 UID: 0 PID: 8027 Comm: syz.4.353 Not tainted 6.16.0-rc7-syzkaller-g29e0a1d9558f #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __btrfs_free_extent+0x1f54/0x2b78 fs/btrfs/extent-tree.c:3235 lr : __btrfs_free_extent+0x1f54/0x2b78 fs/btrfs/extent-tree.c:3235 sp : ffff8000a1f96ce0 x29: ffff8000a1f96e40 x28: 1fffe0001e93e711 x27: ffff7000143f2db0 x26: dfff800000000000 x25: ffff0000f49f3880 x24: ffff0000ded53b90 x23: ffff0000ded53bf0 x22: 00000000ffffffe4 x21: 0000000000000000 x20: 0000000000000000 x19: 00000000ffffffe4 x18: 00000000ffffffff x17: 0000000000000000 x16: ffff80008ae69508 x15: ffff700011ee0158 x14: 1ffff00011ee0158 x13: 0000000000000004 x12: ffffffffffffffff x11: 0000000000080000 x10: 000000000007ffff x9 : 154008e25b55f200 x8 : 154008e25b55f200 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000a1f96638 x4 : ffff80008f776bc0 x3 : ffff80008054bdfc x2 : 0000000000000000 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: __btrfs_free_extent+0x1f54/0x2b78 fs/btrfs/extent-tree.c:3235 (P) run_delayed_tree_ref fs/btrfs/extent-tree.c:1747 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1773 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1970 [inline] __btrfs_run_delayed_refs+0xb94/0x31c8 fs/btrfs/extent-tree.c:2045 btrfs_run_delayed_refs+0xc4/0x2e8 fs/btrfs/extent-tree.c:2157 commit_cowonly_roots+0x524/0x6fc fs/btrfs/transaction.c:1378 btrfs_commit_transaction+0x10bc/0x2b44 fs/btrfs/transaction.c:2457 prepare_to_relocate+0x308/0x3e0 fs/btrfs/relocation.c:3513 relocate_block_group+0x110/0xb64 fs/btrfs/relocation.c:3538 btrfs_relocate_block_group+0x628/0x97c fs/btrfs/relocation.c:4008 btrfs_relocate_chunk+0x104/0x378 fs/btrfs/volumes.c:3437 __btrfs_balance+0x1308/0x1a94 fs/btrfs/volumes.c:4212 btrfs_balance+0xa44/0xe58 fs/btrfs/volumes.c:4589 btrfs_ioctl_balance+0x350/0x550 fs/btrfs/ioctl.c:3583 btrfs_ioctl+0xb04/0xc3c fs/btrfs/ioctl.c:5303 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/0x1c4 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+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 53838 hardirqs last enabled at (53837): [] __up_console_sem kernel/printk/printk.c:344 [inline] hardirqs last enabled at (53837): [] __console_unlock+0x70/0xc4 kernel/printk/printk.c:2885 hardirqs last disabled at (53838): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (53762): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (53762): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (53649): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop4 state A): dumping space info: BTRFS info (device loop4 state A): space_info DATA+METADATA (sub-group id 0) has 6225920 free, is full BTRFS info (device loop4 state A): space_info total=9895936, used=49152, pinned=12288, reserved=4096, may_use=2027520, readonly=1576960 zone_unusable=0 BTRFS info (device loop4 state A): space_info SYSTEM (sub-group id 0) has 4186112 free, is not full BTRFS info (device loop4 state A): space_info total=4194304, used=4096, pinned=4096, reserved=0, may_use=0, readonly=0 zone_unusable=0 BTRFS info (device loop4 state A): global_block_rsv: size 983040 reserved 978944 BTRFS info (device loop4 state A): trans_block_rsv: size 0 reserved 0 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 131072 reserved 0 BTRFS: error (device loop4 state A) in __btrfs_free_extent:3235: errno=-28 No space left BTRFS info (device loop4 state EA): forced readonly BTRFS error (device loop4 state EA): failed to run delayed ref for logical 5410816 num_bytes 4096 type 176 action 2 ref_mod 1: -28 BTRFS: error (device loop4 state EA) in btrfs_run_delayed_refs:2159: errno=-28 No space left BTRFS warning (device loop4 state EA): Skipping commit of aborted transaction. BTRFS: error (device loop4 state EA) in cleanup_transaction:2021: errno=-28 No space left BTRFS info (device loop4 state EA): 1 enospc errors during balance BTRFS info (device loop4 state EA): balance: ended with status: -28