diff options
author | Peter Zijlstra <peterz@infradead.org> | 2019-07-18 10:47:47 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-07-18 16:47:24 +0200 |
commit | cac9b9a4b08304f11daace03b8b48659355e44c1 (patch) | |
tree | cee56fc360060307af45a702ba4120ed90f66f11 /kernel/bpf | |
parent | 8e144797f1a67c52e386161863da4614a23ad913 (diff) | |
download | linux-cac9b9a4b08304f11daace03b8b48659355e44c1.tar.gz linux-cac9b9a4b08304f11daace03b8b48659355e44c1.tar.bz2 linux-cac9b9a4b08304f11daace03b8b48659355e44c1.zip |
stacktrace: Force USER_DS for stack_trace_save_user()
When walking userspace stacks, USER_DS needs to be set, otherwise
access_ok() will not function as expected.
Reported-by: Vegard Nossum <vegard.nossum@oracle.com>
Reported-by: Eiichi Tsukata <devel@etsukata.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Vegard Nossum <vegard.nossum@oracle.com>
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Link: https://lkml.kernel.org/r/20190718085754.GM3402@hirez.programming.kicks-ass.net
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions