------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 6623 at fs/btrfs/volumes.c:3164 btrfs_remove_chunk.cold+0x45d/0x581 fs/btrfs/volumes.c:3164 Modules linked in: CPU: 0 PID: 6623 Comm: syz-executor333 Not tainted 6.2.0-rc4-next-20230118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:btrfs_remove_chunk.cold+0x45d/0x581 fs/btrfs/volumes.c:3164 Code: f7 89 ef e8 a5 8b fe ff 31 ff 89 c3 89 c6 e8 0f 10 b8 f7 84 db 74 1a e8 96 13 b8 f7 89 ee 48 c7 c7 60 97 95 8a e8 1b 99 f3 ff <0f> 0b e9 44 ff ff ff e8 7c 13 b8 f7 66 90 bb 01 00 00 00 e9 33 ff RSP: 0018:ffffc9000b26f858 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 000000002b7a4801 RCX: 0000000000000000 RDX: ffff88801bc00000 RSI: ffffffff8166aa6c RDI: fffff5200164defd RBP: ffffffffffffffe4 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffff88802b7a4890 R13: 00000000ffffffe4 R14: ffff88807a3d82c0 R15: ffff888073ce49d8 FS: 00007f11d613a700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556525eadd58 CR3: 0000000029680000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_relocate_chunk+0x273/0x350 fs/btrfs/volumes.c:3287 __btrfs_balance fs/btrfs/volumes.c:3977 [inline] btrfs_balance+0x1caf/0x3b50 fs/btrfs/volumes.c:4361 btrfs_ioctl_balance fs/btrfs/ioctl.c:3591 [inline] btrfs_ioctl+0xfda/0x5900 fs/btrfs/ioctl.c:4622 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x197/0x210 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f11d618ed59 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f11d613a2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f11d62187a0 RCX: 00007f11d618ed59 RDX: 0000000020000480 RSI: 00000000c4009420 RDI: 0000000000000004 RBP: 00007f11d61e528c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 8000000000000000 R13: 697265765f666572 R14: 0030656c69662f2e R15: 00007f11d62187a8