OpenCloudOS-Kernel/tools/perf/util/arm-spe-decoder
Ian Rogers 92f1e8adf7 perf arm-spe: Avoid potential buffer overrun
SPE extended headers are > 1 byte so ensure the buffer contains at least
this before reading. This issue was detected by fuzzing.

Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andre Przywara <andre.przywara@arm.com>
Cc: Dave Martin <dave.martin@arm.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Will Deacon <will@kernel.org>
Link: http://lore.kernel.org/lkml/20210407153955.317215-1-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2021-04-07 16:23:20 -03:00
..
Build perf arm-spe: Support synthetic events 2020-06-01 12:24:23 -03:00
arm-spe-decoder.c perf arm-spe: Store operation type in packet 2021-02-12 17:43:24 -03:00
arm-spe-decoder.h perf arm-spe: Store operation type in packet 2021-02-12 17:43:24 -03:00
arm-spe-pkt-decoder.c perf arm-spe: Avoid potential buffer overrun 2021-04-07 16:23:20 -03:00
arm-spe-pkt-decoder.h perf arm-spe: Add support for ARMv8.3-SPE 2020-11-26 09:31:46 -03:00