Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5947892ybe; Tue, 17 Sep 2019 16:40:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUn2/IZD0Gd0dizk2BasfEXScS2oty8LcOGd1h/QfuLl1l4R45o3BArQ3W4GWPaaL3jpkA X-Received: by 2002:a05:6402:2cb:: with SMTP id b11mr7437755edx.285.1568763634033; Tue, 17 Sep 2019 16:40:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568763634; cv=none; d=google.com; s=arc-20160816; b=WR3H69kMLS6dtzld0K+NoiMs+aRLuxPqWh97EuBDH7crG3jIwPsxREnGcfRtAEz5HY /X5/O8NKD1vti4tvh/WvQycKI97RR4RITfUsbtxWrlajD95EnLbK1QMF6W7rfAvF2jrn QrOzLpH+SZfG+eYpnHnt48rd0ZBUCRMuAF72bDTofRqk+QkH+5L2DRKa8v80gLsvnXcM pqOnsBi43VcvocqV04qfKxzNPVBVQNKzx6fDE0QqDx8yE+zqHONdwPYona+xkuh/Rkw9 DAmHA7iiGFL5uSFS60D7FoDFAGpPe23van/0a/Nxic2NRDoVYzqjWHg55qtJzRXXsbQI VTlw== 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=BAiuKC4PDAXejCrYg4WG22oZioXHKltbVeSQmUhPk9A=; b=D/7PGrYU8UG45XEOy2MZFKio045XqfA3mej2rP2HKVnghrKjzC2W/3vfjkcbXIapFz KCqm2PYn3vDNsSYHq7S6B8bCRTPS/ZbfudRXUnjdTp8W5fEEHiwh6TO0ugKVZ8jOishx b8bw6a528DURZ/sgOiYoA9CjdktcegxDs5zuQf7X/JwQaPn3uZcNOhJPVRrMMu4vZMZU aF57A56bj4eg/qDWhcRcWhyGJ1ebccC/6O9hEmQiLUdRdWCX0PV1cH9Qzp1JI33D4Sl7 bCWof0j6JQkfmFeZj+O42yM4IYrobo2qVnK6shQuHQubpJXqKRO7ZsiNy/hgJv868zBD Mp5w== 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 y26si2163012edu.176.2019.09.17.16.40.10; Tue, 17 Sep 2019 16:40:34 -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 S1728683AbfIQOvt (ORCPT + 99 others); Tue, 17 Sep 2019 10:51:49 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:38494 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1727708AbfIQOvs (ORCPT ); Tue, 17 Sep 2019 10:51:48 -0400 Received: (qmail 3667 invoked by uid 2102); 17 Sep 2019 10:51:47 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 17 Sep 2019 10:51:47 -0400 Date: Tue, 17 Sep 2019 10:51:47 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Dmitry Vyukov cc: 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, 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? Alan Stern