BTRFS info (device loop0): balance: start -d -m BTRFS info (device loop0): relocating block group 6881280 flags data|metadata BTRFS info (device loop0): relocating block group 5242880 flags data|metadata BTRFS warning (device loop0): Skipping commit of aborted transaction. ------------[ cut here ]------------ btrfs_abort_should_print_stack(__error) WARNING: fs/btrfs/transaction.c:2089 at cleanup_transaction+0x721/0x7b0 fs/btrfs/transaction.c:2089, CPU#0: syz.0.0/5359 Modules linked in: CPU: 0 UID: 0 PID: 5359 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:cleanup_transaction+0x721/0x7b0 fs/btrfs/transaction.c:2089 Code: 08 74 1a 41 83 fc fb 74 0d 41 83 fc f4 75 15 e8 55 95 9e fd eb 17 e8 4e 95 9e fd eb 10 e8 47 95 9e fd eb 09 e8 40 95 9e fd 90 <0f> 0b 90 41 f7 dc e9 4a fa ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc9000d9df440 EFLAGS: 00010287 RAX: ffffffff842aa230 RBX: ffff88804239b000 RCX: 0000000000100000 RDX: ffffc90020001000 RSI: 000000000002017a RDI: 000000000002017b RBP: ffffc9000d9df570 R08: ffff888037a9a580 R09: 0000000000000003 R10: 00000000fffffffb R11: 0000000000000002 R12: 00000000ffffffe4 R13: ffff88804562aeb0 R14: ffff88804562af10 R15: dffffc0000000000 FS: 00007fe1a3dfe6c0(0000) GS:ffff88808a9f1000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000041b89000 CR4: 0000000000352ef0 Call Trace: btrfs_commit_transaction+0x253c/0x3010 fs/btrfs/transaction.c:2685 prepare_to_relocate+0x3be/0x4c0 fs/btrfs/relocation.c:3605 relocate_block_group+0x140/0xea0 fs/btrfs/relocation.c:3630 do_nonremap_reloc+0xa7/0x560 fs/btrfs/relocation.c:5388 btrfs_relocate_block_group+0x6dd/0xaf0 fs/btrfs/relocation.c:5555 btrfs_relocate_chunk+0x114/0x810 fs/btrfs/volumes.c:3767 __btrfs_balance+0x1b5f/0x29d0 fs/btrfs/volumes.c:4706 btrfs_balance+0xaa6/0x1180 fs/btrfs/volumes.c:5093 btrfs_ioctl_balance+0x3da/0x640 fs/btrfs/ioctl.c:3518 vfs_ioctl fs/ioctl.c:52 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:584 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe1a2fa94d9 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe1a3dfdfe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fe1a3226090 RCX: 00007fe1a2fa94d9 RDX: 00002000000073c0 RSI: 00000000c4009420 RDI: 0000000000000004 RBP: 00007fe1a303804e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe1a3226128 R14: 00007fe1a3226090 R15: 00007fff58c4e338