syzbot


WARNING in imon_probe

Status: closed as dup on 2023/09/26 19:30
Subsystems: usb media
[Documentation on labels]
Reported-by: syzbot+1c41b2e045dc086f58be@syzkaller.appspotmail.com
First crash: 346d, last: 201d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
KASAN: slab-out-of-bounds Read in imon_probe media usb syz 2 250d 272d
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] [media?] [usb?] WARNING in imon_probe 3 (6) 2023/09/26 19:30
[syzbot] Monthly media report (Sep 2023) 0 (1) 2023/09/06 08:13
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in imon_probe origin:upstream syz done 2 276d 345d 3/3 fixed on 2023/12/05 18:07
linux-5.15 WARNING in imon_probe syz error 2 312d 345d 0/3 auto-obsoleted due to no activity on 2023/12/11 03:28
Last patch testing requests (6)
Created Duration User Patch Repo Result
2023/09/26 16:47 19m ricardo@marliere.net patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git a48fa7efaf1161c1c898931fe4c7f0070964233a OK log
2023/09/26 15:52 0m ricardo@marliere.net patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git a48fa7efaf1161c1c898931fe4c7f0070964233a error OK
2023/09/08 20:14 1h19m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/09/08 10:46 53m retest repro upstream report log
2023/09/08 04:38 26m retest repro upstream report log
2023/08/24 05:55 15m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
Cause bisection attempts (1)
Created Duration User Patch Repo Result
2023/06/13 04:29 11h44m bisect upstream error job log (0)
marked invalid by nogikh@google.com

Sample crash report:
usb 1-1: 2:1 : UAC_AS_GENERAL descriptor not found
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(lock->magic != lock)
WARNING: CPU: 0 PID: 4795 at kernel/locking/mutex.c:582 __mutex_lock_common kernel/locking/mutex.c:582 [inline]
WARNING: CPU: 0 PID: 4795 at kernel/locking/mutex.c:582 __mutex_lock+0xc39/0xd60 kernel/locking/mutex.c:747
Modules linked in:
CPU: 0 PID: 4795 Comm: kworker/0:3 Not tainted 6.6.0-syzkaller-14142-g90b0c2b2edd1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Workqueue: usb_hub_wq hub_event
RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:582 [inline]
RIP: 0010:__mutex_lock+0xc39/0xd60 kernel/locking/mutex.c:747
Code: 04 20 84 c0 0f 85 13 01 00 00 83 3d 90 88 e0 03 00 0f 85 e2 f4 ff ff 48 c7 c7 40 9c 6a 8b 48 c7 c6 e0 9c 6a 8b e8 27 96 34 f6 <0f> 0b e9 c8 f4 ff ff 0f 0b e9 d8 f8 ff ff 0f 0b e9 55 f5 ff ff 48
RSP: 0018:ffffc9000391ec00 EFLAGS: 00010246
RAX: 861303602424d700 RBX: 0000000000000000 RCX: ffff888015683b80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc9000391ed48 R08: ffffffff8154ac82 R09: 1ffff11017305172
R10: dffffc0000000000 R11: ffffed1017305173 R12: dffffc0000000000
R13: ffff888027528a48 R14: 0000000000000000 R15: 1ffff1100dc61017
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055953d01c648 CR3: 00000000791d5000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 imon_init_intf1 drivers/media/rc/imon.c:2321 [inline]
 imon_probe+0x295/0x3480 drivers/media/rc/imon.c:2449
 usb_probe_interface+0x5c4/0xb00 drivers/usb/core/driver.c:396
 really_probe+0x294/0xc30 drivers/base/dd.c:658
 __driver_probe_device+0x1a2/0x3d0 drivers/base/dd.c:800
 driver_probe_device+0x50/0x420 drivers/base/dd.c:830
 __device_attach_driver+0x2d3/0x520 drivers/base/dd.c:958
 bus_for_each_drv+0x24a/0x2d0 drivers/base/bus.c:457
 __device_attach+0x32f/0x510 drivers/base/dd.c:1030
 bus_probe_device+0x185/0x260 drivers/base/bus.c:532
 device_add+0x956/0xd30 drivers/base/core.c:3625
 usb_set_configuration+0x1976/0x1fb0 drivers/usb/core/message.c:2207
 usb_generic_driver_probe+0x88/0x140 drivers/usb/core/generic.c:238
 usb_probe_device+0x134/0x270 drivers/usb/core/driver.c:293
 really_probe+0x294/0xc30 drivers/base/dd.c:658
 __driver_probe_device+0x1a2/0x3d0 drivers/base/dd.c:800
 driver_probe_device+0x50/0x420 drivers/base/dd.c:830
 __device_attach_driver+0x2d3/0x520 drivers/base/dd.c:958
 bus_for_each_drv+0x24a/0x2d0 drivers/base/bus.c:457
 __device_attach+0x32f/0x510 drivers/base/dd.c:1030
 bus_probe_device+0x185/0x260 drivers/base/bus.c:532
 device_add+0x956/0xd30 drivers/base/core.c:3625
 usb_new_device+0x1027/0x1970 drivers/usb/core/hub.c:2599
 hub_port_connect drivers/usb/core/hub.c:5463 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5603 [inline]
 port_event drivers/usb/core/hub.c:5763 [inline]
 hub_event+0x2e3c/0x50a0 drivers/usb/core/hub.c:5845
 process_one_work kernel/workqueue.c:2630 [inline]
 process_scheduled_works+0x90f/0x1400 kernel/workqueue.c:2703
 worker_thread+0xa5f/0xff0 kernel/workqueue.c:2784
 kthread+0x2d3/0x370 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
 </TASK>

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/04 22:18 upstream 90b0c2b2edd1 500bfdc4 .config strace log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in imon_probe
2023/07/12 21:58 upstream 3f01e9fed845 979d5fe2 .config strace log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in imon_probe
2023/06/13 01:40 upstream fd37b884003c 749afb64 .config strace log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in imon_probe
2023/06/12 18:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d8b213732169 7086cdb9 .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in imon_probe
2023/06/12 17:54 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d37537a1f7cf aaed0183 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in imon_probe
2023/06/12 17:04 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d37537a1f7cf aaed0183 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in imon_probe
* Struck through repros no longer work on HEAD.