Skip to content

perf/x86/intel/pt: Address filtering fixes for perf/urgent

Alexander Shishkin lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3perf/x86/intel/pt: Fix an off-by-one in address filter configurationarch/x86/events/intel/pt.c+2 -20 replies
2/3perf/x86: Tighten up the kernel_ip() checkarch/x86/events/perf_event.h+1 -11 reply
3/3perf/x86/intel/pt: Do validate the size of a kernel address filterarch/x86/events/intel/pt.c+7 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.9.3