From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750932AbdAXNRy (ORCPT ); Tue, 24 Jan 2017 08:17:54 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:41906 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750725AbdAXNRx (ORCPT ); Tue, 24 Jan 2017 08:17:53 -0500 Date: Tue, 24 Jan 2017 14:17:48 +0100 From: Peter Zijlstra To: Dmitry Vyukov Cc: Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , LKML , syzkaller Subject: Re: perf: use-after-free in perf_event_for_each Message-ID: <20170124131748.GD6536@twins.programming.kicks-ass.net> References: <20170123170442.GL6515@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170123170442.GL6515@twins.programming.kicks-ass.net> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 23, 2017 at 06:04:42PM +0100, Peter Zijlstra wrote: > On Mon, Jan 23, 2017 at 02:30:12PM +0100, Dmitry Vyukov wrote: > > Hello, > > > > The following program triggers use-after-free in perf_event_for_each: > > https://gist.githubusercontent.com/dvyukov/f1c354a8356e42f4d0b3d912e1bec956/raw/31d7ecdf6dc2c7327b80ef8581a39c823bbe405d/gistfile1.txt I've been running 60 concurrent instances of that thing for hours now, and have not been able to reproduce :-/ I did enable CONFIG_KASAN but otherwise booted as normal, and the thing says: [ 0.000000] kasan: KernelAddressSanitizer initialized Is there anything else I should do? I've ran out of ideas and it would be very helpful if I could prod at something that fails...