cm109 5-1:0.8: cm109_urb_irq_callback: urb status -71 ------------[ cut here ]------------ URB ffff8880365e5100 submitted while active WARNING: CPU: 0 PID: 5312 at drivers/usb/core/urb.c:379 usb_submit_urb+0x1039/0x1930 drivers/usb/core/urb.c:379 Modules linked in: CPU: 0 UID: 0 PID: 5312 Comm: syz.0.0 Not tainted 6.13.0-rc3-syzkaller-00209-g499551201b5f #0 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+0x1039/0x1930 drivers/usb/core/urb.c:379 Code: 00 eb 66 e8 39 fb 5d fa e9 79 f0 ff ff e8 2f fb 5d fa c6 05 ac 41 c2 08 01 90 48 c7 c7 00 97 af 8c 4c 89 ee e8 d8 9e 1e fa 90 <0f> 0b 90 90 e9 40 f0 ff ff e8 09 fb 5d fa eb 12 e8 02 fb 5d fa 41 RSP: 0018:ffffc90000007790 EFLAGS: 00010046 RAX: 72b5519060400b00 RBX: 0000000000000820 RCX: ffff8880007fc880 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff8880365e5108 R08: ffffffff81601a42 R09: 1ffff11003f8519a R10: dffffc0000000000 R11: ffffed1003f8519b R12: 000000000000000f R13: ffff8880365e5100 R14: dffffc0000000000 R15: 0000000000000046 FS: 000055557d259500(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8e2bd9bff0 CR3: 00000000402b2000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cm109_submit_ctl drivers/input/misc/cm109.c:380 [inline] cm109_urb_irq_callback+0x6ce/0xc20 drivers/input/misc/cm109.c:431 __usb_hcd_giveback_urb+0x42c/0x6e0 drivers/usb/core/hcd.c:1650 dummy_timer+0x856/0x4620 drivers/usb/gadget/udc/dummy_hcd.c:1993 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59b/0xd30 kernel/time/hrtimer.c:1803 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1820 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049 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+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 5e 79 3a f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 d3 26 a2 f5 65 8b 05 74 7a 38 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc9000d3d7aa0 EFLAGS: 00000206 RAX: 72b5519060400b00 RBX: 1ffff92001a7af58 RCX: ffffffff817b275a RDX: dffffc0000000000 RSI: ffffffff8c0a9760 RDI: 0000000000000001 RBP: ffffc9000d3d7b28 R08: ffffffff942a4987 R09: 1ffffffff2854930 R10: dffffc0000000000 R11: fffffbfff2854931 R12: dffffc0000000000 R13: 1ffff92001a7af54 R14: ffffc9000d3d7ac0 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] dummy_pullup+0x18b/0x200 drivers/usb/gadget/udc/dummy_hcd.c:925 usb_gadget_disconnect_locked+0x13c/0x4b0 drivers/usb/gadget/udc/core.c:777 gadget_unbind_driver+0xca/0x460 drivers/usb/gadget/udc/core.c:1666 device_remove drivers/base/dd.c:567 [inline] __device_release_driver drivers/base/dd.c:1273 [inline] device_release_driver_internal+0x4a9/0x7c0 drivers/base/dd.c:1296 driver_detach+0x1fb/0x2d0 drivers/base/dd.c:1359 bus_remove_driver+0x1f3/0x320 drivers/base/bus.c:744 usb_gadget_unregister_driver+0x4e/0x70 drivers/usb/gadget/udc/core.c:1732 raw_release+0xf6/0x1e0 drivers/usb/gadget/legacy/raw_gadget.c:462 __fput+0x23c/0xa50 fs/file_table.c:450 task_work_run+0x24f/0x310 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8e2af85d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd3d5885c8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 000000000000e476 RCX: 00007f8e2af85d29 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f8e2b177ba0 R08: 0000000000000001 R09: 00007ffd3d5888bf R10: 00007f8e2adff02c R11: 0000000000000246 R12: 000000000000ed00 R13: 00007f8e2b175fa0 R14: 0000000000000032 R15: ffffffffffffffff ---------------- Code disassembly (best guess): 0: 9c pushf 1: 8f 44 24 20 pop 0x20(%rsp) 5: 42 80 3c 23 00 cmpb $0x0,(%rbx,%r12,1) a: 74 08 je 0x14 c: 4c 89 f7 mov %r14,%rdi f: e8 5e 79 3a f6 call 0xf63a7972 14: f6 44 24 21 02 testb $0x2,0x21(%rsp) 19: 75 52 jne 0x6d 1b: 41 f7 c7 00 02 00 00 test $0x200,%r15d 22: 74 01 je 0x25 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 d3 26 a2 f5 call 0xf5a22702 <-- trapping instruction 2f: 65 8b 05 74 7a 38 74 mov %gs:0x74387a74(%rip),%eax # 0x74387aaa 36: 85 c0 test %eax,%eax 38: 74 43 je 0x7d 3a: 48 rex.W 3b: c7 .byte 0xc7 3c: 04 24 add $0x24,%al 3e: 0e (bad) 3f: 36 ss