BTRFS info (device loop6): relocating block group 5242880 flags data|metadata BTRFS info (device loop6): found 9 extents, stage: move data extents BTRFS info (device loop6): found 1 extents, stage: update data pointers ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7248 at fs/btrfs/relocation.c:4047 btrfs_relocate_block_group+0x940/0x984 fs/btrfs/relocation.c:4047 Modules linked in: CPU: 1 UID: 0 PID: 7248 Comm: syz.6.119 Not tainted 6.15.0-rc2-syzkaller-gc72692105976 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_relocate_block_group+0x940/0x984 fs/btrfs/relocation.c:4047 lr : btrfs_relocate_block_group+0x940/0x984 fs/btrfs/relocation.c:4047 sp : ffff8000a05977f0 x29: ffff8000a0597840 x28: 0000000000000000 x27: 1fffe0001ae62800 x26: dfff800000000000 x25: 0000000000003000 x24: 0000000000000000 x23: ffff0000d73145a0 x22: ffff0000d73145e8 x21: ffff0000d7314000 x20: ffff0000d2797800 x19: ffff0000d069c000 x18: 1fffe0001a87ee0b x17: ffff80008ff2e000 x16: ffff800080c25014 x15: 0000000000000001 x14: 1ffff000140b2ee8 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000007ffff x9 : ffff8000a130d000 x8 : 0000000000080000 x7 : 0000000000000000 x6 : 000000000000003f x5 : 0000000000000040 x4 : 0000000000000001 x3 : ffff80008b99ad48 x2 : 0000000000000001 x1 : 0000000000003000 x0 : 0000000000000000 Call trace: btrfs_relocate_block_group+0x940/0x984 fs/btrfs/relocation.c:4047 (P) btrfs_relocate_chunk+0x118/0x37c fs/btrfs/volumes.c:3511 __btrfs_balance+0x14a8/0x1d74 fs/btrfs/volumes.c:4292 btrfs_balance+0xa38/0xe50 fs/btrfs/volumes.c:4669 btrfs_ioctl_balance+0x360/0x644 fs/btrfs/ioctl.c:3586 btrfs_ioctl+0x740/0xb28 fs/btrfs/ioctl.c:5304 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl fs/ioctl.c:892 [inline] __arm64_sys_ioctl+0x14c/0x1c4 fs/ioctl.c:892 __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+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 77990 hardirqs last enabled at (77989): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (77990): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (75112): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (75112): [] handle_softirqs+0xb44/0xd34 kernel/softirq.c:607 softirqs last disabled at (75083): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop6): balance: ended with status: 0