syzbot


WARNING in smsusb_term_device

Status: auto-obsoleted due to no activity on 2023/09/30 04:06
Subsystems: usb media
[Documentation on labels]
Reported-by: syzbot+40ac6e73326e79ee8ecb@syzkaller.appspotmail.com
First crash: 677d, last: 523d
Cause bisection: introduced by (bisect log) :
commit ebad8e731c1c06adf04621d6fd327b860c0861b5
Author: Duoming Zhou <duoming@zju.edu.cn>
Date: Mon Jan 23 02:04:38 2023 +0000

  media: usb: siano: Fix use after free bugs caused by do_submit_urb

Crash: WARNING in smsusb_term_device (log)
Repro: C syz .config
  
Discussions (8)
Title Replies (including bot) Last reply
[syzbot] Monthly usb report (Aug 2023) 0 (1) 2023/08/02 11:18
[syzbot] Monthly usb report (Jul 2023) 0 (1) 2023/07/03 09:03
[syzbot] Monthly media report (May 2023) 0 (1) 2023/05/31 12:40
[syzbot] Monthly usb report (May 2023) 0 (1) 2023/05/31 12:38
[syzbot] Monthly usb report (Apr 2023) 0 (1) 2023/05/01 09:05
[syzbot] Monthly media report (Apr 2023) 0 (1) 2023/05/01 09:02
[syzbot] Monthly media report 0 (1) 2023/03/30 09:59
[syzbot] [media?] WARNING in smsusb_term_device 1 (4) 2023/03/01 11:29
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in smsusb_term_device C done 131 527d 648d 3/3 fixed on 2023/09/27 12:10
linux-5.15 WARNING in smsusb_term_device C error 124 523d 648d 0/3 auto-obsoleted due to no activity on 2023/09/30 15:31
Last patch testing requests (11)
Created Duration User Patch Repo Result
2023/08/26 02:49 23m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2023/08/26 02:49 24m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2023/08/23 10:50 22m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing OK log
2023/08/23 10:50 25m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing OK log
2023/08/22 05:48 23m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2023/08/22 05:48 25m retest repro linux-next OK log
2023/08/22 05:48 21m retest repro linux-next OK log
2023/08/22 06:06 28m retest repro upstream OK log
2023/08/22 05:48 30m retest repro upstream OK log
2023/08/22 05:48 33m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2023/02/27 02:41 32m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 8232539f864c OK log

