Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp7400864yba; Thu, 2 May 2019 09:12:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtilR/D5F8I26mACMsahTZmG3gz+cN+QoOSXfvkA94nQJLmk31l8aEuk+GnfZl3HJMLUQo X-Received: by 2002:a65:5343:: with SMTP id w3mr4607954pgr.232.1556813575622; Thu, 02 May 2019 09:12:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556813575; cv=none; d=google.com; s=arc-20160816; b=MnRraSjN+LxY0a18CXbs2Fc43cS4HvGn30d26deEL83rjjQ6qo/5th0gOz5c62uzXJ EcvEaDcu4Xlml0JQvwCRjU5H+v6QisWEB7Zd4tQ4Aqbowp6KJEvGmp35IgHw0UclyFk6 fXpasrfDmocmG2Mj9RG61mjC3X05qMyGx6cFEIHPTU/Ix05588dXvlxMJEiY/W6jyml6 WTfZ7Dv/SfyCMYrZuVS1UECA8fTwcT0nqtmJdNV6a0mWQcH6njEaVIczlez8L2K0blS3 FXhr6xr3DZebsFMxONI5852gWIp1kOJsizHw2hOfA/UhUUH6TjqosFz6htEdTVf4MA86 S7Og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=tL3Pud+YJBNQiO93dRarRa44+urFtai9+XXdaXC1EX8=; b=bOI0x2xBdV3U7UT1pn/W4pK2P4Jfjhhk0YzxCz7/CRfUWgndEGFsq3OZ/QJpP29Zav SmWsgYEcTx1l4+H+3H2pw8dNbbEWXD3gNV8j1MegrO2CHYUl/Ksyu/4k4W/+CLmbBMZF xNIRt1AlhWILSDGfG3s/j1HThuptVyv3w/CTTnOs75tb4r3lBzh5kid5rIhBDkOiB609 qYnDnNEunyw8esS+ltTrTvhbs3/6rLtP7vY6A/kUiw+R+qtRoIdToGqHNDlRC+2+P1Fe 98t622YO3P/2D3XYw8/bNS2CEAA+rhlUsRHeeScKIOve9pfHWFsYUfQvZxQlzNZ4PEwS bmEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Uvr7eYDD; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s9si44354843pgr.443.2019.05.02.09.12.39; Thu, 02 May 2019 09:12:55 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=Uvr7eYDD; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726608AbfEBQKB (ORCPT + 99 others); Thu, 2 May 2019 12:10:01 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:46716 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726569AbfEBQKB (ORCPT ); Thu, 2 May 2019 12:10:01 -0400 Received: by mail-pl1-f194.google.com with SMTP id bi2so1227839plb.13 for ; Thu, 02 May 2019 09:10:01 -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=tL3Pud+YJBNQiO93dRarRa44+urFtai9+XXdaXC1EX8=; b=Uvr7eYDD/u9aWB5XeiFkGkmMbcelulOeVmqQHiPNC2nzMhwcnYR4+lUYoOpWkPOzDk WdZFHHq+gptNhRKAm3jIP7r3Rt8dM+1ScsteT2tAHKYQLm397E4YNxFFXHB1tJ17Pr71 cQJl7nL0hUVEwvelRott1dHL/TNQY+gaIQTShEzmXgZIrNQcl4zpwNuV4CAg+K1GAyYL zQceMqLx64TWFVEi5oLoIskYJvElCbKVOTSeW6vLbtpbmyAbGVjRK4GmKFsAZ2zj0QqV VLjwgBaIqgxKv4iGzBpB9wnRFhq/2LGGx+otORB2k0+HN1RXbikKMPQMIzxT+Dx329Zy 3HnQ== 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=tL3Pud+YJBNQiO93dRarRa44+urFtai9+XXdaXC1EX8=; b=tu0sdbf63nCT3Cq4EZLFLaPl4Oppgibl0jabPkJI5oVN3ZN/Kh4oIY2gxgHdcaAsI4 NoBd2iUQJ55HUt5k7WMyFHj6Ft7MQ8DHthi/66DSWq8mkvK2+cp9VN4LmyHPlaAHZGnM Ax0De6SseCVIl/1XWKV9XeHbtweegf5NGoiL5GDBG2cJMBhDHBmcEVIqTEbXD2tTPDNs QYYEhajC3jB5cCkQTz/KJvrBhht/RPT3T3JAqZ//m3MBCKGZNmMiJD/aLmmoZcR4HHqQ hIUUifItMDr+NjXhyqQUDj8iRIJ6apHacyguCVwpYDMVBN4dZcIPf4hO1ylXPtwK9Lxn nUMg== X-Gm-Message-State: APjAAAXJWCA8ak88N3BWXtns5ImYympi8qcEVYAhCl+mCJKwzLcFeyXA NQRTPJhy6l69ob2+iv49o6RBDzMhTHihSqnBwQKYMQ== X-Received: by 2002:a17:902:7207:: with SMTP id ba7mr4392261plb.329.1556813400075; Thu, 02 May 2019 09:10:00 -0700 (PDT) MIME-Version: 1.0 References: <0000000000004101370587c052fb@google.com> <20190430154000.GB23459@kroah.com> In-Reply-To: <20190430154000.GB23459@kroah.com> From: Andrey Konovalov Date: Thu, 2 May 2019 18:09:48 +0200 Message-ID: Subject: Re: WARNING: Support for this device (Terratec Grabster AV400) is experimental. To: Greg KH Cc: Alan Stern , syzbot , LKML , USB list , syzkaller-bugs Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 30, 2019 at 5:40 PM Greg KH wrote: > > On Tue, Apr 30, 2019 at 05:14:28PM +0200, Andrey Konovalov wrote: > > On Tue, Apr 30, 2019 at 5:00 PM Alan Stern wrote: > > > > > > On Tue, 30 Apr 2019, syzbot wrote: > > > > > > > Hello, > > > > > > > > syzbot found the following crash on: > > > > > > > > HEAD commit: 9a33b369 usb-fuzzer: main usb gadget fuzzer driver > > > > git tree: https://github.com/google/kasan.git usb-fuzzer > > > > console output: https://syzkaller.appspot.com/x/log.txt?x=141ca62d200000 > > > > kernel config: https://syzkaller.appspot.com/x/.config?x=23e37f59d94ddd15 > > > > dashboard link: https://syzkaller.appspot.com/bug?extid=af8f8d2ac0d39b0ed3a0 > > > > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > > > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1405bedd200000 > > > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13ce3bbb200000 > > > > > > > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > > > > Reported-by: syzbot+af8f8d2ac0d39b0ed3a0@syzkaller.appspotmail.com > > > > > > > > usb 1-1: New USB device found, idVendor=0ccd, idProduct=0039, bcdDevice= > > > > d.3c > > > > usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 > > > > usb 1-1: config 0 descriptor?? > > > > pvrusb2: Hardware description: Terratec Grabster AV400 > > > > pvrusb2: ********** > > > > pvrusb2: WARNING: Support for this device (Terratec Grabster AV400) is > > > > experimental. > > > > pvrusb2: Important functionality might not be entirely working. > > > > pvrusb2: Please consider contacting the driver author to help with further > > > > stabilization of the driver. > > > > pvrusb2: ********** > > > > > > > > > > > > --- > > > > This bug is generated by a bot. It may contain errors. > > > > See https://goo.gl/tpsmEJ for more information about syzbot. > > > > syzbot engineers can be reached at syzkaller@googlegroups.com. > > > > > > This does seem like a bug in syzbot. Why does it think this pr_info() > > > output indicates a crash? Is it fooled by the capitalized "WARNING" at > > > the start of one of the lines? > > > > Well, as of [1] WARN*() should only be used to indicate a kernel bug. > > Normally, WARN*() prints a line that start with a warning, which is > > followed by a stack trace. Unfortunately the stack trace is not always > > present (kernel memory is badly corrupted, console deadlocked, etc.), > > so syzbot detects the "WARNING:" line as a beginning of a WARN*() > > reported bug. In this case the driver does something like > > `pr_info("WARNING: ...", ...)`, which confuses syzbot. I'd say it's > > the kernel that needs to be changed here to use some other kind of > > prefix for printing warning messages. > > > > [1] https://github.com/torvalds/linux/commit/96c6a32ccb55a366054fd82cc63523bb7f7493d3 > > Ok, we can change these to "Warning" then. Want to send a patch? Done. > > thanks, > > greg k-h