BTRFS info (device loop1): enabling ssd optimizations BTRFS info (device loop1): auto enabling async discard BTRFS info (device loop1): balance: start -s ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 7834 at fs/btrfs/block-group.c:2776 btrfs_create_pending_block_groups+0xe10/0xf20 fs/btrfs/block-group.c:2776 Modules linked in: CPU: 1 PID: 7834 Comm: syz.1.465 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:btrfs_create_pending_block_groups+0xe10/0xf20 fs/btrfs/block-group.c:2776 Code: 11 d3 6b 8c ba df 0a 00 00 44 89 e1 e8 79 b7 cd 06 e9 19 f6 ff ff e8 af aa ed fd 48 c7 c7 80 f8 ee 8a 44 89 e6 e8 00 28 b8 fd <0f> 0b e9 79 fe ff ff e8 94 aa ed fd 48 c7 c7 80 f8 ee 8a 44 89 ee RSP: 0018:ffffc90005107740 EFLAGS: 00010246 RAX: 4dd4cc2a82f22b00 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc9000cb9a000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc90005107990 R08: ffffc90005107347 R09: 1ffff92000a20e68 R10: dffffc0000000000 R11: fffff52000a20e69 R12: 00000000ffffffe4 R13: ffff88807b59f050 R14: ffff88807b59f058 R15: ffff88805fc98001 FS: 00007f1854a406c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffeefca8238 CR3: 0000000062e93000 CR4: 00000000003506e0 Call Trace: __btrfs_end_transaction+0x140/0x630 fs/btrfs/transaction.c:1023 btrfs_inc_block_group_ro+0x596/0x630 fs/btrfs/block-group.c:3037 btrfs_relocate_block_group+0x3a5/0xaa0 fs/btrfs/relocation.c:4033 btrfs_relocate_chunk+0x12a/0x3b0 fs/btrfs/volumes.c:3321 __btrfs_balance+0x187b/0x21c0 fs/btrfs/volumes.c:4067 btrfs_balance+0xcb1/0x11c0 fs/btrfs/volumes.c:4444 btrfs_ioctl_balance+0x4a2/0x730 fs/btrfs/ioctl.c:3647 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0xfd/0x170 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f1853b8efc9 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:00007f1854a40038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f1853de5fa0 RCX: 00007f1853b8efc9 RDX: 0000200000000440 RSI: 00000000c4009420 RDI: 0000000000000003 RBP: 00007f1853c11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1853de6038 R14: 00007f1853de5fa0 R15: 00007ffefd2e10d8