overlay: ./file0 is not a directory ------------[ cut here ]------------ BTRFS: Transaction aborted (error -2) WARNING: fs/btrfs/extent-tree.c:3105 at do_free_extent_accounting fs/btrfs/extent-tree.c:3105 [inline], CPU#0: syz.0.0/5319 WARNING: fs/btrfs/extent-tree.c:3105 at __btrfs_free_extent+0x3a28/0x4350 fs/btrfs/extent-tree.c:3474, CPU#0: syz.0.0/5319 Modules linked in: CPU: 0 UID: 0 PID: 5319 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:do_free_extent_accounting fs/btrfs/extent-tree.c:3105 [inline] RIP: 0010:__btrfs_free_extent+0x3a2b/0x4350 fs/btrfs/extent-tree.c:3474 Code: c0 05 00 00 e8 46 34 c4 fd 84 c0 0f 84 f3 00 00 00 e8 19 2a df fd e9 a9 05 00 00 e8 0f 2a df fd 48 8d 3d 48 41 34 0c 44 89 ee <67> 48 0f b9 3a e9 af e2 ff ff e8 f6 29 df fd eb 05 e8 ef 29 df fd RSP: 0018:ffffc9000f067400 EFLAGS: 00010283 RAX: ffffffff83e67141 RBX: ffff888047eb5ac8 RCX: 0000000000100000 RDX: ffffc90020802000 RSI: 00000000fffffffe RDI: ffffffff901ab290 RBP: ffffc9000f0675b0 R08: ffff8880417b4900 R09: 0000000000000003 R10: 00000000fffffffb R11: 0000000000000002 R12: ffff88800bbb6420 R13: 00000000fffffffe R14: 0000000000000000 R15: ffff888041624001 FS: 00007f0313d206c0(0000) GS:ffff88808ca59000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff013678bc0 CR3: 000000001f0f2000 CR4: 0000000000352ef0 Call Trace: run_one_delayed_ref fs/btrfs/extent-tree.c:-1 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:2003 [inline] __btrfs_run_delayed_refs+0x15e7/0x4240 fs/btrfs/extent-tree.c:2078 btrfs_run_delayed_refs+0xe6/0x3b0 fs/btrfs/extent-tree.c:2190 btrfs_commit_transaction+0xfb6/0x31a0 fs/btrfs/transaction.c:2457 btrfs_ioctl_set_fslabel+0x375/0x4f0 fs/btrfs/ioctl.c:4049 btrfs_ioctl+0x9f2/0xd00 fs/btrfs/ioctl.c:5120 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+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0312d9c799 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:00007f0313d20028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f0313016090 RCX: 00007f0312d9c799 RDX: 00002000000001c0 RSI: 0000000041009432 RDI: 0000000000000007 RBP: 00007f0312e32bd9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0313016128 R14: 00007f0313016090 R15: 00007fffaab24e08 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 05 00 00 e8 46 add $0x46e80000,%eax 5: 34 c4 xor $0xc4,%al 7: fd std 8: 84 c0 test %al,%al a: 0f 84 f3 00 00 00 je 0x103 10: e8 19 2a df fd call 0xfddf2a2e 15: e9 a9 05 00 00 jmp 0x5c3 1a: e8 0f 2a df fd call 0xfddf2a2e 1f: 48 8d 3d 48 41 34 0c lea 0xc344148(%rip),%rdi # 0xc34416e 26: 44 89 ee mov %r13d,%esi * 29: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2e: e9 af e2 ff ff jmp 0xffffe2e2 33: e8 f6 29 df fd call 0xfddf2a2e 38: eb 05 jmp 0x3f 3a: e8 ef 29 df fd call 0xfddf2a2e