summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/sgx/encl.c
diff options
context:
space:
mode:
authorLi Huafei <lihuafei1@huawei.com>2022-03-10 20:09:15 +0800
committerBorislav Petkov <bp@suse.de>2022-03-11 19:19:30 +0100
commita365a65f9ca1ceb9cf1ac29db4a4f51df7c507ad (patch)
tree7490c717d49df19483e36eb3bd4e22a092b7a3a8 /arch/x86/kernel/cpu/sgx/encl.c
parent445c1470b6ef96440e7cfc42dfc160f5004fd149 (diff)
downloadlinux-a365a65f9ca1ceb9cf1ac29db4a4f51df7c507ad.tar.bz2
x86/traps: Mark do_int3() NOKPROBE_SYMBOL
Since kprobe_int3_handler() is called in do_int3(), probing do_int3() can cause a breakpoint recursion and crash the kernel. Therefore, do_int3() should be marked as NOKPROBE_SYMBOL. Fixes: 21e28290b317 ("x86/traps: Split int3 handler up") Signed-off-by: Li Huafei <lihuafei1@huawei.com> Signed-off-by: Borislav Petkov <bp@suse.de> Acked-by: Masami Hiramatsu <mhiramat@kernel.org> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20220310120915.63349-1-lihuafei1@huawei.com
Diffstat (limited to 'arch/x86/kernel/cpu/sgx/encl.c')
0 files changed, 0 insertions, 0 deletions