cm109 5-1:0.8: cm109_urb_irq_callback: urb status -71
------------[ cut here ]------------
URB ffff888035bad200 submitted while active
WARNING: CPU: 0 PID: 5322 at drivers/usb/core/urb.c:380 usb_submit_urb+0xf8c/0x18b0 drivers/usb/core/urb.c:380
Modules linked in:
CPU: 0 UID: 0 PID: 5322 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:usb_submit_urb+0xf8c/0x18b0 drivers/usb/core/urb.c:380
Code: 00 00 00 e8 f6 c4 c4 fa e9 25 f1 ff ff e8 ec c4 c4 fa c6 05 d0 6b 8d 08 01 90 48 c7 c7 c0 83 12 8c 48 89 de e8 45 d2 87 fa 90 <0f> 0b 90 90 e9 ec f0 ff ff e8 c6 c4 c4 fa c6 05 67 a3 a3 08 01 41
RSP: 0018:ffffc90000007878 EFLAGS: 00010046
RAX: 8523c4bf9fd26300 RBX: ffff888035bad200 RCX: ffff88801f880000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: 000000000000000f R08: ffff88801fc24293 R09: 1ffff11003f84852
R10: dffffc0000000000 R11: ffffed1003f84853 R12: 0000000000000820
R13: ffff888052c83830 R14: ffff888035bad208 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff88808d306000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffcf5ea1bc0 CR3: 0000000050b81000 CR4: 0000000000352ef0
Call Trace:
cm109_submit_ctl drivers/input/misc/cm109.c:380 [inline]
cm109_urb_irq_callback+0x709/0xca0 drivers/input/misc/cm109.c:431
__usb_hcd_giveback_urb+0x373/0x540 drivers/usb/core/hcd.c:1661
dummy_timer+0x85f/0x44c0 drivers/usb/gadget/udc/dummy_hcd.c:1995
__run_hrtimer kernel/time/hrtimer.c:1777 [inline]
__hrtimer_run_queues+0x52c/0xc60 kernel/time/hrtimer.c:1841
hrtimer_run_softirq+0x187/0x2b0 kernel/time/hrtimer.c:1858
handle_softirqs+0x283/0x870 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:723
irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1052
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xa8/0x110 kernel/locking/spinlock.c:194
Code: 74 05 e8 4b 7c 77 f6 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4f f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 c3 aa 3f f6 65 8b 05 bc c8 41 07 85 c0 74 40 48 c7 04 24 0e 36
RSP: 0018:ffffc9000d5df720 EFLAGS: 00000206
RAX: 8523c4bf9fd26300 RBX: 0000000000000a06 RCX: 8523c4bf9fd26300
RDX: 0000000000000006 RSI: ffffffff8d7eb59a RDI: 0000000000000001
RBP: ffffc9000d5df7a8 R08: ffffffff8f9e2f77 R09: 1ffffffff1f3c5ee
R10: dffffc0000000000 R11: fffffbfff1f3c5ef R12: dffffc0000000000
R13: 1ffff110066e897f R14: ffff888033744000 R15: 1ffff92001abbee4
spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
dummy_pullup+0x18c/0x200 drivers/usb/gadget/udc/dummy_hcd.c:926
usb_gadget_disconnect_locked+0x143/0x4b0 drivers/usb/gadget/udc/core.c:780
gadget_unbind_driver+0xc4/0x430 drivers/usb/gadget/udc/core.c:1670
device_remove drivers/base/dd.c:569 [inline]
__device_release_driver drivers/base/dd.c:1274 [inline]
device_release_driver_internal+0x46f/0x800 drivers/base/dd.c:1297
driver_detach+0x1f3/0x2d0 drivers/base/dd.c:1360
bus_remove_driver+0x226/0x2f0 drivers/base/bus.c:747
usb_gadget_unregister_driver+0x4e/0x70 drivers/usb/gadget/udc/core.c:1736
raw_release+0xd7/0x260 drivers/usb/gadget/legacy/raw_gadget.c:462
__fput+0x449/0xa70 fs/file_table.c:468
task_work_run+0x1d4/0x260 kernel/task_work.c:227
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x6b5/0x2300 kernel/exit.c:966
do_group_exit+0x21c/0x2d0 kernel/exit.c:1107
get_signal+0x1285/0x1340 kernel/signal.c:3034
arch_do_signal_or_restart+0xa0/0x790 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop kernel/entry/common.c:40 [inline]
exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline]
irqentry_exit_to_user_mode+0x7e/0x110 kernel/entry/common.c:73
exc_page_fault+0xab/0x100 arch/x86/mm/fault.c:1535
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0033:0x7f54cb050ca6
Code: Unable to access opcode bytes at 0x7f54cb050c7c.
RSP: 002b:00007f54cc1114a0 EFLAGS: 00010206
RAX: 0000000000110001 RBX: 00007f54cc111540 RCX: 0000000000000014
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007f54cc1115e0
RBP: 0000000000000102 R08: 00007f54bf000000 R09: 0000000000110000
R10: 0000000000000000 R11: 00007f54cc111550 R12: 0000000000000001
R13: 00007f54cb22db80 R14: 0000000000000000 R15: 00007f54cc1115e0
----------------
Code disassembly (best guess):
0: 74 05 je 0x7
2: e8 4b 7c 77 f6 call 0xf6777c52
7: 48 c7 44 24 20 00 00 movq $0x0,0x20(%rsp)
e: 00 00
10: 9c pushf
11: 8f 44 24 20 pop 0x20(%rsp)
15: f6 44 24 21 02 testb $0x2,0x21(%rsp)
1a: 75 4f jne 0x6b
1c: f7 c3 00 02 00 00 test $0x200,%ebx
22: 74 01 je 0x25
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 c3 aa 3f f6 call 0xf63faaf2 <-- trapping instruction
2f: 65 8b 05 bc c8 41 07 mov %gs:0x741c8bc(%rip),%eax # 0x741c8f2
36: 85 c0 test %eax,%eax
38: 74 40 je 0x7a
3a: 48 rex.W
3b: c7 .byte 0xc7
3c: 04 24 add $0x24,%al
3e: 0e (bad)
3f: 36 ss