[PATCH v4 04/23] x86/mm: Save DRs when loading a temporary mm

Peter Zijlstra peterz at infradead.org
Thu Apr 25 18:17:42 UTC 2019


On Mon, Apr 22, 2019 at 11:57:46AM -0700, Rick Edgecombe wrote:
> From: Nadav Amit <namit at vmware.com>
> 
> Prevent user watchpoints from mistakenly firing while the temporary mm
> is being used. As the addresses that of the temporary mm might overlap
> those of the user-process, this is necessary to prevent wrong signals
> or worse things from happening.

Ooh, goody, that would be fun indeed.

> Cc: Andy Lutomirski <luto at kernel.org>

Acked-by: Peter Zijlstra (Intel) <peterz at infradead.org>

> Signed-off-by: Nadav Amit <namit at vmware.com>
> Signed-off-by: Rick Edgecombe <rick.p.edgecombe at intel.com>



More information about the Linux-security-module-archive mailing list