BTRFS warning (device loop0): Skipping commit of aborted transaction. ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: fs/btrfs/transaction.c:2036 at 0x0, CPU#0: kworker/u4:3/44 Modules linked in: CPU: 0 UID: 0 PID: 44 Comm: kworker/u4:3 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 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:cleanup_transaction fs/btrfs/transaction.c:2036 [inline] RIP: 0010:btrfs_commit_transaction+0x30ff/0x3b10 fs/btrfs/transaction.c:2629 Code: d7 4f f1 fd eb 7d e8 e0 3a d7 fd 84 c0 74 25 e8 c7 4f f1 fd eb 6d e8 c0 4f f1 fd 48 8d 3d d9 ec b9 0b 44 8b 6c 24 38 44 89 ee <67> 48 0f b9 3a e9 24 f9 ff ff e8 a2 1d 7e 07 89 c3 31 ff 89 c6 e8 RSP: 0018:ffffc90000a174e0 EFLAGS: 00010293 RAX: ffffffff83d00a40 RBX: ffff888052798001 RCX: ffff88801ee824c0 RDX: 0000000000000000 RSI: 00000000ffffffe4 RDI: ffffffff8f89f720 RBP: ffffc90000a17810 R08: ffff88801ee824c0 R09: 0000000000000003 R10: 00000000fffffffb R11: 0000000000000000 R12: 1ffff110086991a1 R13: 00000000ffffffe4 R14: 0000000000000000 R15: ffff888052798000 FS: 0000000000000000(0000) GS:ffff88808d68a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9ffcdd3fc8 CR3: 000000004322a000 CR4: 0000000000352ef0 Call Trace: flush_space+0x4dd/0xd20 fs/btrfs/space-info.c:921 do_async_reclaim_metadata_space+0x11e/0x350 fs/btrfs/space-info.c:1185 btrfs_async_reclaim_metadata_space+0x89/0xe0 fs/btrfs/space-info.c:1252 process_one_work kernel/workqueue.c:3257 [inline] process_scheduled_works+0xad1/0x1770 kernel/workqueue.c:3340 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3421 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x599/0xb30 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246 ---------------- Code disassembly (best guess): 0: d7 xlat %ds:(%rbx) 1: 4f f1 rex.WRXB int1 3: fd std 4: eb 7d jmp 0x83 6: e8 e0 3a d7 fd call 0xfdd73aeb b: 84 c0 test %al,%al d: 74 25 je 0x34 f: e8 c7 4f f1 fd call 0xfdf14fdb 14: eb 6d jmp 0x83 16: e8 c0 4f f1 fd call 0xfdf14fdb 1b: 48 8d 3d d9 ec b9 0b lea 0xbb9ecd9(%rip),%rdi # 0xbb9ecfb 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 a2 1d 7e 07 call 0x77e1ddb 39: 89 c3 mov %eax,%ebx 3b: 31 ff xor %edi,%edi 3d: 89 c6 mov %eax,%esi 3f: e8 .byte 0xe8