From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751094AbaIJNMk (ORCPT ); Wed, 10 Sep 2014 09:12:40 -0400 Received: from mail-qc0-f169.google.com ([209.85.216.169]:57795 "EHLO mail-qc0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750734AbaIJNMi (ORCPT ); Wed, 10 Sep 2014 09:12:38 -0400 From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Wed, 10 Sep 2014 09:18:35 -0400 (EDT) To: Peter Zijlstra cc: Vince Weaver , linux-kernel@vger.kernel.org, Paul Mackerras , Ingo Molnar , Arnaldo Carvalho de Melo , Steven Rostedt Subject: Re: perf: perf_fuzzer triggers instant reboot In-Reply-To: <20140910083136.GP6758@twins.programming.kicks-ass.net> Message-ID: References: <20140908185115.GI6758@twins.programming.kicks-ass.net> <20140910083136.GP6758@twins.programming.kicks-ass.net> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 10 Sep 2014, Peter Zijlstra wrote: > > Sasha reported something from his KVM based fuzzing, maybe that's the > same. But that x86_exceptions thing is interesting, lemme go look at > that first. that's what got me looking at things again, the trinity reports. Though I think those involve CPU hotplugging which my fuzzer shouldn't trigger. I do think this is the same memory corruption/reboot bug that I reported back in February (the thread is "perf_fuzzer compiled for x32 causes reboot" but I wasn't able to isolate the problem then either. Somehow something is stomping over memory with a forking workload (likely an improper free with RCU like we've seen before) but the fact that it causes a reboot immediately makes it *really* hard to debug this. I'm not sure about the tracing issue, possibly it's just a side effect of memory being corrupted by the same bug. In case it's relevant here's the trace-cmd I was trying to use: trace-cmd record -e raw_syscalls -p function -l '*perf*' -n 'perf_event_task_tick' -l 'x86*' -l 'intel*' -P 2807 Vince