[PATCH 0/3] perf/x86/intel/pt: Address filtering fixes for perf/urgent

From: Alexander Shishkin
Date: Thu Sep 15 2016 - 09:30:10 EST


Hi,

Hoping that it's not too late, here are fixes for issues that Adrian
found. All three are good for -stable afaict. Two of the bugs result
in a #GP and one in a misconfigured filter.

2/3 can be moved into the PT driver as well, but I decided that others
may benefit from it at least theoretically.

Alexander Shishkin (3):
perf/x86/intel/pt: Fix an off-by-one in address filter configuration
perf/x86: Tighten up the kernel_ip() check
perf/x86/intel/pt: Do validate the size of a kernel address filter

arch/x86/events/intel/pt.c | 13 +++++++++----
arch/x86/events/perf_event.h | 2 +-
2 files changed, 10 insertions(+), 5 deletions(-)

--
2.9.3