Messages in this thread Patch in this message | | | From | Hillf Danton <> | Subject | Re: [syzbot] [block?] [usb?] INFO: rcu detected stall in aoecmd_cfg (2) | Date | Thu, 9 May 2024 07:40:53 +0800 |
| |
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; } --
| |