From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+1e6e0b916b211bee1bd6@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [block?] [usb?] INFO: rcu detected stall in aoecmd_cfg (2)
Date: Thu, 9 May 2024 07:40:53 +0800 [thread overview]
Message-ID: <20240508234053.2319-1-hdanton@sina.com> (raw)
In-Reply-To: <0000000000008de5720617f64aae@google.com>
On Wed, 08 May 2024 12:27:20 -0700
> syzbot found the following issue on:
>
> HEAD commit: 9221b2819b8a Add linux-next specific files for 20240503
> git tree: linux-next
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=161a5d1f180000
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 9221b2819b8a
--- l/drivers/input/misc/yealink.c
+++ y/drivers/input/misc/yealink.c
@@ -436,7 +436,7 @@ static void urb_irq_callback(struct urb
yealink_do_idle_tasks(yld);
- if (!yld->shutdown) {
+ if (!yld->shutdown && status != -EPROTO) {
ret = usb_submit_urb(yld->urb_ctl, GFP_ATOMIC);
if (ret && ret != -EPERM)
dev_err(&yld->intf->dev,
@@ -458,13 +458,13 @@ static void urb_ctl_callback(struct urb
case CMD_KEYPRESS:
case CMD_SCANCODE:
/* ask for a response */
- if (!yld->shutdown)
+ if (!yld->shutdown && status != -EPROTO)
ret = usb_submit_urb(yld->urb_irq, GFP_ATOMIC);
break;
default:
/* send new command */
yealink_do_idle_tasks(yld);
- if (!yld->shutdown)
+ if (!yld->shutdown && status != -EPROTO)
ret = usb_submit_urb(yld->urb_ctl, GFP_ATOMIC);
break;
}
--
next prev parent reply other threads:[~2024-05-08 23:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-08 19:27 [syzbot] [block?] [usb?] INFO: rcu detected stall in aoecmd_cfg (2) syzbot
2024-05-08 19:33 ` Laurence Oberman
2024-05-08 23:40 ` Hillf Danton [this message]
2024-05-09 0:24 ` syzbot
2024-05-12 11:05 ` 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=20240508234053.2319-1-hdanton@sina.com \
--to=hdanton@sina.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+1e6e0b916b211bee1bd6@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