BTRFS info (device loop0): balance: start -s ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 5353 at fs/btrfs/block-group.c:2781 btrfs_create_pending_block_groups+0x1120/0x1360 fs/btrfs/block-group.c:2781 Modules linked in: CPU: 0 UID: 0 PID: 5353 Comm: syz.0.0 Not tainted 6.16.0-rc1-syzkaller-00101-g27605c8c0f69 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:btrfs_create_pending_block_groups+0x1120/0x1360 fs/btrfs/block-group.c:2781 Code: 48 c7 c6 40 b0 cf 8b 44 89 f2 e8 3b 71 42 fd e9 38 fe ff ff e8 f1 b6 d8 fd 90 48 c7 c7 e0 af cf 8b 44 89 f6 e8 f1 61 9c fd 90 <0f> 0b 90 90 e9 19 fe ff ff e8 d2 b6 d8 fd eb 05 e8 cb b6 d8 fd 4c RSP: 0018:ffffc9000f4b76e0 EFLAGS: 00010246 RAX: d80614636b343c00 RBX: ffff888052be0001 RCX: 0000000000100000 RDX: ffffc9000eb2c000 RSI: 0000000000004c24 RDI: 0000000000004c25 RBP: ffffc9000f4b7958 R08: ffff88801fc24293 R09: 1ffff11003f84852 R10: dffffc0000000000 R11: ffffed1003f84853 R12: 0000000000000000 R13: dffffc0000000000 R14: 00000000ffffffe4 R15: ffff888051d4e058 FS: 00007f3a37c9b6c0(0000) GS:ffff88808d252000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3a37c9afc8 CR3: 0000000042a1c000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __btrfs_end_transaction+0x140/0x640 fs/btrfs/transaction.c:1071 btrfs_inc_block_group_ro+0x641/0x6f0 fs/btrfs/block-group.c:3077 btrfs_relocate_block_group+0x47a/0xde0 fs/btrfs/relocation.c:3962 btrfs_relocate_chunk+0x12a/0x3b0 fs/btrfs/volumes.c:3431 __btrfs_balance+0x1870/0x21d0 fs/btrfs/volumes.c:4206 btrfs_balance+0xc94/0x11d0 fs/btrfs/volumes.c:4583 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+0xf9/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:0x7f3a36d8e929 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:00007f3a37c9b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f3a36fb6160 RCX: 00007f3a36d8e929 RDX: 0000200000000440 RSI: 00000000c4009420 RDI: 0000000000000003 RBP: 00007f3a36e10b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3a36fb6160 R15: 00007ffc2ea79b08