BTRFS info (device loop0): doing ref verification BTRFS info (device loop0): using free space tree BTRFS info (device loop0): has skinny extents BTRFS info (device loop0): enabling ssd optimizations BTRFS info (device loop0): balance: start -f -susage=6,vrange=0..9223372036854775809 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3965 at fs/btrfs/block-group.c:2437 btrfs_create_pending_block_groups+0xe8b/0x1130 fs/btrfs/block-group.c:2437 Modules linked in: CPU: 0 PID: 3965 Comm: syz-executor.0 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:btrfs_create_pending_block_groups+0xe8b/0x1130 fs/btrfs/block-group.c:2437 Code: 0b 52 fc fd eb 26 e8 04 52 fc fd 0f 1f 44 00 00 e8 fa 51 fc fd eb 48 e8 f3 51 fc fd 48 c7 c7 a0 27 cc 8a 89 de e8 c5 fb c7 fd <0f> 0b 48 8b 7c 24 10 48 c7 c6 20 28 cc 8a ba 85 09 00 00 89 d9 e8 RSP: 0018:ffffc90002cd7740 EFLAGS: 00010246 RAX: 5845c923a8c48100 RBX: 00000000ffffffe4 RCX: ffff888072bed940 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90002cd7978 R08: ffffffff81668a3c R09: ffffed1017204f24 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807e138001 R13: dffffc0000000000 R14: ffff88807b1c91b0 R15: ffff88807b1c9050 FS: 00007f6d6e2b66c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f28b3ba4440 CR3: 000000007e3c9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __btrfs_end_transaction+0x296/0x780 fs/btrfs/transaction.c:1014 btrfs_inc_block_group_ro+0x583/0x5f0 fs/btrfs/block-group.c:2660 btrfs_relocate_block_group+0x3ec/0xcb0 fs/btrfs/relocation.c:4041 btrfs_relocate_chunk+0xac/0x270 fs/btrfs/volumes.c:3296 __btrfs_balance+0x185e/0x27c0 fs/btrfs/volumes.c:4037 btrfs_balance+0xd40/0x14a0 fs/btrfs/volumes.c:4427 btrfs_ioctl_balance+0x643/0x7d0 fs/btrfs/ioctl.c:4152 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f6d6ef34b29 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:00007f6d6e2b60c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f6d6f053f80 RCX: 00007f6d6ef34b29 RDX: 0000000020001200 RSI: 00000000c4009420 RDI: 0000000000000004 RBP: 00007f6d6ef8047a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f6d6f053f80 R15: 00007fffa3b11ed8