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/5339 WARNING: fs/btrfs/transaction.c:2036 at btrfs_commit_transaction+0x30f7/0x3b10 fs/btrfs/transaction.c:2629, CPU#0: syz.0.0/5339 Modules linked in: CPU: 0 UID: 0 PID: 5339 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: 97 20 ef fd eb 7d e8 b0 15 d5 fd 84 c0 74 25 e8 87 20 ef fd eb 6d e8 80 20 ef fd 48 8d 3d b9 38 b9 0b 44 8b 6c 24 38 44 89 ee <67> 48 0f b9 3a e9 24 f9 ff ff e8 22 bf 89 07 89 c3 31 ff 89 c6 e8 RSP: 0018:ffffc9000e39f4e0 EFLAGS: 00010287 RAX: ffffffff83d1e730 RBX: ffff888036e14001 RCX: 0000000000100000 RDX: ffffc90021263000 RSI: 00000000ffffffe4 RDI: ffffffff8f8b1ff0 RBP: ffffc9000e39f808 R08: ffff88801a258000 R09: 0000000000000003 R10: 00000000fffffffb R11: 0000000000000002 R12: 1ffff1100911fdc6 R13: 00000000ffffffe4 R14: 0000000000000000 R15: ffff888036e14000 FS: 00007fd6b6f4c6c0(0000) GS:ffff88808d414000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd6b15aefc8 CR3: 0000000035ce5000 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+0xec/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd6b618f7c9 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:00007fd6b6f4c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fd6b63e6090 RCX: 00007fd6b618f7c9 RDX: 0000200000000180 RSI: 00000000c4009420 RDI: 0000000000000005 RBP: 00007fd6b6213f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd6b63e6128 R14: 00007fd6b63e6090 R15: 00007ffefdd06828 ---------------- Code disassembly (best guess): 0: 97 xchg %eax,%edi 1: 20 ef and %ch,%bh 3: fd std 4: eb 7d jmp 0x83 6: e8 b0 15 d5 fd call 0xfdd515bb b: 84 c0 test %al,%al d: 74 25 je 0x34 f: e8 87 20 ef fd call 0xfdef209b 14: eb 6d jmp 0x83 16: e8 80 20 ef fd call 0xfdef209b 1b: 48 8d 3d b9 38 b9 0b lea 0xbb938b9(%rip),%rdi # 0xbb938db 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 22 bf 89 07 call 0x789bf5b 39: 89 c3 mov %eax,%ebx 3b: 31 ff xor %edi,%edi 3d: 89 c6 mov %eax,%esi 3f: e8 .byte 0xe8