Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1099278pxb; Thu, 15 Apr 2021 14:05:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2LnGn9PSFnB1ZjEYYqXnQMg9/gmgWXmwSs5+cc9Suya3ZGoWdYGJbCCBGeAJo/Sl/6RK2 X-Received: by 2002:a17:906:b7c4:: with SMTP id fy4mr5341705ejb.489.1618520758472; Thu, 15 Apr 2021 14:05:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618520758; cv=none; d=google.com; s=arc-20160816; b=V0PQi2RjXIaAu6O/TYd8P+dqzxB+Liqa21ZTS9E9Do8mHQFsCL7gOTKiXZrzbFczqe r8Srzh4gI8tb1+j4ol1ZhrlaQcGHfmpq+jwc8yN87lu1wYSNHI5d5KFvHKnYHJ2chDTd lZ4bVxOD2iejJjKLN/RBUCi+JDlEstJ3H6C42MouDKJVdbia6UzTaZ2FnPpMRJBLPJiu bfNrhmVVqYiimPwofsvR5Mz8JPbQhAop7aeohEh8qBX2Yd0fPcGqHqpYJd7BJq+ZRWFJ NGWWSqqDMm0tZZ4d2OB2cct0Qv+alxCvu8GkakaV7HpuHzIpSqFLuO370qrxF6WwfNtp 01dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=vpBE7KR8iYPRJiV3H2z+sxdR6al5fl5XmVcctX8u7jo=; b=xREiDXT3XoqcWOYKI66+qLKS4eIM59mdD40AH79HHWIkn7dEiymMjsvfmweECD/8lM aCkoeKkPfmrM0X7ZnfpJlFIvCtDgyGXHtMaUMV/721NkTEFAn22SG9T4JDlyFVOHyF9i hTWpVMNx1rtjF6YNOjXduXMI4dQULmDyK6MEcEJ9hss8VETgOeBEWgSGMI7wu6ChX1XO t26uq9o5UZFwFg9hTthbgEn9zcoWtNHPx3Am2FE31xnI1JhcDmXV0Pvoc/R+VcyrGd7n Ijc84iuGt20CHsFuKmXeZwGWGlSF6pMlPX8gAydEWKQ31jFzRZZxfzA6FDFwFL3/HTVd kGHA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m26si3398064edp.241.2021.04.15.14.05.35; Thu, 15 Apr 2021 14:05:58 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235584AbhDOVA0 (ORCPT + 99 others); Thu, 15 Apr 2021 17:00:26 -0400 Received: from netrider.rowland.org ([192.131.102.5]:51209 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S235569AbhDOVAW (ORCPT ); Thu, 15 Apr 2021 17:00:22 -0400 Received: (qmail 20064 invoked by uid 1000); 15 Apr 2021 16:59:57 -0400 Date: Thu, 15 Apr 2021 16:59:57 -0400 From: Alan Stern To: Dmitry Vyukov Cc: syzbot , Andrey Konovalov , Felipe Balbi , Dan Carpenter , Greg Kroah-Hartman , LKML , USB list , syzkaller-bugs , syzkaller Subject: Re: [syzbot] general protection fault in gadget_setup Message-ID: <20210415205957.GA19917@rowland.harvard.edu> References: <00000000000075c58405bfd6228c@google.com> <20210413161311.GC1454681@rowland.harvard.edu> <20210413165724.GD1454681@rowland.harvard.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 13, 2021 at 07:11:11PM +0200, Dmitry Vyukov wrote: > 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 That's not really what I had in mind. I don't want to spend the time and effort installing syskaller on my own system; I want to tell syzbot to run a particular syzkaller program (the one that originally led to this bug report) on a patched kernel. The syzbot instructions say that it can test bugs with reproducers. The problem here is that there doesn't seem to be any way to tell it to use a particular syzkaller program as a reproducer. Alan Stern > 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.