Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2674686yba; Mon, 22 Apr 2019 10:56:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqxnKh0fZupXtnldUS0gMJcYvSfiFM+o7eZa7/tb6YljUYEinnP7isISiPh5MZzXse6iGqBQ X-Received: by 2002:aa7:8190:: with SMTP id g16mr21970980pfi.92.1555955767002; Mon, 22 Apr 2019 10:56:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555955766; cv=none; d=google.com; s=arc-20160816; b=ZMsUPjiDONw/IutY+vU+GdbQQDnn+N4LiY6z7WWgYshasidDc9+/0Hi0QysOkXDt/Q XZiQ/gvtXG9XUdE/6/IuCDLY9sz9Db3YfsITm+tPBwcjISJCPdbXDgTwOdxyVTHGOS8w 2RBewEi1G5gNoTWIQn+xxB8APkrwJDcdmZWrp4wICdHuOT9j+jOMcRzfx8r/4GlQ6GsI 0MFPH2QHa7fklWOyfHKw/EA9QKwJgXS2hTn8jBHl71+T9d7sxZTEDJOmKhl8redH2Gho O+qUAvHYjHldWJtoz2dn8dURRYKv69Vupuob7X4ismGsF8grBitJN6KR4AECjJq9x0D5 ic+w== 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=QAb4pqPEDsWYYRcLtfxNSxU3ykQwz6bCR/mQOMvDDD8=; b=T6u0+WQlcagHRB+y45Mbu3lFfyUvZfcMTUwAZVKc2qwiBiB8gPVVHPp0maTbCVQRiq BlGkgIM/6gddohyan62bY/y0CE34KLh3EDXb7/TIbEtO+aWAr3F7gMK0Ut/FuU/Ko/xS 4wppJoy8OHUjaluHu12OtlF7f7FtPnFlyIhsUxemLTuJessmySTO1FhExY59P4WmkA7Q 9KyCw2Gesp/zkFAiLg8u836OtuWtoxizY5mTdXAvUMA63DCiDrN/SknLbSV1o5geBUZc yOVLvsUbF6fLgjBSxzWPnXizlOHMvQr46SUO44VTAjFhuT7ys39VZE+H9G+z7VmP5Tbk 6fbw== 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 z3si13575566pfa.239.2019.04.22.10.55.44; Mon, 22 Apr 2019 10:56:06 -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 S1728309AbfDVRxT (ORCPT + 99 others); Mon, 22 Apr 2019 13:53:19 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:38298 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1727480AbfDVRxS (ORCPT ); Mon, 22 Apr 2019 13:53:18 -0400 Received: (qmail 6556 invoked by uid 2102); 22 Apr 2019 13:53:17 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 22 Apr 2019 13:53:17 -0400 Date: Mon, 22 Apr 2019 13:53:17 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: syzbot cc: andreyknvl@google.com, , Kernel development list , USB list , , Subject: Re: general protection fault in __dev_printk In-Reply-To: <00000000000029431d0586d10813@google.com> 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 Thu, 18 Apr 2019, syzbot wrote: > syzbot has found a reproducer for the following crash on: > > HEAD commit: d34f9519 usb-fuzzer: main usb gadget fuzzer driver > git tree: https://github.com/google/kasan/tree/usb-fuzzer > console output: https://syzkaller.appspot.com/x/log.txt?x=10adfe6b200000 > kernel config: https://syzkaller.appspot.com/x/.config?x=c73d1bb5aeaeae20 > dashboard link: https://syzkaller.appspot.com/bug?extid=2eb9121678bdb36e6d57 > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=145cb7e3200000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17f8bd2d200000 > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > Reported-by: syzbot+2eb9121678bdb36e6d57@syzkaller.appspotmail.com > > yurex 1-1:0.150: yurex_interrupt - unknown status received: -71 > usb 1-1: USB disconnect, device number 112 > yurex 1-1:0.150: yurex_interrupt - unknown status received: -71 > kasan: CONFIG_KASAN_INLINE enabled > kasan: GPF could be caused by NULL-ptr deref or user memory access > general protection fault: 0000 [#1] SMP KASAN PTI Andrey: This original bug report included a "USB disconnect" line, as shown above. The newer results, for runs with my patches added, do not. At least, if such a line was present, it didn't show up in the console output files -- the most recent one contains nothing but repeats of that "yurex_interrupt - unknown status received: -71" line, although for devices on multiple buses. Is there any way to get more information about what's happening, such as a complete kernel log? And perhaps to run the test with just a single dummy-hcd bus instead of 6? At this point, I suspect the original general protection fault in the yurex driver has been fixed, but something else in dummy-hcd may be causing the rcu-detected stalls. Alan Stern