Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp4471941ybh; Tue, 6 Aug 2019 12:15:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxIZjjt41/7MWZrbDi3jySoSrt8QksZENErjoK5MWWHM3x4rDK/+Ca3ZcwBn5e/19u+TRwT X-Received: by 2002:a17:902:d917:: with SMTP id c23mr4629935plz.248.1565118906371; Tue, 06 Aug 2019 12:15:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565118906; cv=none; d=google.com; s=arc-20160816; b=fJ5AQjKwg4WVq+NG2sjlZT33pjA2maxBONiw3qS/YrifGiG8e4bb8eITxg1mmLCqNI fpsy5+FsKxy+iZeYO7dESfcyLfm7W7EdChSwB8KQrPkpOxHJ2wTTm+/qUGY9pDGkOZ/A zbPFne7VU4puVwNe0k1YkZ7zCU9pWdBCrFFpd36q9I9fqQaB62RVvhl65EJsACjCPZ8V EKhBjIleE4n7uaLo+71ti0tApxMCAdkfHttarpOkmTZY6697Of3hiqNbp4To/ZH+Gw/o F+tBAqdFkNmbvBXtfaIlXewlcJEW9szBB3Grfd/wTZTU0EIeinS8EgXhGxxdQ3LdT88l Fykg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:in-reply-to :subject:cc:to:from:date; bh=34dTzeYxW/R12TlWBmEROaRuqX8S2d1K1Q42jdffwBc=; b=oBZhKUwIXCLNPfwB3QPRaA5lWbEXKrhsFNFQ99WcY1FjrPT7Q2wDas+TmTVAxyf7I8 d+2zLzIYpUiJfUaCfwJEPWguwEcLFAXwOUBrA72IObLlHXMgJNH6zUy2EQGTagqd7uJA U4BlnjtpC1hY8wdHa4485JWMvvcsEquQoqkBQSMKb7X5ii1nXJWQEtGK2cW8J6AoUzjt eQ9gL+fYYZQKt3E6VHPd5O5KZ9156IaijBN4cGOa/hpRbPdu4OxgTAnRi6k7xjupq8PG Wt13BZwWCQam6KRp++Eg5MdTGpkOjKIcZ8HvLMoHRgFoAmuqvzyFTpda4izV7JYOy46s U2aw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y8si42312875plk.428.2019.08.06.12.14.50; Tue, 06 Aug 2019 12:15:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726412AbfHFTNm (ORCPT + 99 others); Tue, 6 Aug 2019 15:13:42 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:43896 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1726058AbfHFTNm (ORCPT ); Tue, 6 Aug 2019 15:13:42 -0400 Received: (qmail 6915 invoked by uid 2102); 6 Aug 2019 15:13:41 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 6 Aug 2019 15:13:41 -0400 Date: Tue, 6 Aug 2019 15:13:41 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: syzbot cc: andreyknvl@google.com, , , , , , Subject: Re: possible deadlock in open_rio In-Reply-To: <00000000000088af91058f0fe377@google.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 1 Aug 2019, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit: 7f7867ff usb-fuzzer: main usb gadget fuzzer driver > git tree: https://github.com/google/kasan.git usb-fuzzer > console output: https://syzkaller.appspot.com/x/log.txt?x=136b6aec600000 > kernel config: https://syzkaller.appspot.com/x/.config?x=792eb47789f57810 > dashboard link: https://syzkaller.appspot.com/bug?extid=7bbcbe9c9ff0cd49592a > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > > Unfortunately, I don't have any reproducer for this crash yet. > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > Reported-by: syzbot+7bbcbe9c9ff0cd49592a@syzkaller.appspotmail.com > > ====================================================== > WARNING: possible circular locking dependency detected > 5.3.0-rc2+ #23 Not tainted > ------------------------------------------------------ Andrey: This should be completely reproducible, since it's a simple ABBA locking violation. Maybe just introducing a time delay (to avoid races and give the open() call time to run) between the gadget creation and gadget removal would be enough to do it. Is there any way you can test this? Alan Stern