diff options
author | Tony Luck <tony.luck@intel.com> | 2017-03-21 00:40:30 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-22 10:43:25 +0300 |
commit | 26a37ab319a26d330bab298770d692bb9c852aff (patch) | |
tree | afe17eedd5552b7587ab4eeecced5fd432a39b5c /arch/x86/mm/kaslr.c | |
parent | ad4830051aac0b967add82ac168f49edf11f01a0 (diff) | |
download | linux-26a37ab319a26d330bab298770d692bb9c852aff.tar.xz |
x86/mce: Fix copy/paste error in exception table entries
Back in commit:
92b0729c34cab ("x86/mm, x86/mce: Add memcpy_mcsafe()")
... I made a copy/paste error setting up the exception table entries
and ended up with two for label .L_cache_w3 and none for .L_cache_w2.
This means that if we take a machine check on:
.L_cache_w2: movq 2*8(%rsi), %r10
then we don't have an exception table entry for this instruction
and we can't recover.
Fix: s/3/2/
Signed-off-by: Tony Luck <tony.luck@intel.com>
Cc: <stable@vger.kernel.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Fixes: 92b0729c34cab ("x86/mm, x86/mce: Add memcpy_mcsafe()")
Link: http://lkml.kernel.org/r/1490046030-25862-1-git-send-email-tony.luck@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/mm/kaslr.c')
0 files changed, 0 insertions, 0 deletions