loop0: detected capacity change from 0 to 32768 BTRFS: device fsid c9fe44da-de57-406a-8241-57ec7d4412cf devid 1 transid 8 /dev/loop0 (7:0) scanned by syz.0.0 (5344) BTRFS info (device loop0): first mount of filesystem c9fe44da-de57-406a-8241-57ec7d4412cf BTRFS info (device loop0): using crc32c (crc32c-lib) checksum algorithm BTRFS info (device loop0): setting nodatasum BTRFS info (device loop0): allowing degraded mounts BTRFS info (device loop0): disabling tree log BTRFS info (device loop0): turning on async discard BTRFS info (device loop0): enabling free space tree 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: Transaction aborted (error -28) WARNING: fs/btrfs/transaction.c:2036 at cleanup_transaction fs/btrfs/transaction.c:2036 [inline], CPU#0: syz.0.0/5344 WARNING: fs/btrfs/transaction.c:2036 at btrfs_commit_transaction+0x30f7/0x3b10 fs/btrfs/transaction.c:2629, CPU#0: syz.0.0/5344 Modules linked in: CPU: 0 UID: 0 PID: 5344 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~bpo12+1 04/01/2014 RIP: 0010:cleanup_transaction fs/btrfs/transaction.c:2036 [inline] RIP: 0010:btrfs_commit_transaction+0x30ff/0x3b10 fs/btrfs/transaction.c:2629 Code: b7 c6 ee fd eb 7d e8 20 a0 d4 fd 84 c0 74 25 e8 a7 c6 ee fd eb 6d e8 a0 c6 ee fd 48 8d 3d f9 1e d8 0b 44 8b 6c 24 38 44 89 ee <67> 48 0f b9 3a e9 24 f9 ff ff e8 f2 cc 8a 07 89 c3 31 ff 89 c6 e8 RSP: 0000:ffffc9000e2af4e0 EFLAGS: 00010293 RAX: ffffffff83d2fb50 RBX: ffff888011710001 RCX: ffff88801c7b24c0 RDX: 0000000000000000 RSI: 00000000ffffffe4 RDI: ffffffff8fab1a50 RBP: ffffc9000e2af808 R08: ffff88801c7b24c0 R09: 0000000000000003 R10: 00000000fffffffb R11: 0000000000000000 R12: 1ffff1100012250d R13: 00000000ffffffe4 R14: 0000000000000000 R15: ffff888011710000 FS: 00007ff326fca6c0(0000) GS:ffff88808d22a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff31a098000 CR3: 000000001f656000 CR4: 0000000000352ef0 Call Trace: prepare_to_relocate+0x39f/0x490 fs/btrfs/relocation.c:3479 relocate_block_group+0x132/0xd70 fs/btrfs/relocation.c:3504 btrfs_relocate_block_group+0x6b6/0xc70 fs/btrfs/relocation.c:3966 btrfs_relocate_chunk+0x12f/0x5c0 fs/btrfs/volumes.c:3424 __btrfs_balance+0x18ff/0x24e0 fs/btrfs/volumes.c:4197 btrfs_balance+0xac2/0x11b0 fs/btrfs/volumes.c:4571 btrfs_ioctl_balance+0x3d3/0x610 fs/btrfs/ioctl.c:3525 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff32618f7c9 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:00007ff326fca038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ff3263e5fa0 RCX: 00007ff32618f7c9 RDX: 0000200000000180 RSI: 00000000c4009420 RDI: 0000000000000005 RBP: 00007ff326213f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff3263e6038 R14: 00007ff3263e5fa0 R15: 00007ffdaeb081a8 ---------------- Code disassembly (best guess): 0: b7 c6 mov $0xc6,%bh 2: ee out %al,(%dx) 3: fd std 4: eb 7d jmp 0x83 6: e8 20 a0 d4 fd call 0xfdd4a02b b: 84 c0 test %al,%al d: 74 25 je 0x34 f: e8 a7 c6 ee fd call 0xfdeec6bb 14: eb 6d jmp 0x83 16: e8 a0 c6 ee fd call 0xfdeec6bb 1b: 48 8d 3d f9 1e d8 0b lea 0xbd81ef9(%rip),%rdi # 0xbd81f1b 22: 44 8b 6c 24 38 mov 0x38(%rsp),%r13d 27: 44 89 ee mov %r13d,%esi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: e9 24 f9 ff ff jmp 0xfffff958 34: e8 f2 cc 8a 07 call 0x78acd2b 39: 89 c3 mov %eax,%ebx 3b: 31 ff xor %edi,%edi 3d: 89 c6 mov %eax,%esi 3f: e8 .byte 0xe8