From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754394Ab3KIPOM (ORCPT ); Sat, 9 Nov 2013 10:14:12 -0500 Received: from merlin.infradead.org ([205.233.59.134]:39927 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753256Ab3KIPOJ (ORCPT ); Sat, 9 Nov 2013 10:14:09 -0500 Date: Sat, 9 Nov 2013 16:13:56 +0100 From: Peter Zijlstra To: Frederic Weisbecker Cc: Vince Weaver , Steven Rostedt , LKML , Ingo Molnar , Dave Jones Subject: Re: perf/tracepoint: another fuzzer generated lockup Message-ID: <20131109151356.GA4971@laptop.programming.kicks-ass.net> References: <20131108200244.GB14606@localhost.localdomain> <20131108204839.GD14606@localhost.localdomain> <20131108223657.GF14606@localhost.localdomain> <20131109141039.GM16117@laptop.programming.kicks-ass.net> <20131109145258.GB26079@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131109145258.GB26079@localhost.localdomain> 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 Sat, Nov 09, 2013 at 03:52:59PM +0100, Frederic Weisbecker wrote: > So, an idea of what may be happening: an event overflows while FASYNC flag is set so it triggers an irq work > to send the signal (kill_fasync). > After the irq work triggers, it generates an irq_work_exit event, which in turn overflows and, > if it has FASYNC, triggers a new irq work. The irq work triggers and generates an irq work exit event which > has FASYNC flag, etc... > > Looks like a nice way to deadlock with an infinite loop of irq work. Yep, exactly, see the email I just send.