linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Andrey Konovalov <andreyknvl@google.com>
Cc: Alan Stern <stern@rowland.harvard.edu>,
	syzbot <syzbot+af8f8d2ac0d39b0ed3a0@syzkaller.appspotmail.com>,
	LKML <linux-kernel@vger.kernel.org>,
	USB list <linux-usb@vger.kernel.org>,
	syzkaller-bugs <syzkaller-bugs@googlegroups.com>
Subject: Re: WARNING: Support for this device (Terratec Grabster AV400) is experimental.
Date: Tue, 30 Apr 2019 17:40:00 +0200	[thread overview]
Message-ID: <20190430154000.GB23459@kroah.com> (raw)
In-Reply-To: <CAAeHK+zYQ0QF_vo+iYns2d0O7RZ=Uq0kxi1mWc1W_0bBxMGR0A@mail.gmail.com>

On Tue, Apr 30, 2019 at 05:14:28PM +0200, Andrey Konovalov wrote:
> On Tue, Apr 30, 2019 at 5:00 PM Alan Stern <stern@rowland.harvard.edu> 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?

thanks,

greg k-h

  reply	other threads:[~2019-04-30 15:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-30 14:36 WARNING: Support for this device (Terratec Grabster AV400) is experimental syzbot
2019-04-30 15:00 ` Alan Stern
2019-04-30 15:14   ` Andrey Konovalov
2019-04-30 15:40     ` Greg KH [this message]
2019-05-02 16:09       ` Andrey Konovalov
2019-04-30 17:25 ` Andrey Konovalov
2019-04-30 17:25   ` Andrey Konovalov
2019-04-30 18:00   ` syzbot
2019-04-30 18:00     ` syzbot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190430154000.GB23459@kroah.com \
    --to=greg@kroah.com \
    --cc=andreyknvl@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    --cc=syzbot+af8f8d2ac0d39b0ed3a0@syzkaller.appspotmail.com \
    --cc=syzkaller-bugs@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).