Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3826066ybv; Mon, 10 Feb 2020 07:07:00 -0800 (PST) X-Google-Smtp-Source: APXvYqxXlZtDdJURFvQWXiKCv0vMhzAPMVdyax++0Rmx1b/FmWtgRZcdc0gOlr1Lky/EpoYTz4v2 X-Received: by 2002:aca:d502:: with SMTP id m2mr1050666oig.41.1581347220741; Mon, 10 Feb 2020 07:07:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581347220; cv=none; d=google.com; s=arc-20160816; b=IuL+aWJbaz5o0ZscKF5SNbRL63LkmLUQZkk7U/cr5+DlIpMd2PlLzIAh2+2Oc1QmVz nA4LjKNDlM1j+zNuXvZ7SelBRRK4nQAyIHRLwWcYtDqo72aBeI7uKHVRVu7d4TUL9UD/ TjWkjN6bjT6Td/SvN5byy8NPoKHWzF12clmBgqZS9Fq/+qwv2JKcUvEiZCVGXjUqaG09 3GBlQyxGvQjH9iT1iNW3P9kR7DmgRTM1jbptDN4Kfu+oVc8MsHGLBgNpiYDXiE9gNfnH yHk+t01A7J86Q7qoR1lLX3P94aFhMAh0g2iAusRvVKCnlxyAuMZeoCxxkZfddKyrsPWU qKxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=8aliVfr/Np4hkPQ33o46u2Grd4DX7wASnGsm/Zcus3k=; b=Tk5LcTp76rhDbk1ryp6ABOiN76a8OvYlOErwiIcKoBGrnrYnOlTaUtaKjgxxpct/WP iPo67VN5x+v4TiIAzRr9ZhcsH/yPrTHGduL46jgeECORpr5ikOeSf6JGjlUuzXKTcpqp VcCZ7VK9/3uXi6gVoGz0YPKiWXVj44BYQCxh8B0do7ap5pPKhPLQsK2A58wzlNsB3/Co xe6y3+PsQQehLsCIoZFawb/7Fj+tF/3I3XJqBi1LtuD0cXBCf63YJ6kSpWY8VnI/JnOG hZVM9ng1Bllx82+1i8zMkcSauG2+tTqUEgqcFDWvribUVIjNYNGQ523mZSPDeC2xnTWa pirA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=mKWMlgmW; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i194si296963oib.73.2020.02.10.07.06.49; Mon, 10 Feb 2020 07:07:00 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=mKWMlgmW; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728360AbgBJPFD (ORCPT + 99 others); Mon, 10 Feb 2020 10:05:03 -0500 Received: from mail-qk1-f195.google.com ([209.85.222.195]:33419 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728742AbgBJPFC (ORCPT ); Mon, 10 Feb 2020 10:05:02 -0500 Received: by mail-qk1-f195.google.com with SMTP id h4so6831809qkm.0 for ; Mon, 10 Feb 2020 07:05:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8aliVfr/Np4hkPQ33o46u2Grd4DX7wASnGsm/Zcus3k=; b=mKWMlgmW4/67JTi5qgxd8v5tJFzgIpFofYvpPESc+RYnt/YLGM9XYgTLzPOTJsSq6z VXb90EUoAuQfvw6oke7+8Wsc6KqN/gWNwvR/7pWQjUh0Me2Cua7rWKp3SapilyDHZMho 4ex3uOyWGrka1ypF7FCNdpZ/cGsenXObj/OqHYivyN1GvTBB9lVr+7hTdtuiCD53YaxG r+3tYCLzpVXW1X63xGOvlIXjn6w9/tiRZjajhEI9S4Wc9IoDyszOm6sPvYYmDrjm/HOT mfquUK8dDbRpBekKzuajKGhf3mBU5Xw5Z6s3j5nwBKPD+oMSxk9cJk6OXVqS5GxmWbUk 5RcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8aliVfr/Np4hkPQ33o46u2Grd4DX7wASnGsm/Zcus3k=; b=cEw9uYVq6+ZQriEh4BZXc/7RxNlJRK26ufoNEP72pSloKSNSAqQmyyuLoO6xcQuTB1 eTe33EdA6cD+5CFaKNEj/gYkUAZlqv9rNtFTBXVuYkekXmXmn8GscV7wGzVguVclHMie /OOz+rpT7Vtq4Pta42HPDUoaulhgfBmU2tGZLTk0CdbTMhLPyRQeJ/bnK9JXbqCsxr4n fk+gy8ScapaEkdZvHoPiBPSJgMCMEV3IEJOjWSMPOgdEAXY3Q7nag40jMuvp2RwtpSjB w9xf+iRKFPpbA4lZdRRisRiS9p6aJRWKHXokj258NHLSws+QECORgx6BvS8e1n8n3MwF H1sw== X-Gm-Message-State: APjAAAWnePHSNgND7bk8d8DZroob3kyejD4j79dPawn6/7WW5DeT5eXU x/D4QHUD/qFmSOxA/6QJV3nyINA9Kdg2J+aPTxHpLA== X-Received: by 2002:a37:4755:: with SMTP id u82mr1692304qka.43.1581347101107; Mon, 10 Feb 2020 07:05:01 -0800 (PST) MIME-Version: 1.0 References: <0000000000003313f0058fea8435@google.com> <8736ek9qir.fsf@miraculix.mork.no> <1574159504.28617.5.camel@suse.de> <87pnho85h7.fsf@miraculix.mork.no> In-Reply-To: From: Dmitry Vyukov Date: Mon, 10 Feb 2020 16:04:47 +0100 Message-ID: Subject: Re: INFO: task hung in wdm_flush To: Tetsuo Handa 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?= Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 10, 2020 at 1:46 PM Tetsuo Handa wrote: > > 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. On Mon, Feb 10, 2020 at 4:03 PM Tetsuo Handa wrote: > > On 2020/02/10 21:46, Tetsuo Handa wrote: > > 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... > > It seems that there is non-trivial difference between kernel config in dashboard > and kernel config in "syz test:" mails. Maybe that's the cause...