Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1468394

[PATCH 0/3] perf, bts: Fallout from the fuzzer for perf/urgent

From Alexander Shishkin <alexander.shishkin@linux.intel.com>
Newsgroups linux.kernel
Subject [PATCH 0/3] perf, bts: Fallout from the fuzzer for perf/urgent
Date 2016-08-23 11:00 +0200
Message-ID <s9fIR-1yv-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

Recently Vince has reported warnings and panics coming from the
general direction of AUX tracing. I found two bugs which manifest
similarly, one in intel_bts driver and one in AUX unmapping path.

Both are triggered by racing SET_OUTPUT against mmap_close while
running AUX tracing. I have a test case that set fire to the kernel
within a few seconds by doing this, which I can share if anyone
cares.

These are all good candidates for 4.7-stable and the BTS ones can be
theoretically backported further.

Alexander Shishkin (3):
  perf/x86/intel/bts: Fix confused ordering of PMU callbacks
  perf/x86/intel/bts: Kill a silly warning
  perf: Fix a race between mmap_close and set_output of AUX events

 arch/x86/events/intel/bts.c | 87 +++++++++++++++++++++++++++++++++------------
 kernel/events/core.c        | 31 ++++++++++++----
 2 files changed, 89 insertions(+), 29 deletions(-)

-- 
2.8.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] perf, bts: Fallout from the fuzzer for perf/urgent Alexander Shishkin <alexander.shishkin@linux.intel.com> - 2016-08-23 11:00 +0200
  [PATCH 1/3] perf/x86/intel/bts: Fix confused ordering of PMU callbacks Alexander Shishkin <alexander.shishkin@linux.intel.com> - 2016-08-23 11:00 +0200
    Re: [PATCH 1/3] perf/x86/intel/bts: Fix confused ordering of PMU callbacks Alexander Shishkin <alexander.shishkin@linux.intel.com> - 2016-08-24 14:30 +0200
      Re: [PATCH 1/3] perf/x86/intel/bts: Fix confused ordering of PMU callbacks Alexander Shishkin <alexander.shishkin@linux.intel.com> - 2016-08-24 16:20 +0200
  [PATCH 3/3] perf: Fix a race between mmap_close and set_output of AUX events Alexander Shishkin <alexander.shishkin@linux.intel.com> - 2016-08-23 11:00 +0200
  [PATCH 2/3] perf/x86/intel/bts: Kill a silly warning Alexander Shishkin <alexander.shishkin@linux.intel.com> - 2016-08-23 11:00 +0200
  Re: [PATCH 0/3] perf, bts: Fallout from the fuzzer for perf/urgent Vince Weaver <vince@deater.net> - 2016-08-23 18:30 +0200
    Re: [PATCH 0/3] perf, bts: Fallout from the fuzzer for perf/urgent Alexander Shishkin <alexander.shishkin@linux.intel.com> - 2016-08-23 19:20 +0200
      Re: [PATCH 0/3] perf, bts: Fallout from the fuzzer for perf/urgent Vince Weaver <vince@deater.net> - 2016-08-23 23:00 +0200
        Re: [PATCH 0/3] perf, bts: Fallout from the fuzzer for perf/urgent Alexander Shishkin <alexander.shishkin@linux.intel.com> - 2016-08-24 05:50 +0200

csiph-web