BTRFS info (device loop0): using sha256 (sha256-avx2) checksum algorithm 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 -s ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4465 at fs/btrfs/block-group.c:2441 btrfs_create_pending_block_groups+0xcbf/0xee0 fs/btrfs/block-group.c:2441 Modules linked in: CPU: 1 PID: 4465 Comm: syz-executor.0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 RIP: 0010:btrfs_create_pending_block_groups+0xcbf/0xee0 fs/btrfs/block-group.c:2441 Code: e8 66 2f 0e fe 48 8b 5c 24 20 0f 1f 44 00 00 e8 57 2f 0e fe eb 4a e8 50 2f 0e fe 48 c7 c7 e0 6e 6d 8a 44 89 fe e8 b1 35 4c 06 <0f> 0b 48 8b 7c 24 30 48 c7 c6 60 6f 6d 8a ba 89 09 00 00 44 89 f9 RSP: 0018:ffffc9000322f7a0 EFLAGS: 00010246 RAX: 8b8921e0ca463900 RBX: ffff88807e748850 RCX: ffff88802c088000 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9000322f9b8 R08: ffff8880b8f2795b R09: 1ffff110171e4f2b R10: dffffc0000000000 R11: ffffed10171e4f2c R12: ffff88807e7489b0 R13: 1ffff1100fce910a R14: 1ffff1100fce910b R15: 00000000ffffffe4 FS: 00007f3928b4d6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff3349e9e9c CR3: 0000000077ade000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __btrfs_end_transaction+0x154/0x640 fs/btrfs/transaction.c:1028 btrfs_inc_block_group_ro+0x59e/0x610 fs/btrfs/block-group.c:2664 btrfs_relocate_block_group+0x38d/0xac0 fs/btrfs/relocation.c:4099 btrfs_relocate_chunk+0xaa/0x290 fs/btrfs/volumes.c:3375 __btrfs_balance+0x15c2/0x2280 fs/btrfs/volumes.c:4126 btrfs_balance+0xd80/0x1500 fs/btrfs/volumes.c:4516 btrfs_ioctl_balance+0x648/0x7e0 fs/btrfs/ioctl.c:4151 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f39297bd3b9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 d0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3928b4d0b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f39298faf80 RCX: 00007f39297bd3b9 RDX: 0000000020000900 RSI: 00000000c4009420 RDI: 0000000000000003 RBP: 00007f392981e4c2 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f39298faf80 R15: 00007ffd76336dd8