------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 12378 at fs/btrfs/volumes.c:3288 btrfs_remove_chunk+0x1874/0x1b20 fs/btrfs/volumes.c:3288 Modules linked in: CPU: 0 PID: 12378 Comm: syz-executor.2 Not tainted 6.10.0-rc4-syzkaller-00148-g50736169ecc8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:btrfs_remove_chunk+0x1874/0x1b20 fs/btrfs/volumes.c:3288 Code: 0c 8c 44 89 e6 e8 ac 12 a1 fd 90 0f 0b 90 90 e9 ea fd ff ff e8 8d e2 de fd 90 48 c7 c7 40 55 0c 8c 44 89 e6 e8 8d 12 a1 fd 90 <0f> 0b 90 90 e9 f3 fd ff ff e8 6e e2 de fd 90 48 c7 c7 40 55 0c 8c RSP: 0018:ffffc90009cc7900 EFLAGS: 00010246 RAX: d51a769083b40d00 RBX: ffff88802b730001 RCX: 0000000000040000 RDX: ffffc90009f7b000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90009cc7ab0 R08: ffffffff81585742 R09: 1ffff1101728519a R10: dffffc0000000000 R11: ffffed101728519b R12: ffffffffffffffe4 R13: ffff88806782a200 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f474db286c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1c4e584db8 CR3: 0000000064348000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_relocate_chunk+0x292/0x3b0 fs/btrfs/volumes.c:3418 __btrfs_balance+0x1b0f/0x26b0 fs/btrfs/volumes.c:4157 btrfs_balance+0xbdc/0x10c0 fs/btrfs/volumes.c:4534 btrfs_ioctl_balance+0x496/0x7d0 fs/btrfs/ioctl.c:3675 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f474ce7cf29 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:00007f474db280c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f474cfb3f80 RCX: 00007f474ce7cf29 RDX: 0000000020000180 RSI: 00000000c4009420 RDI: 0000000000000004 RBP: 00007f474ceec074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f474cfb3f80 R15: 00007fff6dc17ee8