cm109 5-1:0.8: cm109_urb_irq_callback: urb status -71
------------[ cut here ]------------
URB ffff888024fb1c00 submitted while active
WARNING: drivers/usb/core/urb.c:380 at usb_submit_urb+0x15fa/0x1910 drivers/usb/core/urb.c:380, CPU#2: syz.0.17/6078
Modules linked in:
CPU: 2 UID: 0 PID: 6078 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:usb_submit_urb+0x15fd/0x1910 drivers/usb/core/urb.c:380
Code: 00 48 8b 04 24 48 8b 90 b0 00 00 00 e9 73 ff ff ff bb ed ff ff ff e9 be f2 ff ff e8 ad e3 c8 fa 48 8d 3d e6 bc 85 09 48 89 de <67> 48 0f b9 3a bb f0 ff ff ff e9 a0 f2 ff ff c7 44 24 30 00 00 00
RSP: 0018:ffffc90000648ab8 EFLAGS: 00010046
RAX: 0000000000000000 RBX: ffff888024fb1c00 RCX: ffffffff87c070a0
RDX: ffff8880271d8000 RSI: ffff888024fb1c00 RDI: ffffffff90c3d4a0
RBP: ffff88802596a058 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001
R13: ffff88802596a057 R14: ffff888035735a40 R15: 000000000000000f
FS: 00005555902d9500(0000) GS:ffff8880d67db000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001000 CR3: 000000003150f000 CR4: 0000000000352ef0
Call Trace:
cm109_submit_ctl drivers/input/misc/cm109.c:380 [inline]
cm109_urb_irq_callback+0x479/0xa90 drivers/input/misc/cm109.c:431
__usb_hcd_giveback_urb+0x38d/0x610 drivers/usb/core/hcd.c:1661
usb_hcd_giveback_urb+0x3ca/0x4a0 drivers/usb/core/hcd.c:1745
dummy_timer+0xd85/0x3670 drivers/usb/gadget/udc/dummy_hcd.c:1995
__run_hrtimer kernel/time/hrtimer.c:1777 [inline]
__hrtimer_run_queues+0x516/0x990 kernel/time/hrtimer.c:1841
hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1858
handle_softirqs+0x1ea/0x910 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194
Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 a6 8c 69 f6 48 89 df e8 8e da 69 f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 45 29 5a f6 65 8b 05 3e ba 6a 08 85 c0 74 16 5b
RSP: 0018:ffffc9000478fb00 EFLAGS: 00000246
RAX: 0000000000000002 RBX: ffffffff8f99c380 RCX: 0000000000000040
RDX: 0000000000000000 RSI: ffffffff8dc454ef RDI: ffffffff8bfa35a0
RBP: 0000000000000293 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000002 R12: 1ffff920008f1f68
R13: ffff88802bfc023c R14: ffff888103376e00 R15: ffff888103376e18
spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
usb_hcd_poll_rh_status+0x5c4/0x7e0 drivers/usb/core/hcd.c:762
dummy_pullup+0x1f6/0x280 drivers/usb/gadget/udc/dummy_hcd.c:928
usb_gadget_disconnect_locked+0x142/0x4b0 drivers/usb/gadget/udc/core.c:780
gadget_unbind_driver+0xd8/0x4f0 drivers/usb/gadget/udc/core.c:1685
device_remove+0xcb/0x180 drivers/base/dd.c:571
__device_release_driver drivers/base/dd.c:1284 [inline]
device_release_driver_internal+0x42e/0x600 drivers/base/dd.c:1307
driver_detach+0xd8/0x1b0 drivers/base/dd.c:1370
bus_remove_driver+0x13b/0x2e0 drivers/base/bus.c:784
driver_unregister+0x76/0xb0 drivers/base/driver.c:277
usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1751
raw_release+0x19b/0x260 drivers/usb/gadget/legacy/raw_gadget.c:463
__fput+0x3ff/0xb40 fs/file_table.c:468
task_work_run+0x150/0x240 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:44 [inline]
exit_to_user_mode_loop+0x100/0x4b0 kernel/entry/common.c:75
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline]
do_syscall_64+0x4fe/0xf80 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9c17b9aeb9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe88c80798 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007ffe88c80880 RCX: 00007f9c17b9aeb9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 000000000000f878 R08: 0000000000000001 R09: 0000000000000000
R10: 0000001b2d420000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9c17e15fac R14: 00007f9c17e15fa8 R15: 00007f9c17e15fa0
----------------
Code disassembly (best guess):
0: 00 48 8b add %cl,-0x75(%rax)
3: 04 24 add $0x24,%al
5: 48 8b 90 b0 00 00 00 mov 0xb0(%rax),%rdx
c: e9 73 ff ff ff jmp 0xffffff84
11: bb ed ff ff ff mov $0xffffffed,%ebx
16: e9 be f2 ff ff jmp 0xfffff2d9
1b: e8 ad e3 c8 fa call 0xfac8e3cd
20: 48 8d 3d e6 bc 85 09 lea 0x985bce6(%rip),%rdi # 0x985bd0d
27: 48 89 de mov %rbx,%rsi
* 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction
2f: bb f0 ff ff ff mov $0xfffffff0,%ebx
34: e9 a0 f2 ff ff jmp 0xfffff2d9
39: c7 .byte 0xc7
3a: 44 24 30 rex.R and $0x30,%al
3d: 00 00 add %al,(%rax)