From: syzbot <syzbot+d627b1495de0e851be32@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Forwarded: [PATCH] media: usb: siano: do not resubmit urb after EPROTO status
Date: Mon, 05 Oct 2026 13:55:04 -0700 [thread overview]
Message-ID: <6ac40ea8.598348e0.18b15.0004.GAE@google.com> (raw)
In-Reply-To: <6ac332eb.598348e0.18b15.0000.GAE@google.com>
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: [PATCH] media: usb: siano: do not resubmit urb after EPROTO status
Author: jakovnovak30@gmail.com
#syz test
---
drivers/media/usb/siano/smsusb.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/media/usb/siano/smsusb.c b/drivers/media/usb/siano/smsusb.c
index 0fdc2e0950b7..a1db99a64bef 100644
--- a/drivers/media/usb/siano/smsusb.c
+++ b/drivers/media/usb/siano/smsusb.c
@@ -93,6 +93,11 @@ static void smsusb_onresponse(struct urb *urb)
urb->status, urb->actual_length);
return;
}
+ if (urb->status == -EPROTO) {
+ pr_err("error, urb status %d (-EPROTO), %d bytes\n",
+ urb->status, urb->actual_length);
+ return;
+ }
if ((urb->actual_length > 0) && (urb->status == 0)) {
struct sms_msg_hdr *phdr = (struct sms_msg_hdr *)surb->cb->p;
--
2.56.0
prev parent reply other threads:[~2026-10-05 20:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-05 5:17 [syzbot] [media?] [usb?] WARNING in smsusb_term_device (2) syzbot
2026-10-05 17:08 ` Forwarded: [PATCH] media: usb: siano: Test fix syzbot
2026-10-05 18:05 ` syzbot
2026-10-05 20:55 ` syzbot [this message]
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=6ac40ea8.598348e0.18b15.0004.GAE@google.com \
--to=syzbot+d627b1495de0e851be32@syzkaller.appspotmail.com \
--cc=linux-kernel@vger.kernel.org \
--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
all inboxes | Powered by JetHome®