From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754528AbaEAK0W (ORCPT ); Thu, 1 May 2014 06:26:22 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:39609 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752906AbaEAK0V (ORCPT ); Thu, 1 May 2014 06:26:21 -0400 Date: Thu, 1 May 2014 12:26:02 +0200 From: Peter Zijlstra To: Thomas Gleixner Cc: Vince Weaver , Ingo Molnar , linux-kernel@vger.kernel.org, Steven Rostedt Subject: Re: [perf] more perf_fuzzer memory corruption Message-ID: <20140501102602.GP11096@twins.programming.kicks-ass.net> References: <20140429094632.GP27561@twins.programming.kicks-ass.net> <20140429190108.GB30445@twins.programming.kicks-ass.net> <20140430184437.GH17778@laptop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 01, 2014 at 12:51:33AM +0200, Thomas Gleixner wrote: > And that's the issue which puzzles us. Let's look at what we expect: > > Now the trace shows a different story: > > perf_fuzzer-4387 [001] 1802.628659: sys_enter: NR 298 (69bb58, 0, ffffffff, 12, 0, 0) That's a per-cpu event (.pid = -1, .cpu = 12), they don't get inherited, so the only thing keeping it alive is the fd the child got. So exit_files() killing this thing makes perfect sense. Onwards to find another funny.