panic: WARNING: circular locking detected: tmpfs.filesystemRWMutex -> vfs.inotifyEventMutex: goroutine 11407 [running]: gvisor.dev/gvisor/pkg/log.Stacks(0x60) pkg/log/log.go:316 +0xd3 gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc00023e680, 0xc00023f780, {0xc001063d10, 0x1, 0x1}) pkg/sync/locking/lockdep.go:56 +0x225 gvisor.dev/gvisor/pkg/sync/locking.checkLock.func1(0xc00023fd18, 0xc001926cb8) pkg/sync/locking/lockdep.go:76 +0x7a gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsapmShard).doRange(0xc00023fd00, 0xc001926e10) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:403 +0x31f gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).Range(0xc00023fd00, 0xc00023e680) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:382 +0x85 gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc00023e680, 0xc00023fd00, {0x0, 0x0, 0x0}) pkg/sync/locking/lockdep.go:73 +0x4aa gvisor.dev/gvisor/pkg/sync/locking.AddGLock(0xc00023e680, 0x0) pkg/sync/locking/lockdep.go:107 +0x33e gvisor.dev/gvisor/pkg/sentry/vfs.(*inotifyEventMutex).Lock(0xc000c1c338) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sentry/vfs/inotify_event_mutex.go:18 +0x53 gvisor.dev/gvisor/pkg/sentry/vfs.(*Inotify).queueEvent(0xc000c1c2a0, 0xc001394a02) pkg/sentry/vfs/inotify.go:276 +0x55 gvisor.dev/gvisor/pkg/sentry/vfs.(*Watch).Notify(0xc000e4b660, {0xc001394a02, 0x5}, 0x40000100, 0xc0) pkg/sentry/vfs/inotify.go:609 +0x106 gvisor.dev/gvisor/pkg/sentry/vfs.(*Watches).Notify(0xc000201798, {0x1c702f0, 0xc001208000}, {0xc001394a02, 0x5}, 0x408d45, 0x0, 0x1, 0x0) pkg/sentry/vfs/inotify.go:481 +0x1c7 gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*filesystem).doCreateAt(0xc0005e03c0, {0x1c702f0, 0xc001208000}, 0xc00177f680, 0x1, 0xc001927328) pkg/sentry/fsimpl/tmpfs/filesystem.go:207 +0x5c7 gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*filesystem).MkdirAt(0xc0005e03c0, {0x1c702f0, 0xc001208000}, 0xc00177f680, {0x7350, 0x92}) pkg/sentry/fsimpl/tmpfs/filesystem.go:290 +0xca gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).MkdirAt(0xc00049dea0, {0x1c702f0, 0xc001208000}, 0xc000201400, 0xc001927538, 0xc00192747c) pkg/sentry/vfs/vfs.go:327 +0x35b gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.mkdirat(0xc001208000, 0x47135b, 0x276cc84, 0x1ff) pkg/sentry/syscalls/linux/vfs2/filesystem.go:99 +0x32a gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Mkdirat(0x451980, {{0xffffff9c}, {0x20002c00}, {0x1ff}, {0x20002bc0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/vfs2/filesystem.go:86 +0xa5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc001208000, 0x102, {{0xffffff9c}, {0x20002c00}, {0x1ff}, {0x20002bc0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0xaf7 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc001208000, 0x1, {{0xffffff9c}, {0x20002c00}, {0x1ff}, {0x20002bc0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x8e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000642c30, 0x1, {{0xffffff9c}, {0x20002c00}, {0x1ff}, {0x20002bc0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0xc5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc001208000) pkg/sentry/kernel/task_syscall.go:257 +0x4c7 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc001208000, 0xc001208000) pkg/sentry/kernel/task_run.go:247 +0x19fc gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc001208000) pkg/sentry/kernel/task_run.go:90 +0x2c2 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:364 +0x1b1