Re: [PATCH v11 0/5] Enabling Ring 3 MONITOR/MWAIT feature for Knights Landing
From: Thomas Gleixner
Date: Mon Jan 09 2017 - 04:03:29 EST
On Tue, 3 Jan 2017, Pavel Machek wrote:
> On Tue 2016-12-20 14:48:41, Grzegorz Andrejczuk wrote:
> > Following patches enable the use of the feature that allows
> > the Intel Xeon Phi x200 devices to use MONITOR/MWAIT instructions
> > outside ring 0. It allows userspace applications to use
> > more efficient synchronization operations, which improves performance
> > and energy efficiency.
>
> What kind of security holes does it bring us?
>
> rdseed can be used for two processes to communicate when they should
> not (serious problem for android). Can this be used for something similar?
No. The monitor address must be in the virtual address space of the
caller, so it's like any other 'read' operation.
Thanks,
tglx