diff options
author | Peter Zijlstra <[email protected]> | 2014-01-10 21:06:03 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-01-16 09:19:48 +0100 |
commit | c026b3591e4f2a4993df773183704bb31634e0bd (patch) | |
tree | 2115229bf8310f0f66d7d924e01865bee4af6911 /net/lapb/lapb_out.c | |
parent | 85ce70fdf48aa290b4845311c2dd815d7f8d1fa5 (diff) |
x86, mm, perf: Allow recursive faults from interrupts
Waiman managed to trigger a PMI while in a emulate_vsyscall() fault,
the PMI in turn managed to trigger a fault while obtaining a stack
trace. This triggered the sig_on_uaccess_error recursive fault logic
and killed the process dead.
Fix this by explicitly excluding interrupts from the recursive fault
logic.
Reported-and-Tested-by: Waiman Long <[email protected]>
Fixes: e00b12e64be9 ("perf/x86: Further optimize copy_from_user_nmi()")
Cc: Aswin Chandramouleeswaran <[email protected]>
Cc: Scott J Norton <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions