BTRFS critical (device loop2): entry offset 1048576, bytes 4194304, bitmap no ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 7953 at fs/btrfs/volumes.c:3285 btrfs_remove_chunk+0x1b24/0x1b30 fs/btrfs/volumes.c:3285 Modules linked in: CPU: 0 PID: 7953 Comm: syz-executor343 Not tainted 6.9.0-syzkaller-01768-ga5131c3fdf26 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:btrfs_remove_chunk+0x1b24/0x1b30 fs/btrfs/volumes.c:3285 Code: 0b 90 90 e9 15 fd ff ff 4c 89 f7 e8 b6 53 51 fe e9 8d fd ff ff e8 3c 08 f6 fd 90 48 c7 c7 20 82 77 8b 89 de e8 9d 51 b8 fd 90 <0f> 0b 90 90 e9 86 fd ff ff 0f 1f 00 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000fc9f810 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffffffffffffffe4 RCX: ffffffff81504339 RDX: ffff88801d642440 RSI: ffffffff81504346 RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000006 R12: 0000000000000000 R13: ffff8880211aac60 R14: ffff8880303d2500 R15: ffff8880303d24fc FS: 00007fe03a3de6c0(0000) GS:ffff88806b200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe03a47c1b8 CR3: 0000000022e08000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_relocate_chunk+0x2ba/0x450 fs/btrfs/volumes.c:3415 __btrfs_balance fs/btrfs/volumes.c:4154 [inline] btrfs_balance+0x2102/0x3f00 fs/btrfs/volumes.c:4531 btrfs_ioctl_balance fs/btrfs/ioctl.c:3675 [inline] btrfs_ioctl+0x12e3/0x5990 fs/btrfs/ioctl.c:4742 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl fs/ioctl.c:890 [inline] __x64_sys_ioctl+0x193/0x220 fs/ioctl.c:890 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe03a42fd79 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 91 1b 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:00007fe03a3de218 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fe03a4b66c8 RCX: 00007fe03a42fd79 RDX: 0000000020001200 RSI: 00000000c4009420 RDI: 0000000000000004 RBP: 00007fe03a4b66c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe03a48272c R13: 0030656c69662f2e R14: 64696c6f76627573 R15: 0000000100004000