Sample crash report:
usb 5-1: config 0 interface 0 altsetting 0 endpoint 0x8A has invalid wMaxPacketSize 0
usb 5-1: New USB device found, idVendor=187f, idProduct=0200, bcdDevice=1f.31
usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 5-1: config 0 descriptor??
usb 5-1: string descriptor 0 read error: -71
smsusb:smsusb_probe: board id=2, interface number 0
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8 at kernel/workqueue.c:3182 __flush_work+0x946/0xb60 kernel/workqueue.c:3182
Modules linked in:
CPU: 0 PID: 8 Comm: kworker/0:1 Not tainted 6.4.0-rc4-syzkaller-00078-g929ed21dfdb6 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
Workqueue: usb_hub_wq hub_event
RIP: 0010:__flush_work+0x946/0xb60 kernel/workqueue.c:3182
Code: 00 48 c7 c6 0b 18 53 81 48 c7 c7 00 61 79 8c e8 00 ee 11 00 e9 6f fc ff ff e8 06 4d 30 00 0f 0b e9 63 fc ff ff e8 fa 4c 30 00 <0f> 0b 45 31 ed e9 54 fc ff ff e8 cb 1e 82 00 e9 3e fb ff ff e8 e1
RSP: 0018:ffffc900002cec08 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888017e5e0e8 RCX: 0000000000000000
RDX: ffff8880132bc1c0 RSI: ffffffff81531846 RDI: 0000000000000001
RBP: ffffc900002ceda0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000094001 R12: ffff888017e5e0e8
R13: 0000000000000001 R14: 0000000000000001 R15: ffff888017e5e100
FS:  0000000000000000(0000) GS:ffff88806b600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000559400fa9e80 CR3: 00000000242e4000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3276
 smsusb_stop_streaming drivers/media/usb/siano/smsusb.c:182 [inline]
 smsusb_term_device+0xef/0x300 drivers/media/usb/siano/smsusb.c:344
 smsusb_init_device+0xb70/0xd20 drivers/media/usb/siano/smsusb.c:419
 smsusb_probe+0x5b9/0x10b0 drivers/media/usb/siano/smsusb.c:567
 usb_probe_interface+0x30f/0x960 drivers/usb/core/driver.c:396
 call_driver_probe drivers/base/dd.c:579 [inline]
 really_probe+0x240/0xca0 drivers/base/dd.c:658
 __driver_probe_device+0x1df/0x4b0 drivers/base/dd.c:800
 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:830
 __device_attach_driver+0x1d4/0x2e0 drivers/base/dd.c:958
 bus_for_each_drv+0x149/0x1d0 drivers/base/bus.c:457
 __device_attach+0x1e4/0x4b0 drivers/base/dd.c:1030
 bus_probe_device+0x17c/0x1c0 drivers/base/bus.c:532
 device_add+0x112d/0x1a40 drivers/base/core.c:3625
 usb_set_configuration+0x1196/0x1bc0 drivers/usb/core/message.c:2211
 usb_generic_driver_probe+0xcf/0x130 drivers/usb/core/generic.c:238
 usb_probe_device+0xd8/0x2c0 drivers/usb/core/driver.c:293
 call_driver_probe drivers/base/dd.c:579 [inline]
 really_probe+0x240/0xca0 drivers/base/dd.c:658
 __driver_probe_device+0x1df/0x4b0 drivers/base/dd.c:800
 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:830
 __device_attach_driver+0x1d4/0x2e0 drivers/base/dd.c:958
 bus_for_each_drv+0x149/0x1d0 drivers/base/bus.c:457
 __device_attach+0x1e4/0x4b0 drivers/base/dd.c:1030
 bus_probe_device+0x17c/0x1c0 drivers/base/bus.c:532
 device_add+0x112d/0x1a40 drivers/base/core.c:3625
 usb_new_device+0xcb2/0x19d0 drivers/usb/core/hub.c:2575
 hub_port_connect drivers/usb/core/hub.c:5407 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5551 [inline]
 port_event drivers/usb/core/hub.c:5711 [inline]
 hub_event+0x2d9e/0x4e40 drivers/usb/core/hub.c:5793
 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405
 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552
 kthread+0x344/0x440 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (983):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/01 08:27 upstream 929ed21dfdb6 babc4389 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in smsusb_term_device
