mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Stern <stern@rowland.harvard.edu>
To: syzbot <syzbot+4d3749e9612c2cfab956@syzkaller.appspotmail.com>
Cc: andreyknvl@google.com, fweisbec@gmail.com,
	Jarod Wilson <jarod@redhat.com>,
	linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-usb@vger.kernel.org, mingo@kernel.org,
	syzkaller-bugs@googlegroups.com, tglx@linutronix.de
Subject: Re: INFO: rcu detected stall in dummy_timer (3)
Date: Tue, 14 Jul 2020 15:47:53 -0400	[thread overview]
Message-ID: <20200714194753.GA1033470@rowland.harvard.edu> (raw)
In-Reply-To: <000000000000e7493205aa694785@google.com>

On Tue, Jul 14, 2020 at 09:27:18AM -0700, syzbot wrote:
> Hello,
> 
> syzbot found the following crash on:
> 
> HEAD commit:    25051b55 udc: lpc32xx: make symbol 'lpc32xx_usbddata' static
> git tree:       https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
> console output: https://syzkaller.appspot.com/x/log.txt?x=12e0ba00900000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=999be4eb2478ffa5
> dashboard link: https://syzkaller.appspot.com/bug?extid=4d3749e9612c2cfab956
> compiler:       gcc (GCC) 10.1.0-syz 20200507
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=127354e7100000
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=10ba8500900000
> 
> IMPORTANT: if you fix the bug, please add the following tag to the commit:
> Reported-by: syzbot+4d3749e9612c2cfab956@syzkaller.appspotmail.com
> 
> mceusb 5-1:0.0: Error: urb status = -71
> mceusb 3-1:0.0: Error: urb status = -71
> mceusb 4-1:0.0: Error: urb status = -71
> mceusb 6-1:0.0: Error: urb status = -71
> mceusb 5-1:0.0: Error: urb status = -71
> rcu: INFO: rcu_sched self-detected stall on CPU

This looks like an error in mceusb_dev_recv() in 
drivers/media/rc/mceusb.c.  In the case of a -EPROTO error (indeed, any 
error code it doesn't recognize), the routine immediately resubmits the 
URB.  Instead it should do the same thing as in the other error cases: 
return without resubmitting.

(Incidentally, the calls to usb_unlink_urb() in that routine are useless 
and look very strange.  The URB is already unlinked, since 
mceusb_dev_recv() is the completion handler.)

Alan Stern

  reply	other threads:[~2020-07-14 19:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-14 16:27 syzbot
2020-07-14 19:47 ` Alan Stern [this message]
     [not found] <c23ff4f3-16a1-46ff-946e-b5dbda209f57@rowland.harvard.edu>
2026-04-23 16:05 ` syzbot
2026-04-23 16:11   ` Alan Stern

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=20200714194753.GA1033470@rowland.harvard.edu \
    --to=stern@rowland.harvard.edu \
    --cc=andreyknvl@google.com \
    --cc=fweisbec@gmail.com \
    --cc=jarod@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=syzbot+4d3749e9612c2cfab956@syzkaller.appspotmail.com \
    --cc=syzkaller-bugs@googlegroups.com \
    --cc=tglx@linutronix.de \
    /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

all inboxes | Powered by JetHome®