BTRFS info (device loop0): using free space tree BTRFS info (device loop0): enabling ssd optimizations BTRFS info (device loop0): balance: start -f -susage=6,vrange=0..9223372036854775809 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 1874 at fs/btrfs/block-group.c:2517 btrfs_create_pending_block_groups+0x4ed/0x5a0 fs/btrfs/block-group.c:2517 Modules linked in: CPU: 1 PID: 1874 Comm: syz-executor.0 Not tainted 6.1.81-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:btrfs_create_pending_block_groups+0x4ed/0x5a0 fs/btrfs/block-group.c:2517 Code: 4c 89 e7 48 c7 c6 56 6e 22 83 ba dc 09 00 00 44 89 f1 e8 6a 80 e5 00 e9 95 fc ff ff 48 c7 c7 b0 80 21 83 89 ee e8 33 ad 98 ff <0f> 0b e9 28 ff ff ff 48 c7 c7 b0 80 21 83 89 ee e8 1e ad 98 ff 0f RSP: 0018:ffffc9000209bb48 EFLAGS: 00010246 RAX: f51a78e6eaa12f00 RBX: ffff888104b481b8 RCX: 0000000000000002 RDX: 0000000000000000 RSI: ffffffff83300a8b RDI: 00000000ffffffff RBP: 00000000ffffffe4 R08: 0000000000000000 R09: ffffffff836ca030 R10: 00000000ffffffff R11: 00000000ffffdfff R12: ffff88817d9c2000 R13: ffff88817d9c2058 R14: ffff888104f58000 R15: ffff888109678000 FS: 00007f5de75046c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5de68d71e5 CR3: 0000000109fa7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __btrfs_end_transaction+0xa9/0x2b0 fs/btrfs/transaction.c:1011 btrfs_inc_block_group_ro+0x23f/0x250 fs/btrfs/block-group.c:2781 btrfs_relocate_block_group+0x1c2/0x520 fs/btrfs/relocation.c:4046 btrfs_relocate_chunk+0x5c/0x190 fs/btrfs/volumes.c:3305 __btrfs_balance+0x7cf/0x900 fs/btrfs/volumes.c:4042 btrfs_balance+0x67e/0x780 fs/btrfs/volumes.c:4418 btrfs_ioctl_balance+0x24d/0x330 fs/btrfs/ioctl.c:4511 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0x6a/0xb0 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5de687cae9 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:00007f5de75040c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f5de699bf80 RCX: 00007f5de687cae9 RDX: 0000000020001200 RSI: 00000000c4009420 RDI: 0000000000000004 RBP: 00007f5de68c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f5de699bf80 R15: 00007fff4b9f7a28