2023/05/23 05:50 upstream 421ca22e3138 4bce1a3e .config strace log report syz C ci-upstream-kasan-gce-root WARNING in smsusb_term_device
2023/06/08 20:31 linux-next 715abedee4cd 7086cdb9 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in smsusb_term_device
2023/03/27 13:26 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 97318d6427f6 f8f96aa9 .config console log report syz C ci2-upstream-usb WARNING in smsusb_term_device
2023/03/27 13:06 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 97318d6427f6 f8f96aa9 .config console log report syz C ci2-upstream-usb WARNING in smsusb_term_device
2023/02/26 18:40 linux-next 8232539f864c ee50e71c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in smsusb_term_device
2023/07/08 21:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 668cb1fa .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in smsusb_term_device
2023/07/08 16:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 668cb1fa .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in smsusb_term_device
2023/03/19 12:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe15c26ee26e 7939252e .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in smsusb_term_device
2023/03/19 11:29 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe15c26ee26e 7939252e .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in smsusb_term_device
2023/07/06 10:27 upstream 6cd06ab12d1a ba5dba36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in smsusb_term_device
2023/07/02 19:28 upstream 995b406c7e97 bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in smsusb_term_device
2023/06/24 20:50 upstream a92b7d26c743 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in smsusb_term_device
2023/06/24 20:39 upstream a92b7d26c743 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in smsusb_term_device
2023/06/24 20:26 upstream a92b7d26c743 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in smsusb_term_device
2023/06/22 14:30 upstream dad9774deaf1 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in smsusb_term_device
2023/06/22 11:32 upstream dad9774deaf1 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in smsusb_term_device
2023/06/20 00:19 upstream 45a3e24f65e9 d521bc56 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in smsusb_term_device
2023/06/19 18:45 upstream 45a3e24f65e9 d521bc56 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in smsusb_term_device
2023/06/18 04:02 upstream 1b29d271614a f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in smsusb_term_device
2023/06/18 02:18 upstream 1b29d271614a f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in smsusb_term_device
2023/06/17 23:35 upstream 1b29d271614a f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in smsusb_term_device
2023/06/17 22:31 upstream 1639fae5132b f3921d4d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in smsusb_term_device
2023/06/17 16:38 upstream 1639fae5132b f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in smsusb_term_device
2023/06/16 16:25 upstream b7feaa490b3d f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in smsusb_term_device
2023/06/16 15:14 upstream 62d8779610bb f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in smsusb_term_device
2023/06/15 20:27 upstream b6dad5178cea 757d26ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in smsusb_term_device
2023/06/15 16:57 upstream b6dad5178cea 757d26ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in smsusb_term_device
2023/06/14 18:31 upstream b6dad5178cea d2ee9228 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in smsusb_term_device
2023/06/12 04:31 upstream 4c605260bc60 7086cdb9 .config console log report info ci-upstream-kasan-gce-root WARNING in smsusb_term_device
2023/06/11 16:18 upstream 022ce8862dff 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in smsusb_term_device
2023/06/24 22:29 upstream a92b7d26c743 79782afc .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in smsusb_term_device
2023/06/24 22:26 upstream a92b7d26c743 79782afc .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in smsusb_term_device
2023/06/18 00:42 upstream 1b29d271614a f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in smsusb_term_device
2023/06/16 16:29 upstream 40f71e7cd3c6 f3921d4d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in smsusb_term_device
2023/06/15 18:01 upstream b6dad5178cea 757d26ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in smsusb_term_device
2023/07/03 15:52 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 18af4b5c9791 6e553898 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in smsusb_term_device
2023/07/01 18:23 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 18af4b5c9791 bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in smsusb_term_device
2023/06/29 20:50 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 18af4b5c9791 134ddc02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in smsusb_term_device
2023/06/29 10:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 18af4b5c9791 134ddc02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in smsusb_term_device
2023/06/29 09:29 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 18af4b5c9791 134ddc02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in smsusb_term_device
2023/06/28 08:26 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 18af4b5c9791 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in smsusb_term_device
2023/06/25 23:23 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 18af4b5c9791 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in smsusb_term_device
2023/06/25 09:08 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 18af4b5c9791 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in smsusb_term_device
2023/06/24 20:23 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 18af4b5c9791 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in smsusb_term_device
2023/06/22 22:01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e6ecc0414c87 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in smsusb_term_device
2023/06/20 16:36 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 99f2d956e1fa 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in smsusb_term_device
2023/06/15 04:50 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 53d061c19dc4 76decb82 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in smsusb_term_device
2023/06/13 05:07 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d37537a1f7cf 749afb64 .config console log report info ci2-upstream-usb WARNING in smsusb_term_device
2023/06/12 19:22 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d37537a1f7cf aaed0183 .config console log report info ci2-upstream-usb WARNING in smsusb_term_device
2023/06/12 12:46 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d37537a1f7cf 49519f06 .config console log report info ci2-upstream-usb WARNING in smsusb_term_device
2023/02/19 12:39 linux-next c068f40300a0 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in smsusb_term_device
2023/02/18 13:04 linux-next c068f40300a0 d02e9a70 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in smsusb_term_device
2023/07/22 04:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in smsusb_term_device
2023/07/17 13:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 e5f10889 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in smsusb_term_device
2023/07/17 10:10 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in smsusb_term_device
2023/07/17 09:40 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in smsusb_term_device
2023/07/15 00:26 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in smsusb_term_device
2023/07/12 08:04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 2f19aa4f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in smsusb_term_device
2023/07/10 12:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 52ae002a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in smsusb_term_device
2023/07/10 09:31 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in smsusb_term_device
2023/07/10 03:24 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in smsusb_term_device
2023/07/08 02:14 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in smsusb_term_device
2023/07/01 15:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in smsusb_term_device
* Struck through repros no longer work on HEAD.