------------[ cut here ]------------ WARNING: CPU: 0 PID: 10588 at fs/overlayfs/dir.c:212 ovl_create_real+0x272/0x520 fs/overlayfs/dir.c:212 Modules linked in: CPU: 0 PID: 10588 Comm: syz-executor.4 Not tainted 5.14.0-next-20210910-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ovl_create_real+0x272/0x520 fs/overlayfs/dir.c:212 Code: 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 80 02 00 00 49 83 7c 24 68 00 0f 85 7a fe ff ff e8 9e dc c2 fe <0f> 0b 4c 89 e5 49 c7 c4 fb ff ff ff e9 57 fe ff ff 66 81 eb 00 10 RSP: 0018:ffffc90011b67958 EFLAGS: 00010212 RAX: 0000000000037347 RBX: 0000000000004000 RCX: ffffc90011f36000 RDX: 0000000000040000 RSI: ffffffff82b33182 RDI: ffff88806fc9f670 RBP: ffff88806fc9f608 R08: 0000000000000000 R09: ffff88807f3007d7 R10: ffffffff82b3320b R11: 0000000000000000 R12: ffff88806fc9f608 R13: 0000000000004000 R14: ffff888076198a20 R15: ffff888076198b00 FS: 00007f6925fe1700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000970004 CR3: 000000008b673000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ovl_workdir_create+0x3a9/0x5b0 fs/overlayfs/super.c:790 ovl_make_workdir fs/overlayfs/super.c:1364 [inline] ovl_get_workdir fs/overlayfs/super.c:1511 [inline] ovl_fill_super+0x199a/0x5fb0 fs/overlayfs/super.c:2067 mount_nodev+0x60/0x110 fs/super.c:1414 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1498 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x1320/0x1fa0 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3516 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6925fe1188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665f9 RDX: 0000000020000080 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00000000004bfcc4 R08: 0000000020000340 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffd636cb18f R14: 00007f6925fe1300 R15: 0000000000022000 irq event stamp: 3173 hardirqs last enabled at (3211): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1331 [inline] hardirqs last enabled at (3211): [] finish_lock_switch kernel/sched/core.c:4694 [inline] hardirqs last enabled at (3211): [] finish_task_switch.isra.0+0x217/0xa20 kernel/sched/core.c:4815 hardirqs last disabled at (3232): [] __schedule+0x13d0/0x26f0 kernel/sched/core.c:6198 softirqs last enabled at (3252): [] invoke_softirq kernel/softirq.c:432 [inline] softirqs last enabled at (3252): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:636 softirqs last disabled at (3241): [] invoke_softirq kernel/softirq.c:432 [inline] softirqs last disabled at (3241): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:636 ---[ end trace c4b5c2b7dc8fcbba ]--- overlayfs: failed to create directory ./file1/work (errno: 5); mounting read-only overlayfs: lowerdir is in-use as upperdir/workdir of another mount, mount with '-o index=off' to override exclusive upperdir protection.