diff options
author | 2016-09-15 22:45:46 -0700 | |
---|---|---|
committer | 2016-09-16 09:18:53 +0200 | |
commit | 74327a3e884a0ff895ba7b51d3488e6a177407b2 (patch) | |
tree | 9efa0dedd51c86d132d29b869a119e69b7ab76cb /lib/syscall.c | |
parent | x86/dumpstack: Pin the target stack when dumping it (diff) | |
download | linux-rng-74327a3e884a0ff895ba7b51d3488e6a177407b2.tar.xz linux-rng-74327a3e884a0ff895ba7b51d3488e6a177407b2.zip |
x86/process: Pin the target stack in get_wchan()
This will prevent a crash if get_wchan() runs after the task stack
is freed.
Signed-off-by: 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: Jann Horn <jann@thejh.net>
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>
Link: http://lkml.kernel.org/r/337aeca8614024aa4d8d9c81053bbf8fcffbe4ad.1474003868.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions