------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 6333 at fs/btrfs/volumes.c:3352 btrfs_remove_chunk+0x1758/0x1ae0 fs/btrfs/volumes.c:3352 Modules linked in: CPU: 1 UID: 0 PID: 6333 Comm: syz.2.40 Not tainted 6.16.0-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:btrfs_remove_chunk+0x1758/0x1ae0 fs/btrfs/volumes.c:3352 Code: 24 18 48 8b 38 48 c7 c6 c0 25 ce 8b 89 da e8 9f 20 5e fd eb 19 e8 38 24 f4 fd 90 48 c7 c7 60 25 ce 8b 89 de e8 c9 13 b8 fd 90 <0f> 0b 90 90 49 bd 00 00 00 00 00 fc ff df e9 8c fa ff ff e8 10 24 RSP: 0018:ffffc90003e0f8c0 EFLAGS: 00010246 RAX: 0a8b8d73ddeba900 RBX: ffffffffffffffe4 RCX: 0000000000080000 RDX: ffffc9000cab3000 RSI: 00000000000292bf RDI: 00000000000292c0 RBP: ffffc90003e0fab0 R08: ffff8880b8724293 R09: 1ffff110170e4852 R10: dffffc0000000000 R11: ffffed10170e4853 R12: 1ffff1100ee779c7 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888057fcc001 FS: 00007f79f03b06c0(0000) GS:ffff888125d57000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005571f54b6000 CR3: 0000000031a60000 CR4: 00000000003526f0 Call Trace: btrfs_relocate_chunk+0x292/0x3b0 fs/btrfs/volumes.c:3482 __btrfs_balance+0x1870/0x21d0 fs/btrfs/volumes.c:4212 btrfs_balance+0xc94/0x11d0 fs/btrfs/volumes.c:4589 btrfs_ioctl_balance+0x3d3/0x610 fs/btrfs/ioctl.c:3583 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/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f79ef58e9a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f79f03b0038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f79ef7b5fa0 RCX: 00007f79ef58e9a9 RDX: 0000200000000780 RSI: 00000000c4009420 RDI: 0000000000000004 RBP: 00007f79ef610d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f79ef7b5fa0 R15: 00007ffc246fa718