BTRFS info (device loop2): balance: start -d -m BTRFS info (device loop2): relocating block group 6881280 flags data|metadata ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5459 at fs/btrfs/relocation.c:4122 btrfs_relocate_block_group+0xc6a/0xd00 fs/btrfs/relocation.c:4122 Modules linked in: CPU: 0 PID: 5459 Comm: syz-executor.2 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:btrfs_relocate_block_group+0xc6a/0xd00 fs/btrfs/relocation.c:4122 Code: 24 e9 75 f9 ff ff e8 e5 62 28 fe 48 8b 2c 24 4c 8b 6c 24 38 e9 76 f9 ff ff e8 d2 62 28 fe 0f 0b e9 24 ff ff ff e8 c6 62 28 fe <0f> 0b e9 74 ff ff ff e8 ba 62 28 fe 0f 0b eb c3 44 89 f9 80 e1 07 RSP: 0018:ffffc9000390fa40 EFLAGS: 00010293 RAX: ffffffff834f615a RBX: ffff888078694010 RCX: ffff8880651c0000 RDX: 0000000000000000 RSI: 0000000000190000 RDI: 0000000000000000 RBP: 0000000000190000 R08: dffffc0000000000 R09: fffff52000721f39 R10: fffff52000721f39 R11: 1ffff92000721f38 R12: 0000000000000000 R13: 1ffff110051f0000 R14: ffff888078694000 R15: ffff888028f80000 FS: 00007f32fa33d6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fba74a95000 CR3: 0000000079179000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_relocate_chunk+0xaa/0x290 fs/btrfs/volumes.c:3338 __btrfs_balance+0x1641/0x2250 fs/btrfs/volumes.c:4079 btrfs_balance+0xd89/0x1520 fs/btrfs/volumes.c:4469 btrfs_ioctl_balance+0x674/0x810 fs/btrfs/ioctl.c:4152 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f33023dcb29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f32fa33d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f33024fc050 RCX: 00007f33023dcb29 RDX: 00000000200003c0 RSI: 00000000c4009420 RDI: 0000000000000005 RBP: 00007f330242847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f33024fc050 R15: 00007fffda6563d8