cm109 5-1:0.8: cm109_urb_irq_callback: urb status -71 ------------[ cut here ]------------ URB ffff888037d2a200 submitted while active WARNING: drivers/usb/core/urb.c:379 at usb_submit_urb+0x79/0x18b0 drivers/usb/core/urb.c:379, CPU#0: syz.0.0/5324 Modules linked in: CPU: 0 UID: 0 PID: 5324 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+0x7c/0x18b0 drivers/usb/core/urb.c:379 Code: 4c 89 f0 48 c1 e8 03 80 3c 28 00 74 08 4c 89 f7 e8 d9 d9 d2 fa 49 83 3e 00 74 40 e8 fe a8 63 fa 48 8d 3d 17 2e 02 09 48 89 de <67> 48 0f b9 3a b8 f0 ff ff ff eb 11 e8 e3 a8 63 fa eb 05 e8 dc a8 RSP: 0018:ffffc900000079f8 EFLAGS: 00010046 RAX: ffffffff87637b52 RBX: ffff888037d2a200 RCX: ffff88803de28000 RDX: 0000000000000100 RSI: ffff888037d2a200 RDI: ffffffff9065a970 RBP: dffffc0000000000 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52000000f3c R12: ffff888052380848 R13: ffff888052380830 R14: ffff888037d2a208 R15: 0000000000000820 FS: 0000555578581540(0000) GS:ffff88808c543000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000002000 CR3: 000000001fc96000 CR4: 0000000000352ef0 Call Trace: cm109_submit_ctl drivers/input/misc/cm109.c:380 [inline] cm109_urb_irq_callback+0x6fb/0xca0 drivers/input/misc/cm109.c:431 __usb_hcd_giveback_urb+0x374/0x530 drivers/usb/core/hcd.c:1657 dummy_timer+0xa91/0x4cf0 drivers/usb/gadget/udc/dummy_hcd.c:2019 __run_hrtimer kernel/time/hrtimer.c:2032 [inline] __hrtimer_run_queues+0x3bc/0xa10 kernel/time/hrtimer.c:2096 hrtimer_run_softirq+0x17a/0x240 kernel/time/hrtimer.c:2113 handle_softirqs+0x225/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:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 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 1d ab cd f5 f7 c3 00 02 00 00 74 05 e8 e0 9f f9 f5 9c 58 a9 00 02 00 00 75 27 f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 24 c1 be f5 65 8b 05 1d 11 98 07 85 c0 74 18 5b 41 5e e9 81 48 RSP: 0018:ffffc9000dfd7b78 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000246 RCX: 0000000080000001 RDX: 0000000000000006 RSI: ffffffff8e230467 RDI: 0000000000000001 RBP: 0000000000000000 R08: ffffffff9057b737 R09: 1ffffffff20af6e6 R10: dffffc0000000000 R11: fffffbfff20af6e7 R12: 0000000000000246 R13: dffffc0000000000 R14: ffff888034220000 R15: ffff88801fbb2400 spin_unlock_irqrestore include/linux/spinlock.h:408 [inline] dummy_pullup+0xcf/0x120 drivers/usb/gadget/udc/dummy_hcd.c:934 usb_gadget_disconnect_locked+0x126/0x480 drivers/usb/gadget/udc/core.c:785 gadget_unbind_driver+0xc2/0x410 drivers/usb/gadget/udc/core.c:1718 device_remove drivers/base/dd.c:616 [inline] __device_release_driver drivers/base/dd.c:1349 [inline] device_release_driver_internal+0x48b/0x880 drivers/base/dd.c:1372 driver_detach+0x1f3/0x2d0 drivers/base/dd.c:1435 bus_remove_driver+0x226/0x320 drivers/base/bus.c:832 usb_gadget_unregister_driver+0x4e/0x70 drivers/usb/gadget/udc/core.c:1784 raw_release+0xd7/0x260 drivers/usb/gadget/legacy/raw_gadget.c:463 __fput+0x418/0xa50 fs/file_table.c:512 task_work_run+0x1d9/0x270 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:70 [inline] exit_to_user_mode_loop+0x1fa/0x730 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline] do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe97fd9df99 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:00007ffee445e958 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007ffee445ea40 RCX: 00007fe97fd9df99 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 0000000000013372 R08: 0000000000000001 R09: 0000000000000000 R10: 00007fe97fbff030 R11: 0000000000000246 R12: 00007ffee445ea80 R13: 00007fe980025fac R14: 0000000000013774 R15: 00007fe980025fa0 ---------------- Code disassembly (best guess): 0: 4c 89 f0 mov %r14,%rax 3: 48 c1 e8 03 shr $0x3,%rax 7: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) b: 74 08 je 0x15 d: 4c 89 f7 mov %r14,%rdi 10: e8 d9 d9 d2 fa call 0xfad2d9ee 15: 49 83 3e 00 cmpq $0x0,(%r14) 19: 74 40 je 0x5b 1b: e8 fe a8 63 fa call 0xfa63a91e 20: 48 8d 3d 17 2e 02 09 lea 0x9022e17(%rip),%rdi # 0x9022e3e 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 e3 a8 63 fa call 0xfa63a91e 3b: eb 05 jmp 0x42 3d: e8 .byte 0xe8 3e: dc .byte 0xdc 3f: a8 .byte 0xa8