BTRFS info (device loop0): balance: start -f -s ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 5331 at fs/btrfs/block-group.c:2781 btrfs_create_pending_block_groups+0x156a/0x1820 fs/btrfs/block-group.c:2781 Modules linked in: CPU: 0 UID: 0 PID: 5331 Comm: syz.0.0 Not tainted 6.15.0-rc2-syzkaller-00488-g6fea5fabd332 #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+0x156a/0x1820 fs/btrfs/block-group.c:2781 Code: 48 c7 c6 20 3a 8f 8c 44 89 ea e8 d1 0e 10 fd e9 32 fe ff ff e8 47 02 ab fd 90 48 c7 c7 c0 39 8f 8c 44 89 ee e8 47 5b 6a fd 90 <0f> 0b 90 90 e9 13 fe ff ff 44 89 e1 80 e1 07 38 c1 0f 8c 47 ed ff RSP: 0018:ffffc9000d59f6c0 EFLAGS: 00010246 RAX: 2a0c23a1d1310b00 RBX: ffff888052dc48a0 RCX: 0000000000100000 RDX: ffffc9000ec4b000 RSI: 000000000000fdea RDI: 000000000000fdeb RBP: ffffc9000d59f980 R08: ffffffff818218d2 R09: fffffbfff1d7a960 R10: dffffc0000000000 R11: fffffbfff1d7a960 R12: dffffc0000000000 R13: 00000000ffffffe4 R14: 0000000000000000 R15: ffff8880448c5878 FS: 00007f85430ae6c0(0000) GS:ffff88808c59a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556cf95c21a8 CR3: 0000000040d86000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __btrfs_end_transaction+0x150/0x630 fs/btrfs/transaction.c:1070 btrfs_inc_block_group_ro+0x648/0x700 fs/btrfs/block-group.c:3076 btrfs_relocate_block_group+0x440/0xd80 fs/btrfs/relocation.c:3965 btrfs_relocate_chunk+0x12c/0x3b0 fs/btrfs/volumes.c:3511 __btrfs_balance+0x1a93/0x25e0 fs/btrfs/volumes.c:4292 btrfs_balance+0xbde/0x10c0 fs/btrfs/volumes.c:4669 btrfs_ioctl_balance+0x3f5/0x660 fs/btrfs/ioctl.c:3586 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f854218e169 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:00007f85430ae038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f85423b6080 RCX: 00007f854218e169 RDX: 0000200000000100 RSI: 00000000c4009420 RDI: 0000000000000006 RBP: 00007f8542210a68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f85423b6080 R15: 00007ffd591c2758