aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/llvm-utils.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2018-04-20 12:03:18 +0000
committerIngo Molnar <[email protected]>2018-05-05 06:37:27 +0000
commit4411ec1d1993e8dbff2898390e3fed280d88e446 (patch)
tree9ffa1e252152bfa28724ece94ae95f7f7976e3da /tools/perf/util/llvm-utils.c
parentsched/autogroup: Fix possible Spectre-v1 indexing for sched_prio_to_weight[] (diff)
downloadkernel-4411ec1d1993e8dbff2898390e3fed280d88e446.tar.gz
kernel-4411ec1d1993e8dbff2898390e3fed280d88e446.zip
perf/core: Fix possible Spectre-v1 indexing for ->aux_pages[]
> kernel/events/ring_buffer.c:871 perf_mmap_to_page() warn: potential spectre issue 'rb->aux_pages' Userspace controls @pgoff through the fault address. Sanitize the array index before doing the array dereference. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Vince Weaver <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/llvm-utils.c')
0 files changed, 0 insertions, 0 deletions