cm109 7-1:0.8: cm109_urb_irq_callback: urb status -71 ------------[ cut here ]------------ URB ffff888027ddab00 submitted while active WARNING: CPU: 1 PID: 7440 at drivers/usb/core/urb.c:379 usb_submit_urb+0x152b/0x1790 drivers/usb/core/urb.c:379 Modules linked in: CPU: 1 UID: 0 PID: 7440 Comm: syz.2.467 Not tainted 6.16.0-rc6-syzkaller-00002-g155a3c003e55 #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+0x152b/0x1790 drivers/usb/core/urb.c:379 Code: fd eb cb bb fe ff ff ff e9 70 f3 ff ff e8 dd 2c 89 fa c6 05 7a ca 5f 09 01 90 48 c7 c7 e0 1f 73 8c 48 89 de e8 56 7d 48 fa 90 <0f> 0b 90 90 e9 b6 fe ff ff bb f8 ff ff ff e9 40 f3 ff ff 48 89 ef RSP: 0018:ffffc90000590a88 EFLAGS: 00010086 RAX: 0000000000000000 RBX: ffff888027ddab00 RCX: ffffffff817ab108 RDX: ffff88804e36c880 RSI: ffffffff817ab115 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000046 R13: ffff88806d3c3858 R14: 000000000000000f R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff888097620000(0063) knlGS:0000000057819440 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000000c2d975b CR3: 0000000070245000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000097 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: cm109_submit_ctl drivers/input/misc/cm109.c:380 [inline] cm109_urb_irq_callback+0x2e7/0xb70 drivers/input/misc/cm109.c:431 __usb_hcd_giveback_urb+0x38a/0x6e0 drivers/usb/core/hcd.c:1650 usb_hcd_giveback_urb+0x39b/0x450 drivers/usb/core/hcd.c:1734 dummy_timer+0x180e/0x3a20 drivers/usb/gadget/udc/dummy_hcd.c:1995 __run_hrtimer kernel/time/hrtimer.c:1761 [inline] __hrtimer_run_queues+0x1ff/0xad0 kernel/time/hrtimer.c:1825 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1842 handle_softirqs+0x219/0x8e0 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1050 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+0x31/0x80 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 36 f6 10 f6 48 89 df e8 1e 4a 11 f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 45 6c 01 f6 65 8b 05 9e e9 48 08 85 c0 74 16 5b RSP: 0018:ffffc900077dfbd8 EFLAGS: 00000246 RAX: 0000000000000002 RBX: ffff888020fa8000 RCX: 0000000000000006 RDX: 0000000000000000 RSI: ffffffff8de2c794 RDI: ffffffff8c157960 RBP: 0000000000000293 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff90a9a157 R11: 0000000000000001 R12: ffff888020fa8000 R13: ffff888024c0c408 R14: 0000000000000000 R15: 0000000091c90000 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] dummy_pullup+0x200/0x270 drivers/usb/gadget/udc/dummy_hcd.c:926 usb_gadget_disconnect_locked+0x142/0x4e0 drivers/usb/gadget/udc/core.c:777 gadget_unbind_driver+0xd7/0x4e0 drivers/usb/gadget/udc/core.c:1666 device_remove+0xc8/0x170 drivers/base/dd.c:567 __device_release_driver drivers/base/dd.c:1272 [inline] device_release_driver_internal+0x44b/0x620 drivers/base/dd.c:1295 driver_detach+0xd8/0x1b0 drivers/base/dd.c:1358 bus_remove_driver+0x13b/0x2c0 drivers/base/bus.c:747 driver_unregister+0x76/0xb0 drivers/base/driver.c:277 usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1732 raw_release+0x1ae/0x2b0 drivers/usb/gadget/legacy/raw_gadget.c:462 __fput+0x3ff/0xb70 fs/file_table.c:465 task_work_run+0x150/0x240 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xeb/0x110 kernel/entry/common.c:114 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] __do_fast_syscall_32+0x2ac/0x3a0 arch/x86/entry/syscall_32.c:309 do_fast_syscall_32+0x32/0x80 arch/x86/entry/syscall_32.c:331 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf710e579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000ff9c385c EFLAGS: 00000202 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 000000000000001e RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: f5 cmc 1: 53 push %rbx 2: 48 8b 74 24 10 mov 0x10(%rsp),%rsi 7: 48 89 fb mov %rdi,%rbx a: 48 83 c7 18 add $0x18,%rdi e: e8 36 f6 10 f6 call 0xf610f649 13: 48 89 df mov %rbx,%rdi 16: e8 1e 4a 11 f6 call 0xf6114a39 1b: f7 c5 00 02 00 00 test $0x200,%ebp 21: 75 23 jne 0x46 23: 9c pushf 24: 58 pop %rax 25: f6 c4 02 test $0x2,%ah 28: 75 37 jne 0x61 * 2a: bf 01 00 00 00 mov $0x1,%edi <-- trapping instruction 2f: e8 45 6c 01 f6 call 0xf6016c79 34: 65 8b 05 9e e9 48 08 mov %gs:0x848e99e(%rip),%eax # 0x848e9d9 3b: 85 c0 test %eax,%eax 3d: 74 16 je 0x55 3f: 5b pop %rbx