mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-30 15:53:22 -05:00
media: mceusb: return without resubmitting URB in case of -EPROTO error.
[ Upstream commit 476db72e521983ecb847e4013b263072bb1110fc ] Syzkaller reported a warning called "rcu detected stall in dummy_timer". The error seems to be an error in mceusb_dev_recv(). In the case of -EPROTO error, the routine immediately resubmits the URB. Instead it should return without resubmitting URB. Reported-by: [email protected] Signed-off-by: Rajat Asthana <[email protected]> Signed-off-by: Sean Young <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
This commit is contained in:
parent
e419469adf
commit
31b7848647
1 changed files with 1 additions and 0 deletions
|
|
@ -1386,6 +1386,7 @@ static void mceusb_dev_recv(struct urb *urb)
|
|||
case -ECONNRESET:
|
||||
case -ENOENT:
|
||||
case -EILSEQ:
|
||||
case -EPROTO:
|
||||
case -ESHUTDOWN:
|
||||
usb_unlink_urb(urb);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue