Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2965480pxb; Tue, 13 Apr 2021 15:01:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbgirqIHl+Tf3P75ueS/uQqe5pKRBOBVxYQvnUOtfZIs74xuOCM8Rzva3Xs5JBDBh9PX50 X-Received: by 2002:a17:90a:2c0f:: with SMTP id m15mr2189795pjd.83.1618351272726; Tue, 13 Apr 2021 15:01:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618351272; cv=none; d=google.com; s=arc-20160816; b=xp00v5JBYG4motPz8WlohIg9uz03mmPZSz+/d1HUDpdYmj8yrYlpP01W8PYb/fi9bA 9TXVT3Y3MH60kciS2nt0VJ7AEdWBPhmq6eiUHu60+Ut5YERWx1sYH/M31GTKOZidqR9d BMhrBLSBlVaGl5uVH3VRaXqLu52MYyGYKDSqARbVD1Yr3funOEEwNFdO7bMwTXRVg9ub hgZszJskHjMxjsfKwntSksokVoo7kJU9Bptuwk44jG3GUDhGSYAtR9f2N4ORZBHynrNK hubZ5ncOI87DX80TaBieSrjrhlEkpIZ11xDNhuaXEeffp5Oem7dzllCMffeLaqx7K2B2 t0Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=PHNYLL/AP+nvXt8y93Dpx6n3WojKntO9M4nJQwVI9ko=; b=cZbZsi4IfUDqNV018xdmEBh3ALv/npzfqeZWZPGs+ntefUkSCNWMPyGztaVztUpfgD cnTzqCMY6njvfhbGTRyaD1OZ+4VUBLsg2ZL/jjYOxWWcbtzYJsMWBT1f7IC0VuTALVHT 1wWSqNmMKyyI3RjjwpED9PfwseypYa8zWu7Pi8XCb43tY28+VfIk3qB+L8+ZA0eeDuj9 ej5pwF4OwNrd92zBlhGm5g+p1ArYd85xAaXMXvp1GKdWxpnEAlypOoTR/v8r07GJ89KJ T/ITvmAEeGen/OtHXBBdk2i212TMTzKjYsLNFAVnSJHSQsobYdgfbJ47shC4rwDARIYZ w/ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=MFe8FAZa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id pg11si4045056pjb.154.2021.04.13.15.01.00; Tue, 13 Apr 2021 15:01:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=MFe8FAZa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S232220AbhDMRLq (ORCPT + 99 others); Tue, 13 Apr 2021 13:11:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230074AbhDMRLo (ORCPT ); Tue, 13 Apr 2021 13:11:44 -0400 Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5750EC061756 for ; Tue, 13 Apr 2021 10:11:24 -0700 (PDT) Received: by mail-qt1-x833.google.com with SMTP id m16so12648576qtx.9 for ; Tue, 13 Apr 2021 10:11:24 -0700 (PDT) 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=PHNYLL/AP+nvXt8y93Dpx6n3WojKntO9M4nJQwVI9ko=; b=MFe8FAZa7F8uS3oz4b8eTkn3d5Z24Q7Nwtt6zblSCGquDnOpo5YuHBapOf2paZJNEr g2l8g2+FYCAy+AOe2GDCLOer5VKn8tPzf297omQkwO2OJBrBszcWjDCfy/XuDpHy7Sef 8r1Ext8tYoFb1v51zGOljsQ2fRQvGRGQMPsUtd4MQ/bJIeN+GD/+4SIdu2Cc09KTpcwP +c3k/kEcwlDPcxs5gea1qiJmDsB3GQv1+iZPxdr9mO948jMyRGOuZ91MBUIvlILhRjkp 7SMF1WMgAgylPG8lnFdEtuc36Fmruf4ckmjzPnT9tjDFn4eiv2WcsySE5NXe7Bn8OIl2 sG+g== 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=PHNYLL/AP+nvXt8y93Dpx6n3WojKntO9M4nJQwVI9ko=; b=ETOGTvG92TbY2YFZ5KxF21CwHAarbw0yeW5Z7TO2MlzCVblXTXibbXDfySqSKVjYVI munWr2aUdv328YYrPMGVOYQY8iFbpzJqQbmkzCHJtrKVTJAxd3u9bGxS5A2NiQpiPSkO 2gy3ngvQOqXMzIV8GZPH9tUgk7zhXr/lFrSsv5DdoW1zxawbNVghDaSw7zkMUZ0mGuBh 9WLRMi4EhROhDw1k28D9Hms31zGDL4Y0apjGMNAWryET5lRu4xUjnnm7iI9JAbOnaC8v Mr0t6m5A9NsKwLTdqn3nAdVUBLC/0JW/fR+4IObKdE8yA8zPDC71wpu9TupSqCnBYTPD yDKg== X-Gm-Message-State: AOAM531Vq68AP3JqAl4EojmLZPQhkxuVTWTjJFma0Skcrv8uFHXRvsdR vI8AuCSROWOxnK7vBK5g7mZn8dN0weymrp/WsmhTCg== X-Received: by 2002:ac8:768c:: with SMTP id g12mr15974368qtr.67.1618333882981; Tue, 13 Apr 2021 10:11:22 -0700 (PDT) MIME-Version: 1.0 References: <00000000000075c58405bfd6228c@google.com> <20210413161311.GC1454681@rowland.harvard.edu> <20210413165724.GD1454681@rowland.harvard.edu> In-Reply-To: <20210413165724.GD1454681@rowland.harvard.edu> From: Dmitry Vyukov Date: Tue, 13 Apr 2021 19:11:11 +0200 Message-ID: Subject: Re: [syzbot] general protection fault in gadget_setup To: Alan Stern Cc: syzbot , Andrey Konovalov , Felipe Balbi , Dan Carpenter , Greg Kroah-Hartman , LKML , USB list , syzkaller-bugs , syzkaller Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 13, 2021 at 6:57 PM Alan Stern wrote: > > On Tue, Apr 13, 2021 at 06:47:47PM +0200, Dmitry Vyukov wrote: > > On Tue, Apr 13, 2021 at 6:13 PM Alan Stern wrote: > > > Hopefully this patch will make the race a lot more likely to occur. Is > > > there any way to tell syzkaller to test it, despite the fact that > > > syzkaller doesn't think it has a reproducer for this issue? > > > > If there is no reproducer the only way syzbot can test it is if it's > > in linux-next under CONFIG_DEBUG_AID_FOR_SYZBOT: > > http://bit.do/syzbot#no-custom-patches > > There _is_ a theoretical reproducer: the test that provoked syzkaller's > original bug report. But syzkaller doesn't realize that it is (or may > be) a reproducer. > > It ought to be possible to ask syzkaller to run a particular test that > it has done before, with a patch applied -- and without having to add > anything to linux-next. Yes, this is possible: http://bit.do/syzbot#syzkaller-reproducers The log of tests executed before the crash is available under the "console output" link: console output: https://syzkaller.appspot.com/x/log.txt?x=124adbf6d00000 And this log can be replayed using syz-execprog utility.