* [syzbot] [media?] [usb?] WARNING in smsusb_term_device (2)
@ 2026-10-05 5:17 syzbot
2026-10-05 17:08 ` Forwarded: [PATCH] media: usb: siano: Test fix syzbot
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: syzbot @ 2026-10-05 5:17 UTC (permalink / raw)
To: linux-kernel, linux-media, linux-usb, mchehab, syzkaller-bugs
Hello,
syzbot found the following issue on:
HEAD commit: 6addb4f38557 Merge tag 'edac_urgent_for_v7.3_rc6' of git:/..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=154b0f25580000
kernel config: https://syzkaller.appspot.com/x/.config?x=341a98f91c13ec9
dashboard link: https://syzkaller.appspot.com/bug?extid=d627b1495de0e851be32
compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=134b0f25580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10cb27f5580000
Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/70aa10806ffb/disk-6addb4f3.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/053f6eeab8df/vmlinux-6addb4f3.xz
kernel image: https://storage.googleapis.com/syzbot-assets/9427f05ec282/bzImage-6addb4f3.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+d627b1495de0e851be32@syzkaller.appspotmail.com
smsusb:smsusb_init_device: smscore_start_device(...) failed
------------[ cut here ]------------
data & WORK_STRUCT_PWQ
WARNING: kernel/workqueue.c:4425 at __flush_work+0xc8f/0xd70 kernel/workqueue.c:4425, CPU#1: kworker/1:4/5659
Modules linked in:
CPU: 1 UID: 0 PID: 5659 Comm: kworker/1:4 Not tainted syzkaller #0 PREEMPT_{RT,(full)}
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
Workqueue: usb_hub_wq hub_event
RIP: 0010:__flush_work+0xc8f/0xd70 kernel/workqueue.c:4425
Code: 38 00 90 0f 0b 90 31 c0 49 bd f8 f8 f8 f8 f8 f8 f8 f8 e9 2d ff ff ff e8 7f 24 38 00 4d 89 f4 e9 ee fa ff ff e8 72 24 38 00 90 <0f> 0b 90 e9 23 fd ff ff e8 a4 60 ca 09 e8 5f 24 38 00 48 c7 c7 80
RSP: 0018:ffffc900051ce960 EFLAGS: 00010293
RAX: ffffffff818eb3be RBX: ffff88813fe4a005 RCX: ffff88803a410000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900051ceb18 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffffbfff1f64590 R12: dffffc0000000000
R13: f8f8f8f8f8f8f8f8 R14: 1ffff92000a39d34 R15: ffffc900051cea08
FS: 0000000000000000(0000) GS:ffff888125cc2000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0e9993643c CR3: 0000000045a10000 CR4: 00000000003526f0
Call Trace:
<TASK>
__cancel_work_sync+0xbf/0x110 kernel/workqueue.c:4568
smsusb_stop_streaming drivers/media/usb/siano/smsusb.c:183 [inline]
smsusb_term_device+0xdd/0x3d0 drivers/media/usb/siano/smsusb.c:345
smsusb_init_device drivers/media/usb/siano/smsusb.c:497 [inline]
smsusb_probe+0x1aba/0x2280 drivers/media/usb/siano/smsusb.c:575
usb_probe_interface+0x788/0xe50 drivers/usb/core/driver.c:399
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x254/0xae0 drivers/base/dd.c:706
__driver_probe_device+0x1e8/0x360 drivers/base/dd.c:868
driver_probe_device+0x4f/0x240 drivers/base/dd.c:898
__device_attach_driver+0x270/0x410 drivers/base/dd.c:1026
bus_for_each_drv+0x25b/0x2f0 drivers/base/bus.c:500
__device_attach+0x2c7/0x450 drivers/base/dd.c:1098
device_initial_probe+0xa1/0xd0 drivers/base/dd.c:1153
bus_probe_device+0x12d/0x220 drivers/base/bus.c:620
device_add+0x7d7/0xb80 drivers/base/core.c:3776
usb_set_configuration+0x1bb5/0x2260 drivers/usb/core/message.c:2274
usb_generic_driver_probe+0x8d/0x150 drivers/usb/core/generic.c:250
usb_probe_device+0x1c3/0x3b0 drivers/usb/core/driver.c:293
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x254/0xae0 drivers/base/dd.c:706
__driver_probe_device+0x1e8/0x360 drivers/base/dd.c:868
driver_probe_device+0x4f/0x240 drivers/base/dd.c:898
__device_attach_driver+0x270/0x410 drivers/base/dd.c:1026
bus_for_each_drv+0x25b/0x2f0 drivers/base/bus.c:500
__device_attach+0x2c7/0x450 drivers/base/dd.c:1098
device_initial_probe+0xa1/0xd0 drivers/base/dd.c:1153
bus_probe_device+0x12d/0x220 drivers/base/bus.c:620
device_add+0x7d7/0xb80 drivers/base/core.c:3776
usb_new_device+0x99a/0x1680 drivers/usb/core/hub.c:2713
hub_port_connect drivers/usb/core/hub.c:5585 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5725 [inline]
port_event drivers/usb/core/hub.c:5889 [inline]
hub_event+0x28cf/0x4cf0 drivers/usb/core/hub.c:5971
process_one_work kernel/workqueue.c:3396 [inline]
process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479
worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560
kthread+0x38b/0x470 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
</TASK>
---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup
^ permalink raw reply [flat|nested] 4+ messages in thread
* Forwarded: [PATCH] media: usb: siano: Test fix
2026-10-05 5:17 [syzbot] [media?] [usb?] WARNING in smsusb_term_device (2) syzbot
@ 2026-10-05 17:08 ` syzbot
2026-10-05 18:05 ` syzbot
2026-10-05 20:55 ` Forwarded: [PATCH] media: usb: siano: do not resubmit urb after EPROTO status syzbot
2 siblings, 0 replies; 4+ messages in thread
From: syzbot @ 2026-10-05 17:08 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: [PATCH] media: usb: siano: Test fix
Author: jakovnovak30@gmail.com
#syz test
---
drivers/media/usb/siano/smsusb.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/media/usb/siano/smsusb.c b/drivers/media/usb/siano/smsusb.c
index 0fdc2e0950b7..ef400d01af31 100644
--- a/drivers/media/usb/siano/smsusb.c
+++ b/drivers/media/usb/siano/smsusb.c
@@ -348,8 +348,10 @@ static void smsusb_term_device(struct usb_interface *intf)
if (dev->coredev)
smscore_unregister_device(dev->coredev);
- for (i = 0; i < MAX_URBS; i++)
- usb_free_urb(dev->surbs[i].urb);
+ for (i = 0; i < MAX_URBS; i++) {
+ // if (dev->surbs[i].urb)
+ // usb_free_urb(dev->surbs[i].urb);
+ }
pr_debug("device 0x%p destroyed\n", dev);
kfree(dev);
--
2.56.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* Forwarded: [PATCH] media: usb: siano: Test fix
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 ` Forwarded: [PATCH] media: usb: siano: do not resubmit urb after EPROTO status syzbot
2 siblings, 0 replies; 4+ messages in thread
From: syzbot @ 2026-10-05 18:05 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: [PATCH] media: usb: siano: Test fix
Author: jakovnovak30@gmail.com
#syz test
---
drivers/media/usb/siano/smsusb.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/media/usb/siano/smsusb.c b/drivers/media/usb/siano/smsusb.c
index 0fdc2e0950b7..ef400d01af31 100644
--- a/drivers/media/usb/siano/smsusb.c
+++ b/drivers/media/usb/siano/smsusb.c
@@ -348,8 +348,10 @@ static void smsusb_term_device(struct usb_interface *intf)
if (dev->coredev)
smscore_unregister_device(dev->coredev);
- for (i = 0; i < MAX_URBS; i++)
- usb_free_urb(dev->surbs[i].urb);
+ for (i = 0; i < MAX_URBS; i++) {
+ // if (dev->surbs[i].urb)
+ // usb_free_urb(dev->surbs[i].urb);
+ }
pr_debug("device 0x%p destroyed\n", dev);
kfree(dev);
--
2.56.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* Forwarded: [PATCH] media: usb: siano: do not resubmit urb after EPROTO status
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
2 siblings, 0 replies; 4+ messages in thread
From: syzbot @ 2026-10-05 20:55 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-10-05 20:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` Forwarded: [PATCH] media: usb: siano: do not resubmit urb after EPROTO status syzbot
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®