On Tue, May 05, 2020 at 03:16:04PM +0200, Thomas Gleixner wrote: > From: Andy Lutomirski <[email protected]> > > A data breakpoint near the top of an IST stack will cause unresoverable
unrecoverable > recursion. A data breakpoint on the GDT, IDT, or TSS is terrifying. "terrifying" huh? Colorful. :) > Prevent either of these from happening. > > Co-developed-by: Peter Zijlstra <[email protected]> > Signed-off-by: Andy Lutomirski <[email protected]> > Signed-off-by: Peter Zijlstra (Intel) <[email protected]> > Signed-off-by: Thomas Gleixner <[email protected]> > --- > arch/x86/kernel/hw_breakpoint.c | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) Reviewed-by: Borislav Petkov <[email protected]> -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette

