syzbot


WARNING in usbtouch_reset_resume

Status: closed as dup on 2019/08/13 13:12
Subsystems: usb input
[Documentation on labels]
Reported-by: syzbot+91f7bbcce580376d784e@syzkaller.appspotmail.com
First crash: 1758d, last: 1753d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
WARNING in usbtouch_open input usb C 768 1750d 1764d
Discussions (1)
Title Replies (including bot) Last reply
WARNING in usbtouch_reset_resume 1 (2) 2019/08/13 13:12

Sample crash report:
usb 1-1: reset high-speed USB device number 2 using dummy_hcd
usb 1-1: Using ep0 maxpacket: 32
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(lock->magic != lock)
WARNING: CPU: 0 PID: 12 at kernel/locking/mutex.c:912 __mutex_lock_common kernel/locking/mutex.c:912 [inline]
WARNING: CPU: 0 PID: 12 at kernel/locking/mutex.c:912 __mutex_lock+0xd31/0x1360 kernel/locking/mutex.c:1077
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 12 Comm: kworker/0:1 Not tainted 5.3.0-rc2+ #25
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
 panic+0x2a3/0x6da kernel/panic.c:219
 __warn.cold+0x20/0x4a kernel/panic.c:576
 report_bug+0x262/0x2a0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 do_error_trap+0x12b/0x1e0 arch/x86/kernel/traps.c:272
 do_invalid_op+0x32/0x40 arch/x86/kernel/traps.c:291
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1026
RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:912 [inline]
RIP: 0010:__mutex_lock+0xd31/0x1360 kernel/locking/mutex.c:1077
Code: d2 0f 85 f6 05 00 00 44 8b 05 7b de 1c 02 45 85 c0 0f 85 0a f4 ff ff 48 c7 c6 c0 92 c6 85 48 c7 c7 60 90 c6 85 e8 f4 c4 a6 fb <0f> 0b e9 f0 f3 ff ff 65 48 8b 1c 25 00 ef 01 00 be 08 00 00 00 48
RSP: 0018:ffff8881da20f6b0 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8128a0fd RDI: ffffed103b441ec8
RBP: ffff8881da20f820 R08: ffff8881da1f9800 R09: fffffbfff0d9ee35
R10: fffffbfff0d9ee34 R11: ffffffff86cf71a3 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff8881d2bfaf48 R15: ffff8881d310c428
 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+0x26a/0x7b0 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+0x10f7/0x1870 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:3603
 hub_port_connect_change drivers/usb/core/hub.c:5199 [inline]
 port_event drivers/usb/core/hub.c:5359 [inline]
 hub_event+0x246c/0x3640 drivers/usb/core/hub.c:5441
 process_one_work+0x92b/0x1530 kernel/workqueue.c:2269
 worker_thread+0x96/0xe20 kernel/workqueue.c:2415
 kthread+0x318/0x420 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/08/09 08:02 https://github.com/google/kasan.git usb-fuzzer e96407b49762 ede31a9b .config console log report syz C ci2-upstream-usb
2019/08/06 22:26 https://github.com/google/kasan.git usb-fuzzer e96407b49762 da562c0b .config console log report syz C ci2-upstream-usb
2019/08/04 04:57 https://github.com/google/kasan.git usb-fuzzer e96407b49762 6affd8e8 .config console log report syz C ci2-upstream-usb
* Struck through repros no longer work on HEAD.