]> err.no Git - linux-2.6/commit
[PATCH] i386: Disallow kprobes on NMI handlers
authorFernando Luis Vázquez Cao <fernando@oss.ntt.co.jp>
Tue, 26 Sep 2006 08:52:36 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:36 +0000 (10:52 +0200)
commit6f6b1e0477ccb2f25a9b045e38440347d2ce21c8
tree691c53a8a7e1e6338d11bd3158618cbc44036a57
parente9dff0ee6694b2edd40b1b448cb786f6a7b02336
[PATCH] i386: Disallow kprobes on NMI handlers

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

Note: This problem was originally spotted by Andi Kleen. This patch
      adds fixes not included in his original patch.
[AK: Jan Beulich originally discovered these classes of bugs]

Signed-off-by: Fernando Vazquez <fernando@intellilink.co.jp>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/mca.c