cm109 5-1:0.8: cm109_urb_irq_callback: urb status -71
------------[ cut here ]------------
URB ffff888011b2d400 submitted while active
WARNING: drivers/usb/core/urb.c:379 at usb_submit_urb+0x7b/0x18b0 drivers/usb/core/urb.c:379, CPU#0: syz.0.0/5334
Modules linked in:
CPU: 0 UID: 0 PID: 5334 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 04/01/2014
RIP: 0010:usb_submit_urb+0x7e/0x18b0 drivers/usb/core/urb.c:379
Code: 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 87 c2 f5 fa 49 83 3e 00 74 40 e8 4c a8 89 fa 48 8d 3d d5 fd 04 09 48 89 de <67> 48 0f b9 3a b8 f0 ff ff ff eb 11 e8 31 a8 89 fa eb 05 e8 2a a8
RSP: 0018:ffffc90000007a00 EFLAGS: 00010046
RAX: ffffffff873b7b74 RBX: ffff888011b2d400 RCX: ffff88801f834a00
RDX: 0000000000000100 RSI: ffff888011b2d400 RDI: ffffffff90407950
RBP: 000000000000000f R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000000f40 R12: 0000000000000820
R13: ffff888041f58830 R14: ffff888011b2d408 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff88808c826000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f60712eab50 CR3: 00000000349b2000 CR4: 0000000000352ef0
Call Trace:
cm109_submit_ctl drivers/input/misc/cm109.c:380 [inline]
cm109_urb_irq_callback+0x6e2/0xc90 drivers/input/misc/cm109.c:431
__usb_hcd_giveback_urb+0x376/0x540 drivers/usb/core/hcd.c:1657
dummy_timer+0xbc0/0x4650 drivers/usb/gadget/udc/dummy_hcd.c:2005
__run_hrtimer kernel/time/hrtimer.c:1930 [inline]
__hrtimer_run_queues+0x3c0/0xa20 kernel/time/hrtimer.c:1994
hrtimer_run_softirq+0x17a/0x240 kernel/time/hrtimer.c:2011
handle_softirqs+0x22a/0x840 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0xca/0x220 kernel/softirq.c:735
irq_exit_rcu+0x9/0x30 kernel/softirq.c:752
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1061 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1061
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:179 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x47/0x80 kernel/locking/spinlock.c:198
Code: f7 e8 ad 20 e9 f5 f7 c3 00 02 00 00 74 05 e8 30 a9 14 f6 9c 58 a9 00 02 00 00 75 27 f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 f4 a2 da f5 65 8b 05 0d 03 87 07 85 c0 74 18 5b 41 5e c3 cc cc
RSP: 0018:ffffc900031ffa40 EFLAGS: 00000206
RAX: 0000000000000002 RBX: 0000000000000246 RCX: 0000000080000001
RDX: 0000000000000006 RSI: ffffffff8dfcf16e RDI: 0000000000000001
RBP: 0000000000000000 R08: ffffffff903317b7 R09: 1ffffffff20662f6
R10: dffffc0000000000 R11: fffffbfff20662f7 R12: 0000000000000246
R13: dffffc0000000000 R14: ffff888034690000 R15: ffff8880376e8400
spin_unlock_irqrestore include/linux/spinlock.h:408 [inline]
dummy_pullup+0xcf/0x120 drivers/usb/gadget/udc/dummy_hcd.c:916
usb_gadget_disconnect_locked+0x143/0x4a0 drivers/usb/gadget/udc/core.c:780
gadget_unbind_driver+0xc7/0x450 drivers/usb/gadget/udc/core.c:1685
device_remove drivers/base/dd.c:619 [inline]
__device_release_driver drivers/base/dd.c:1332 [inline]
device_release_driver_internal+0x46f/0x870 drivers/base/dd.c:1355
driver_detach+0x1f3/0x2d0 drivers/base/dd.c:1418
bus_remove_driver+0x226/0x320 drivers/base/bus.c:825
usb_gadget_unregister_driver+0x4e/0x70 drivers/usb/gadget/udc/core.c:1751
raw_release+0xd7/0x260 drivers/usb/gadget/legacy/raw_gadget.c:463
__fput+0x44f/0xa60 fs/file_table.c:510
task_work_run+0x1d9/0x270 kernel/task_work.c:233
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x70f/0x22c0 kernel/exit.c:977
__do_sys_exit kernel/exit.c:1086 [inline]
__se_sys_exit kernel/exit.c:1084 [inline]
__x64_sys_exit+0x40/0x40 kernel/exit.c:1084
x64_sys_call+0x2231/0x2240 arch/x86/include/generated/asm/syscalls_64.h:61
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fde7c59c819
Code: Unable to access opcode bytes at 0x7fde7c59c7ef.
RSP: 002b:00007fde7d41cf98 EFLAGS: 00000246 ORIG_RAX: 000000000000003c
RAX: ffffffffffffffda RBX: 00007fde7c815fa0 RCX: 00007fde7c59c819
RDX: 00007fde7d41d9c8 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fde7c632c91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fde7c816038 R14: 00007fde7c815fa0 R15: 00007ffe9505aba8
----------------
Code disassembly (best guess):
0: 89 f0 mov %esi,%eax
2: 48 c1 e8 03 shr $0x3,%rax
6: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1)
b: 74 08 je 0x15
d: 4c 89 f7 mov %r14,%rdi
10: e8 87 c2 f5 fa call 0xfaf5c29c
15: 49 83 3e 00 cmpq $0x0,(%r14)
19: 74 40 je 0x5b
1b: e8 4c a8 89 fa call 0xfa89a86c
20: 48 8d 3d d5 fd 04 09 lea 0x904fdd5(%rip),%rdi # 0x904fdfc
27: 48 89 de mov %rbx,%rsi
* 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction
2f: b8 f0 ff ff ff mov $0xfffffff0,%eax
34: eb 11 jmp 0x47
36: e8 31 a8 89 fa call 0xfa89a86c
3b: eb 05 jmp 0x42
3d: e8 .byte 0xe8
3e: 2a .byte 0x2a
3f: a8 .byte 0xa8