------------[ cut here ]------------ WARNING: CPU: 1 PID: 4801 at fs/btrfs/volumes.c:3259 btrfs_remove_chunk+0x1364/0x18e8 fs/btrfs/volumes.c:3259 Modules linked in: CPU: 1 PID: 4801 Comm: syz-executor515 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 : btrfs_remove_chunk+0x1364/0x18e8 fs/btrfs/volumes.c:3259 lr : btrfs_remove_chunk+0x1364/0x18e8 fs/btrfs/volumes.c:3259 sp : ffff8000228075e0 x29: ffff800022807760 x28: ffff0000e1a986dc x27: ffff0000e1a986e0 x26: dfff800000000000 x25: ffffffffffffffe4 x24: ffff0000caab58f0 x23: ffff700004500ed4 x22: 1fffe0001982c440 x21: ffff0000cc162200 x20: 0000000000000006 x19: 0000000000000000 x18: 1fffe0003679cb76 x17: ffff800015aed000 x16: ffff800008302574 x15: ffff0001b3ce5bbc x14: 1ffff00002b5e0b2 x13: dfff800000000000 x12: 0000000000000003 x11: 0000000000ff0100 x10: 0000000000000003 x9 : 4ae281b732787100 x8 : 4ae281b732787100 x7 : ffff8000082783ec x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : ffff80001247d5a0 x0 : ffff80019e2a1000 Call trace: btrfs_remove_chunk+0x1364/0x18e8 fs/btrfs/volumes.c:3259 btrfs_delete_unused_bgs+0xa58/0xd00 fs/btrfs/block-group.c:1528 btrfs_remount+0xb84/0x121c fs/btrfs/super.c:2076 legacy_reconfigure+0xfc/0x114 fs/fs_context.c:655 reconfigure_super+0x318/0x7a4 fs/super.c:977 do_remount fs/namespace.c:2712 [inline] path_mount+0xc70/0xe5c fs/namespace.c:3378 do_mount fs/namespace.c:3399 [inline] __do_sys_mount fs/namespace.c:3607 [inline] __se_sys_mount fs/namespace.c:3584 [inline] __arm64_sys_mount+0x498/0x588 fs/namespace.c:3584 __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: 1040 hardirqs last enabled at (1039): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1367 [inline] hardirqs last enabled at (1039): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:5000 hardirqs last disabled at (1040): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (1024): [] softirq_handle_end kernel/softirq.c:421 [inline] softirqs last enabled at (1024): [] handle_softirqs+0xb84/0xd58 kernel/softirq.c:606 softirqs last disabled at (1005): [] __do_softirq+0x14/0x20 kernel/softirq.c:612 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop2: state MA): dumping space info: BTRFS info (device loop2: state MA): space_info DATA+METADATA has 1523712 free, is not full BTRFS info (device loop2: state MA): space_info total=3276800, used=53248, pinned=0, reserved=4096, may_use=1695744, readonly=0 zone_unusable=0 BTRFS info (device loop2: state MA): space_info SYSTEM has 8253440 free, is not full BTRFS info (device loop2: state MA): space_info total=12451840, used=4096, pinned=0, reserved=0, may_use=0, readonly=4194304 zone_unusable=0 BTRFS info (device loop2: state MA): global_block_rsv: size 1441792 reserved 1433600 BTRFS info (device loop2: state MA): trans_block_rsv: size 262144 reserved 262144 BTRFS info (device loop2: state MA): chunk_block_rsv: size 0 reserved 0 BTRFS info (device loop2: state MA): delayed_block_rsv: size 0 reserved 0 BTRFS info (device loop2: state MA): delayed_refs_rsv: size 262144 reserved 0 BTRFS: error (device loop2: state MA) in btrfs_remove_chunk:3259: errno=-28 No space left