Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5650719ybe; Tue, 17 Sep 2019 11:17:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqz8OzVtPttIDMHMAN59nClE9iJhbumAr8/wyobiejn7PD0nm544uNoCYLbNQx+TQRFGsAyt X-Received: by 2002:aa7:c586:: with SMTP id g6mr6222088edq.38.1568744238031; Tue, 17 Sep 2019 11:17:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568744238; cv=none; d=google.com; s=arc-20160816; b=M5yLafpUZshWObRXKZGcaBWwzmuCsggJTgXrJ0Lwuush9YLrSKQ1QBFV0WHWmUODKE C+rqatUAcHUlI5ujz30qvoaAhr8+x9cHPyhn0Eagt2XuIKmtn14/SVqayQ/10fwAHKwz JHaFgmmLLt9SKBDEsm6tUzCXylaAMDdEO8a1ZM15TFa0ijCkLcTc4aHrO+imk7xqK2XR WdJqTQqj8vjx+bPqLI6KjFYgmceVHWASp0SAaRNdFATnV7ANHw9BMi30jHVW7r5W0O2U sluLIcbGQ3PBv7hjNMJ6wbLsE5x3LS0ZT/ipw+J0BmI1feoke6t3MtRw8lhMo9HYR3qg 77Bw== 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=3uwztffPojK0+V+rOADDwKVZ594dU4+MYW+Gui1Y6TA=; b=QRr1CLdnT9GCfY2N1OLvI2AONJIkNLKuyz5EEJp7RPRh2ZjffkZmPYMLmz8E4FEjoo u+Th/RhAuQ9NkZSKvXFHd8fc9SAnss+xv3tbvOQoA2OZFznnORsGCTirtij6nTxfelj6 IhLkajg7l72HF/Gjxl39QwSExozn73rjU9OkR8MRIuuC8lKz1zocaSzNuJG5uIIbz63R ymDDw+jFofDFGkYjNE2ZT99l5IkKwKbuXif1J8Ys7SPLpuAxofthC+1jSLunc3Ye+IT7 4NTxwdoLFxgjkQn0lUZP9GYxrFhA/yxIkMZr/xO/B6EhrzMZVl++HaEi4/Ec9BMyKr2Z xEPg== 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 i20si1884737edy.426.2019.09.17.11.16.54; Tue, 17 Sep 2019 11:17:18 -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 S1729594AbfIQP27 (ORCPT + 99 others); Tue, 17 Sep 2019 11:28:59 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:38720 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1726305AbfIQP26 (ORCPT ); Tue, 17 Sep 2019 11:28:58 -0400 Received: (qmail 4307 invoked by uid 2102); 17 Sep 2019 11:28:57 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 17 Sep 2019 11:28:57 -0400 Date: Tue, 17 Sep 2019 11:28:57 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Andrey Konovalov cc: Dmitry Vyukov , syzbot , Alexander Potapenko , Greg Kroah-Hartman , kai heng feng , Kernel development list , USB list , syzkaller-bugs , Subject: Re: KMSAN: uninit-value in usb_autopm_put_interface In-Reply-To: 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 Tue, 17 Sep 2019, Andrey Konovalov wrote: > On Tue, Sep 17, 2019 at 4:51 PM Alan Stern wrote: > > > > On Tue, 17 Sep 2019, Dmitry Vyukov wrote: > > > > > On Mon, Sep 16, 2019 at 10:31 PM Alan Stern wrote: > > > > > > > > On Mon, 16 Sep 2019, syzbot wrote: > > > > > > > > > Hello, > > > > > > > > > > syzbot found the following crash on: > > > > > > > > > > HEAD commit: 014077b5 DO-NOT-SUBMIT: usb-fuzzer: main usb gadget fuzzer.. > > > > > git tree: https://github.com/google/kmsan.git master > > > > > console output: https://syzkaller.appspot.com/x/log.txt?x=16a7dde1600000 > > > > > kernel config: https://syzkaller.appspot.com/x/.config?x=f03c659d0830ab8d > > > > > dashboard link: https://syzkaller.appspot.com/bug?extid=e1d1a6e595adbd2458f1 > > > > > compiler: clang version 9.0.0 (/home/glider/llvm/clang > > > > > 80fee25776c2fb61e74c1ecb1a523375c2500b69) > > > > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=176303e1600000 > > > > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10e8f23e600000 > > > > > > This is probably the same problem that was fixed in the Logitech driver > > > > earlier. The fix still appears to be in linux-next (commit > > > > 5f9242775bb6). > > > > > > > > Shouldn't syzbot wait until after the merge window before running tests > > > > like this? > > > > > > > > > Merge window is a weak notion and may be not enough either (all trees > > > do not necessary update at that point and syzbot does not necessary > > > rebuild all of them successfully). syzbot uses another criteria: if > > > you say a bug is fixed by commit X, it will wait until commit X > > > reaches all of tested trees and will report the same crash signature > > > again only after that. This procedure was specifically designed to not > > > produce duplicate reports about the same bug. > > > So either the bug wasn't really fixed, or this is another bug, or > > > syzbot was given a wrong commit. > > > > Hmmm. Which are the "tested trees"? > > > > This bug (e1d1a6e595adbd2458f1) is marked as a duplicate of > > 3cbe5cd105d2ad56a1df. The dashboard link says that bug was fixed by > > commit "HID: logitech: Fix general protection fault caused by Logitech > > driver" -- which is correct, as far as I know. > > > > That commit is present in linux-next, as mentioned above. As of 10:44 > > EDT today, it is not present in Linus's tree, according to > > > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/hid/hid-lg.c > > > > (in fact, no commits affecting drivers/hid/hid-lg.c in that tree are > > dated after 2019-07-10). > > > > Furthermore, according to > > > > https://github.com/google/kmsan/blob/master/drivers/hid/hid-lg.c?h=014077b5 > > > > the source code actually used by syzbot for this test doesn't have that > > commit either. (BTW, is there any way to get a git log out of github? > > It would be nice not to have to download the whole source file -- and > > I'm not certain that this URL really does point to the version of the > > file that syzbot used.) > > > > So what's really going on? > > Please see my response. This report is a different manifestation of > the same Logitech bug. Hmmm. Does syzbot have any conception of which drivers are exercised by a particular test script? If it doesn't, there's no way to avoid getting these duplicate reports. Still, it is a little annoying for the developers. Alan Stern