* [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; 7+ 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] 7+ 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; 7+ 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] 7+ 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; 7+ 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] 7+ 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; 7+ 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] 7+ messages in thread
[parent not found: <20261005170717.9242-2-jakovnovak30@gmail.com>]
* Re: [syzbot] [media?] [usb?] WARNING in smsusb_term_device (2)
[not found] <20261005170717.9242-2-jakovnovak30@gmail.com>
@ 2026-10-05 20:24 ` syzbot
0 siblings, 0 replies; 7+ messages in thread
From: syzbot @ 2026-10-05 20:24 UTC (permalink / raw)
To: jakovnovak30, linux-kernel, syzkaller-bugs
Hello,
syzbot has tested the proposed patch but the reproducer is still triggering an issue:
WARNING in enable_work
------------[ cut here ]------------
workqueue: work disable count underflowed
WARNING: kernel/workqueue.c:4530 at work_offqd_enable kernel/workqueue.c:4530 [inline], CPU#1: kworker/1:0/31
WARNING: kernel/workqueue.c:4530 at enable_work+0x1c7/0x230 kernel/workqueue.c:4701, CPU#1: kworker/1:0/31
Modules linked in:
CPU: 1 UID: 0 PID: 31 Comm: kworker/1:0 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:work_offqd_enable kernel/workqueue.c:4530 [inline]
RIP: 0010:enable_work+0x1c7/0x230 kernel/workqueue.c:4701
Code: cf 19 38 00 4d 85 f6 75 48 e8 c5 19 38 00 eb 47 e8 be 19 38 00 90 0f 0b 90 e9 bc fe ff ff e8 b0 19 38 00 48 8d 3d 99 1c 26 0e <67> 48 0f b9 3a e9 d2 fe ff ff e8 9a 19 38 00 90 0f 0b 90 e9 1d ff
RSP: 0018:ffffc90000a5eae0 EFLAGS: 00010093
RAX: ffffffff818ebc00 RBX: 0000000000000000 RCX: ffff88801d2c0000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8fb4d8a0
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed10170e7719 R12: 1ffff11006c07c5b
R13: 0000000001800001 R14: ffff88803603e2d8 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff888125cc2000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055cbac78e1a8 CR3: 000000003f5e0000 CR4: 00000000003526f0
Call Trace:
<TASK>
__cancel_work_sync+0xf8/0x110 kernel/workqueue.c:4571
smsusb_stop_streaming drivers/media/usb/siano/smsusb.c:183 [inline]
smsusb_term_device+0xdd/0x260 drivers/media/usb/siano/smsusb.c:345
smsusb_init_device drivers/media/usb/siano/smsusb.c:499 [inline]
smsusb_probe+0x1aba/0x2280 drivers/media/usb/siano/smsusb.c:577
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>
----------------
Code disassembly (best guess):
0: cf iret
1: 19 38 sbb %edi,(%rax)
3: 00 4d 85 add %cl,-0x7b(%rbp)
6: f6 75 48 divb 0x48(%rbp)
9: e8 c5 19 38 00 call 0x3819d3
e: eb 47 jmp 0x57
10: e8 be 19 38 00 call 0x3819d3
15: 90 nop
16: 0f 0b ud2
18: 90 nop
19: e9 bc fe ff ff jmp 0xfffffeda
1e: e8 b0 19 38 00 call 0x3819d3
23: 48 8d 3d 99 1c 26 0e lea 0xe261c99(%rip),%rdi # 0xe261cc3
* 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction
2f: e9 d2 fe ff ff jmp 0xffffff06
34: e8 9a 19 38 00 call 0x3819d3
39: 90 nop
3a: 0f 0b ud2
3c: 90 nop
3d: e9 .byte 0xe9
3e: 1d .byte 0x1d
3f: ff .byte 0xff
Tested on:
commit: 67f0943b Merge tag 'selinux-pr-20261005' of git://git...
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=14fc4ff5580000
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
patch: https://syzkaller.appspot.com/x/patch.diff?x=147f2ff5580000
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <20261005180430.24652-2-jakovnovak30@gmail.com>]
* Re: [syzbot] [media?] [usb?] WARNING in smsusb_term_device (2)
[not found] <20261005180430.24652-2-jakovnovak30@gmail.com>
@ 2026-10-05 20:50 ` syzbot
0 siblings, 0 replies; 7+ messages in thread
From: syzbot @ 2026-10-05 20:50 UTC (permalink / raw)
To: jakovnovak30, linux-kernel, syzkaller-bugs
Hello,
syzbot has tested the proposed patch but the reproducer is still triggering an issue:
WARNING in enable_work
------------[ cut here ]------------
workqueue: work disable count underflowed
WARNING: kernel/workqueue.c:4530 at work_offqd_enable kernel/workqueue.c:4530 [inline], CPU#1: kworker/1:2/5325
WARNING: kernel/workqueue.c:4530 at enable_work+0x1c7/0x230 kernel/workqueue.c:4701, CPU#1: kworker/1:2/5325
Modules linked in:
CPU: 1 UID: 0 PID: 5325 Comm: kworker/1:2 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:work_offqd_enable kernel/workqueue.c:4530 [inline]
RIP: 0010:enable_work+0x1c7/0x230 kernel/workqueue.c:4701
Code: cf 19 38 00 4d 85 f6 75 48 e8 c5 19 38 00 eb 47 e8 be 19 38 00 90 0f 0b 90 e9 bc fe ff ff e8 b0 19 38 00 48 8d 3d 99 1c 26 0e <67> 48 0f b9 3a e9 d2 fe ff ff e8 9a 19 38 00 90 0f 0b 90 e9 1d ff
RSP: 0018:ffffc900048aeae0 EFLAGS: 00010093
RAX: ffffffff818ebc00 RBX: 0000000000000000 RCX: ffff888020bc0000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8fb4d8a0
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed10170e7719 R12: 1ffff110053a8807
R13: 0000000001800001 R14: ffff888029d44038 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff888125cc2000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd1bfdeb840 CR3: 0000000038686000 CR4: 00000000003526f0
Call Trace:
<TASK>
__cancel_work_sync+0xf8/0x110 kernel/workqueue.c:4571
smsusb_stop_streaming drivers/media/usb/siano/smsusb.c:183 [inline]
smsusb_term_device+0xdd/0x260 drivers/media/usb/siano/smsusb.c:345
smsusb_init_device drivers/media/usb/siano/smsusb.c:499 [inline]
smsusb_probe+0x1aba/0x2280 drivers/media/usb/siano/smsusb.c:577
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>
----------------
Code disassembly (best guess):
0: cf iret
1: 19 38 sbb %edi,(%rax)
3: 00 4d 85 add %cl,-0x7b(%rbp)
6: f6 75 48 divb 0x48(%rbp)
9: e8 c5 19 38 00 call 0x3819d3
e: eb 47 jmp 0x57
10: e8 be 19 38 00 call 0x3819d3
15: 90 nop
16: 0f 0b ud2
18: 90 nop
19: e9 bc fe ff ff jmp 0xfffffeda
1e: e8 b0 19 38 00 call 0x3819d3
23: 48 8d 3d 99 1c 26 0e lea 0xe261c99(%rip),%rdi # 0xe261cc3
* 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction
2f: e9 d2 fe ff ff jmp 0xffffff06
34: e8 9a 19 38 00 call 0x3819d3
39: 90 nop
3a: 0f 0b ud2
3c: 90 nop
3d: e9 .byte 0xe9
3e: 1d .byte 0x1d
3f: ff .byte 0xff
Tested on:
commit: 67f0943b Merge tag 'selinux-pr-20261005' of git://git...
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=14f27ec9580000
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
patch: https://syzkaller.appspot.com/x/patch.diff?x=1237bec9580000
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <20261005205339.6324-2-jakovnovak30@gmail.com>]
* Re: [syzbot] [media?] [usb?] WARNING in smsusb_term_device (2)
[not found] <20261005205339.6324-2-jakovnovak30@gmail.com>
@ 2026-10-05 21:43 ` syzbot
0 siblings, 0 replies; 7+ messages in thread
From: syzbot @ 2026-10-05 21:43 UTC (permalink / raw)
To: jakovnovak30, linux-kernel, syzkaller-bugs
Hello,
syzbot has tested the proposed patch but the reproducer is still triggering an issue:
WARNING in usb_free_urb
smsmdtv:smscore_set_device_mode: return error code -71.
smsmdtv:smscore_start_device: set device mode failed , rc -71
smsusb:smsusb_init_device: smscore_start_device(...) failed
------------[ cut here ]------------
!PageLargeKmalloc(page)
WARNING: mm/slub.c:6734 at free_large_kmalloc+0x97/0x110 mm/slub.c:6734, CPU#0: kworker/0:0/9
Modules linked in:
CPU: 0 UID: 0 PID: 9 Comm: kworker/0:0 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:free_large_kmalloc+0x97/0x110 mm/slub.c:6734
Code: 8b 43 30 83 f8 ff 74 13 25 00 00 00 ff 3d 00 00 00 f8 75 7a c7 43 30 ff ff ff ff 48 89 df 89 ee 5b 41 5e 5d e9 6a 99 fc ff 90 <0f> 0b 90 48 89 df 48 c7 c6 b8 92 88 8d 5b 41 5e 5d e9 53 3b 00 ff
RSP: 0018:ffffc900000e6b08 EFLAGS: 00010206
RAX: 00000000ff000000 RBX: ffffea00010ffc40 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffff888043ff1000 RDI: ffffea00010ffc40
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed1004f31c01 R12: 1ffff11007697a82
R13: ffff8880202cfe80 R14: ffff88802798e060 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff888125bc2000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb34c81ae9c CR3: 0000000038af2000 CR4: 00000000003526f0
Call Trace:
<TASK>
urb_destroy drivers/usb/core/urb.c:25 [inline]
kref_put include/linux/kref.h:65 [inline]
usb_free_urb+0xd0/0x120 drivers/usb/core/urb.c:96
smsusb_term_device+0x1d0/0x3d0 drivers/media/usb/siano/smsusb.c:357
smsusb_init_device drivers/media/usb/siano/smsusb.c:502 [inline]
smsusb_probe+0x1aba/0x2280 drivers/media/usb/siano/smsusb.c:580
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>
Tested on:
commit: 67f0943b Merge tag 'selinux-pr-20261005' of git://git...
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=10092f25580000
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
patch: https://syzkaller.appspot.com/x/patch.diff?x=100d4715580000
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-10-05 21:43 UTC | newest]
Thread overview: 7+ 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
[not found] <20261005170717.9242-2-jakovnovak30@gmail.com>
2026-10-05 20:24 ` [syzbot] [media?] [usb?] WARNING in smsusb_term_device (2) syzbot
[not found] <20261005180430.24652-2-jakovnovak30@gmail.com>
2026-10-05 20:50 ` syzbot
[not found] <20261005205339.6324-2-jakovnovak30@gmail.com>
2026-10-05 21:43 ` 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®