summaryrefslogtreecommitdiff
path: root/lib/lz4
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2018-04-20 14:25:48 +0200
committerIngo Molnar <mingo@kernel.org>2018-05-05 08:37:31 +0200
commita5f81290ce475489fa2551c01a07470c1a4c932e (patch)
tree30002c9b41bfbd2560b97b274ce60582b788a36c /lib/lz4
parent06ce6e9b6d6c09d4129c6e24a1314a395d816c10 (diff)
perf/x86/cstate: Fix possible Spectre-v1 indexing for pkg_msr
> arch/x86/events/intel/cstate.c:307 cstate_pmu_event_init() warn: potential spectre issue 'pkg_msr' (local cap) Userspace controls @attr, sanitize cfg (attr->config) before using it to index an array. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: <stable@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Vince Weaver <vincent.weaver@maine.edu> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib/lz4')
0 files changed, 0 insertions, 0 deletions