Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3692523ybv; Mon, 10 Feb 2020 04:49:04 -0800 (PST) X-Google-Smtp-Source: APXvYqwwfQV2XOewvEwNOftKAlDIBTgzKrFTHtSBZp5KRhiyWYq+qdfTn53opUxwUvcWRq36B6E1 X-Received: by 2002:a9d:de9:: with SMTP id 96mr942120ots.222.1581338944362; Mon, 10 Feb 2020 04:49:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581338944; cv=none; d=google.com; s=arc-20160816; b=o3WO3Qcebi/e8LvvqzBU2ZPswp84he8RPgFke6uTKqhq9ZQbYMTvNuZWfY7eUlBb9K 8bw4+oOgovezEcWS+APiP0Fyv9+81DdpUmuoQKeHVQ1p2yOe7atZtTwN/uRZiAwiQRIf XYodyP8+8WFHBptf1x8SHBTOHhsotDpFi6fdjcscGkXWShwR2RRx8VbzYQuCeOWxmjLf fxcBkzT4pI9BrDDZI9N7wTQgfPtCflBnICOB+TeLCNWKjieHlYUDc5U1XQWUQZGsKquF fSa0mSVdcw0CEFHZKFKX3NsE+H155g7J9Ka+mwf86dBbXX8H9CS4/NtKU8gBtquAcMxG 7Hfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=f+q267iIRnqrpvoku7EynQprwBVsZU3GUBD+4qse62Q=; b=PU1yzVqZCb4Ng3afDKEGKjo63v3CMebap2vhCU6rUTn2cCkqm4K6bW9hEKM6eT1k8U vSZITvzDkrgx5RyMOhHS0awrOFrJ+coeLvQzZACuHanoBQ+La/sZmtLz86jo3WGJ3ZfR vBrqi9hVGIVuTenbGl6CJkHe3ZTU5tVRG/wI/mrgk9qGEqgQJ810VMbrwcwuMxXod3H4 PZzo77sb0kxqGXNPalL7PocTLxBKSpIj057KOel5JeVepGV77robtvLLlz3b7laeCM8w olnIvMautqY20gu/jNsm0LUa+XQtZ+9hPBXzaayDclEG4bD4RONdVXGw3XpKCR0laDkN GHwg== 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 v11si134440otp.279.2020.02.10.04.48.52; Mon, 10 Feb 2020 04:49:04 -0800 (PST) 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 S1729132AbgBJMrw (ORCPT + 99 others); Mon, 10 Feb 2020 07:47:52 -0500 Received: from www262.sakura.ne.jp ([202.181.97.72]:62282 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730260AbgBJMrC (ORCPT ); Mon, 10 Feb 2020 07:47:02 -0500 Received: from fsav104.sakura.ne.jp (fsav104.sakura.ne.jp [27.133.134.231]) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id 01ACkE6E048428; Mon, 10 Feb 2020 21:46:14 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Received: from www262.sakura.ne.jp (202.181.97.72) by fsav104.sakura.ne.jp (F-Secure/fsigk_smtp/550/fsav104.sakura.ne.jp); Mon, 10 Feb 2020 21:46:14 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/fsav104.sakura.ne.jp) Received: from [192.168.1.9] (M106072142033.v4.enabler.ne.jp [106.72.142.33]) (authenticated bits=0) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTPSA id 01ACkDpn048358 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Feb 2020 21:46:14 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Subject: Re: INFO: task hung in wdm_flush To: Dmitry Vyukov Cc: Oliver Neukum , syzbot , Andrey Konovalov , Jia-Ju Bai , Sebastian Andrzej Siewior , Colin King , Greg Kroah-Hartman , LKML , USB list , syzkaller-bugs , yuehaibing@huawei.com, =?UTF-8?Q?Bj=c3=b8rn_Mork?= References: <0000000000003313f0058fea8435@google.com> <8736ek9qir.fsf@miraculix.mork.no> <1574159504.28617.5.camel@suse.de> <87pnho85h7.fsf@miraculix.mork.no> From: Tetsuo Handa Message-ID: Date: Mon, 10 Feb 2020 21:46:11 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/02/10 19:09, Dmitry Vyukov wrote: > You may also try on the exact commit the bug was reported, because > usb-fuzzer is tracking branch, things may change there. OK. I explicitly tried #syz test: https://github.com/google/kasan.git e5cd56e94edde38ca4dafae5a450c5a16b8a5f23 but syzbot still cannot reproduce this bug using the reproducer... On 2020/02/10 21:02, syzbot wrote: > Hello, > > syzbot has tested the proposed patch and the reproducer did not trigger crash: > > Reported-and-tested-by: syzbot+854768b99f19e89d7f81@syzkaller.appspotmail.com > > Tested on: > > commit: e5cd56e9 usb: gadget: add raw-gadget interface > git tree: https://github.com/google/kasan.git > kernel config: https://syzkaller.appspot.com/x/.config?x=c372cdb7140fc162 > dashboard link: https://syzkaller.appspot.com/bug?extid=854768b99f19e89d7f81 > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > > Note: testing is done by a robot and is best-effort only. > Anyway, I'm just suspecting that we are forgetting to wake up all waiters after clearing WDM_IN_USE bit because sometimes multiple threads are reported as hung. On 2020/02/10 15:27, syzbot wrote: > Hello, > > syzbot has tested the proposed patch and the reproducer did not trigger crash: > > Reported-and-tested-by: syzbot+854768b99f19e89d7f81@syzkaller.appspotmail.com > > Tested on: > > commit: e5cd56e9 usb: gadget: add raw-gadget interface > git tree: https://github.com/google/kasan.git usb-fuzzer > kernel config: https://syzkaller.appspot.com/x/.config?x=c372cdb7140fc162 > dashboard link: https://syzkaller.appspot.com/bug?extid=854768b99f19e89d7f81 > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > patch: https://syzkaller.appspot.com/x/patch.diff?x=117c3ae9e00000 > > Note: testing is done by a robot and is best-effort only. > On 2020/02/10 15:55, syzbot wrote: > Hello, > > syzbot has tested the proposed patch and the reproducer did not trigger crash: > > Reported-and-tested-by: syzbot+854768b99f19e89d7f81@syzkaller.appspotmail.com > > Tested on: > > commit: e5cd56e9 usb: gadget: add raw-gadget interface > git tree: https://github.com/google/kasan.git usb-fuzzer > kernel config: https://syzkaller.appspot.com/x/.config?x=c372cdb7140fc162 > dashboard link: https://syzkaller.appspot.com/bug?extid=854768b99f19e89d7f81 > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > patch: https://syzkaller.appspot.com/x/patch.diff?x=13b3f6e9e00000 > > Note: testing is done by a robot and is best-effort only. > On 2020/02/10 16:21, syzbot wrote: > Hello, > > syzbot has tested the proposed patch and the reproducer did not trigger crash: > > Reported-and-tested-by: syzbot+854768b99f19e89d7f81@syzkaller.appspotmail.com > > Tested on: > > commit: e5cd56e9 usb: gadget: add raw-gadget interface > git tree: https://github.com/google/kasan.git usb-fuzzer > kernel config: https://syzkaller.appspot.com/x/.config?x=c372cdb7140fc162 > dashboard link: https://syzkaller.appspot.com/bug?extid=854768b99f19e89d7f81 > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > patch: https://syzkaller.appspot.com/x/patch.diff?x=115026b5e00000 > > Note: testing is done by a robot and is best-effort only. > On 2020/02/10 16:44, syzbot wrote: > Hello, > > syzbot has tested the proposed patch and the reproducer did not trigger crash: > > Reported-and-tested-by: syzbot+854768b99f19e89d7f81@syzkaller.appspotmail.com > > Tested on: > > commit: e5cd56e9 usb: gadget: add raw-gadget interface > git tree: https://github.com/google/kasan.git usb-fuzzer > kernel config: https://syzkaller.appspot.com/x/.config?x=c372cdb7140fc162 > dashboard link: https://syzkaller.appspot.com/bug?extid=854768b99f19e89d7f81 > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > patch: https://syzkaller.appspot.com/x/patch.diff?x=17285431e00000 > > Note: testing is done by a robot and is best-effort only. > On 2020/02/10 17:05, syzbot wrote: > Hello, > > syzbot has tested the proposed patch and the reproducer did not trigger crash: > > Reported-and-tested-by: syzbot+854768b99f19e89d7f81@syzkaller.appspotmail.com > > Tested on: > > commit: e5cd56e9 usb: gadget: add raw-gadget interface > git tree: https://github.com/google/kasan.git usb-fuzzer > kernel config: https://syzkaller.appspot.com/x/.config?x=c372cdb7140fc162 > dashboard link: https://syzkaller.appspot.com/bug?extid=854768b99f19e89d7f81 > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > > Note: testing is done by a robot and is best-effort only. >