]> err.no Git - linux-2.6/commit
[PATCH] x86_64: Disallow kprobes on NMI handlers
authorAndi Kleen <ak@suse.de>
Fri, 3 Feb 2006 20:50:41 +0000 (21:50 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 5 Feb 2006 00:43:12 +0000 (16:43 -0800)
commiteddb6fb9a54cdc8c7c37e056a2b4bbbc8a128a36
treec8b9a0773518f45aa86d861fce959c3c4f946b06
parent2f01942536d8c686a3f6b3b38f1257caa2fb763e
[PATCH] x86_64: Disallow kprobes on NMI handlers

A kprobe executes IRET early and that could cause NMI recursion
and stack corruption.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/entry.S
arch/x86_64/kernel/nmi.c
arch/x86_64/kernel/traps.c