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

