BTRFS warning (device loop0): Skipping commit of aborted transaction. ------------[ cut here ]------------ BTRFS: Transaction aborted (error -2) WARNING: fs/btrfs/transaction.c:2037 at cleanup_transaction fs/btrfs/transaction.c:2037 [inline], CPU#0: syz.0.0/5338 WARNING: fs/btrfs/transaction.c:2037 at btrfs_commit_transaction+0x323a/0x3c50 fs/btrfs/transaction.c:2630, CPU#0: syz.0.0/5338 Modules linked in: CPU: 0 UID: 0 PID: 5338 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 fs/btrfs/transaction.c:2037 [inline] RIP: 0010:btrfs_commit_transaction+0x3242/0x3c50 fs/btrfs/transaction.c:2630 Code: c4 c5 e3 fd eb 7d e8 6d e9 c8 fd 84 c0 74 25 e8 b4 c5 e3 fd eb 6d e8 ad c5 e3 fd 48 8d 3d 76 7d 17 0c 44 8b 6c 24 38 44 89 ee <67> 48 0f b9 3a e9 e7 f8 ff ff e8 2f 53 b8 07 89 c3 31 ff 89 c6 e8 RSP: 0018:ffffc9000e9df8a0 EFLAGS: 00010287 RAX: ffffffff83e0c143 RBX: ffff8880402b8001 RCX: 0000000000100000 RDX: ffffc900209c2000 RSI: 00000000fffffffe RDI: ffffffff8ff83ec0 RBP: ffffc9000e9dfbd0 R08: ffff888037dd4980 R09: 0000000000000003 R10: 00000000fffffffb R11: 0000000000000002 R12: 1ffff11008f65654 R13: 00000000fffffffe R14: 0000000000000000 R15: ffff8880402b8000 FS: 00007fdc27b7f6c0(0000) GS:ffff88808ccea000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa6242c09c0 CR3: 000000004111b000 CR4: 0000000000352ef0 Call Trace: create_snapshot fs/btrfs/ioctl.c:779 [inline] btrfs_mksubvol+0xc7a/0x1350 fs/btrfs/ioctl.c:926 btrfs_mksnapshot+0xab/0xf0 fs/btrfs/ioctl.c:968 __btrfs_ioctl_snap_create+0x52e/0x740 fs/btrfs/ioctl.c:1232 btrfs_ioctl_snap_create_v2+0x1f8/0x3b0 fs/btrfs/ioctl.c:1312 btrfs_ioctl+0xa62/0xd00 fs/btrfs/ioctl.c:-1 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+0xe2/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdc26d9aeb9 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:00007fdc27b7f028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fdc27016180 RCX: 00007fdc26d9aeb9 RDX: 0000200000006bc0 RSI: 0000000050009417 RDI: 0000000000000007 RBP: 00007fdc26e08c1f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fdc27016218 R14: 00007fdc27016180 R15: 00007fffcf245e98 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: e3 fd jrcxz 0xffffffff 2: eb 7d jmp 0x81 4: e8 6d e9 c8 fd call 0xfdc8e976 9: 84 c0 test %al,%al b: 74 25 je 0x32 d: e8 b4 c5 e3 fd call 0xfde3c5c6 12: eb 6d jmp 0x81 14: e8 ad c5 e3 fd call 0xfde3c5c6 19: 48 8d 3d 76 7d 17 0c lea 0xc177d76(%rip),%rdi # 0xc177d96 20: 44 8b 6c 24 38 mov 0x38(%rsp),%r13d 25: 44 89 ee mov %r13d,%esi * 28: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2d: e9 e7 f8 ff ff jmp 0xfffff919 32: e8 2f 53 b8 07 call 0x7b85366 37: 89 c3 mov %eax,%ebx 39: 31 ff xor %edi,%edi 3b: 89 c6 mov %eax,%esi 3d: e8 .byte 0xe8