syzbot


INFO: trying to register non-static key in usbtouch_reset_resume

Status: closed as dup on 2019/08/13 13:11
Subsystems: input usb
[Documentation on labels]
Reported-by: syzbot+933daad9be4e67ba91a9@syzkaller.appspotmail.com
First crash: 1844d, last: 1819d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
WARNING in usbtouch_open input usb C 768 1766d 1780d
Discussions (6)
Title Replies (including bot) Last reply
INFO: trying to register non-static key in usbtouch_reset_resume 1 (3) 2019/08/13 13:11
Reminder: 8 open syzbot bugs in input subsystem 1 (1) 2019/07/24 02:27
Reminder: 67 open syzbot bugs in usb subsystem 1 (1) 2019/07/24 01:35
Reminder: 47 open syzbot bugs in usb subsystem 1 (1) 2019/07/09 19:01
Reminder: 3 open syzbot bugs in input subsystem 1 (1) 2019/06/27 03:58
Reminder: 42 open syzbot bugs in usb subsystem 1 (1) 2019/06/25 03:44

Sample crash report:
usb 1-1: reset low-speed USB device number 2 using dummy_hcd
INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
CPU: 0 PID: 12 Comm: kworker/0:1 Not tainted 5.2.0-rc5+ #11
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0xca/0x13e lib/dump_stack.c:113
 assign_lock_key kernel/locking/lockdep.c:775 [inline]
 register_lock_class+0x11ae/0x1240 kernel/locking/lockdep.c:1084
 __lock_acquire+0x11d/0x5340 kernel/locking/lockdep.c:3674
 lock_acquire+0x100/0x2b0 kernel/locking/lockdep.c:4303
 __mutex_lock_common kernel/locking/mutex.c:926 [inline]
 __mutex_lock+0xf9/0x12b0 kernel/locking/mutex.c:1073
 usbtouch_reset_resume+0xb1/0x170 drivers/input/touchscreen/usbtouchscreen.c:1611
 usb_resume_interface drivers/usb/core/driver.c:1242 [inline]
 usb_resume_interface.isra.0+0x184/0x390 drivers/usb/core/driver.c:1210
 usb_resume_both+0x23d/0x780 drivers/usb/core/driver.c:1412
 __rpm_callback+0x27e/0x3c0 drivers/base/power/runtime.c:355
 rpm_callback+0x18f/0x230 drivers/base/power/runtime.c:485
 rpm_resume+0x10c5/0x1840 drivers/base/power/runtime.c:849
 __pm_runtime_resume+0x103/0x180 drivers/base/power/runtime.c:1076
 pm_runtime_get_sync include/linux/pm_runtime.h:226 [inline]
 usb_autoresume_device+0x1e/0x60 drivers/usb/core/driver.c:1599
 usb_remote_wakeup+0x7b/0xb0 drivers/usb/core/hub.c:3601
 hub_port_connect_change drivers/usb/core/hub.c:5190 [inline]
 port_event drivers/usb/core/hub.c:5350 [inline]
 hub_event+0x23d7/0x3590 drivers/usb/core/hub.c:5432
 process_one_work+0x905/0x1570 kernel/workqueue.c:2269
 worker_thread+0x96/0xe20 kernel/workqueue.c:2415
 kthread+0x30b/0x410 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
dummy_hcd dummy_hcd.0: port status 0x00010100 has changes
dummy_hcd dummy_hcd.0: port status 0x00010101 has changes
dummy_hcd dummy_hcd.0: port status 0x00100303 has changes
usb 1-1: reset low-speed USB device number 2 using dummy_hcd
dummy_hcd dummy_hcd.0: port status 0x00100303 has changes
usb usb1: dummy_bus_suspend
usb usb1: dummy_bus_resume
dummy_hcd dummy_hcd.0: port status 0x00010100 has changes
dummy_hcd dummy_hcd.0: port status 0x00100303 has changes
usb 1-1: reset low-speed USB device number 2 using dummy_hcd
dummy_hcd dummy_hcd.0: port status 0x00100303 has changes
usb usb1: dummy_bus_suspend
usb usb1: dummy_bus_resume
dummy_hcd dummy_hcd.0: port status 0x00010100 has changes
dummy_hcd dummy_hcd.0: port status 0x00100303 has changes
usb 1-1: reset low-speed USB device number 2 using dummy_hcd
dummy_hcd dummy_hcd.0: port status 0x00100303 has changes
usb usb1: dummy_bus_suspend
usb usb1: dummy_bus_resume
dummy_hcd dummy_hcd.0: port status 0x00010100 has changes
dummy_hcd dummy_hcd.0: port status 0x00100303 has changes
usb 1-1: reset low-speed USB device number 2 using dummy_hcd
dummy_hcd dummy_hcd.0: port status 0x00100303 has changes
usb usb1: dummy_bus_suspend
usb usb1: dummy_bus_resume
dummy_hcd dummy_hcd.0: port status 0x00010100 has changes
dummy_hcd dummy_hcd.0: port status 0x00100303 has changes
usb 1-1: reset low-speed USB device number 2 using dummy_hcd
dummy_hcd dummy_hcd.0: port status 0x00100303 has changes

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/06/20 09:32 https://github.com/google/kasan.git usb-fuzzer 9939f56ee6c0 34bf9440 .config console log report syz C ci2-upstream-usb
2019/05/26 01:08 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 85c57315 .config console log report syz ci2-upstream-usb
2019/05/26 00:49 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 85c57315 .config console log report ci2-upstream-usb
* Struck through repros no longer work on HEAD.