cm109 5-1:0.8: cm109_urb_irq_callback: urb status -71 ------------[ cut here ]------------ URB ffff888028e32b00 submitted while active WARNING: CPU: 1 PID: 4409 at drivers/usb/core/urb.c:379 usb_submit_urb+0x10b1/0x1990 drivers/usb/core/urb.c:379 Modules linked in: CPU: 1 PID: 4409 Comm: syz.4.13 Not tainted 6.1.123-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:usb_submit_urb+0x10b1/0x1990 drivers/usb/core/urb.c:379 Code: 77 11 fb eb 4d e8 bf 77 11 fb e9 fc ef ff ff e8 b5 77 11 fb c6 05 a9 8e 0d 08 01 48 c7 c7 20 e3 ac 8b 4c 89 ee e8 5f 91 d9 fa <0f> 0b e9 c7 ef ff ff e8 93 77 11 fb eb 1a e8 8c 77 11 fb eb 13 e8 RSP: 0018:ffffc900001e07f8 EFLAGS: 00010046 RAX: 431a789c3296fd00 RBX: ffff888057902848 RCX: 0000000000040000 RDX: ffffc90002322000 RSI: 00000000000064f7 RDI: 00000000000064f8 RBP: ffff888028e32b08 R08: ffffffff8152b84e R09: ffffed10171e4f1c R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff888028e32b00 R14: 0000000000000a20 R15: ffff888143e93d71 FS: 0000555582757500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c465e63 CR3: 00000000589a4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cm109_urb_irq_callback+0x6c4/0xc20 drivers/input/misc/cm109.c:422 __usb_hcd_giveback_urb+0x371/0x530 drivers/usb/core/hcd.c:1675 dummy_timer+0x8dc/0x32b0 drivers/usb/gadget/udc/dummy_hcd.c:1994 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1753 hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1770 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571 __do_softirq kernel/softirq.c:605 [inline] invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654 irq_exit_rcu+0x5/0x20 kernel/softirq.c:666 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 a2 60 25 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 17 c0 a1 f6 65 8b 05 b8 9f 45 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90004a2f9a0 EFLAGS: 00000206 RAX: 431a789c3296fd00 RBX: 1ffff92000945f38 RCX: ffffffff816b126a RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: 0000000000000001 RBP: ffffc90004a2fa30 R08: dffffc0000000000 R09: fffffbfff2249e72 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff92000945f34 R14: ffffc90004a2f9c0 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] usb_hcd_poll_rh_status+0x3ba/0x590 drivers/usb/core/hcd.c:789 dummy_pullup+0x196/0x200 drivers/usb/gadget/udc/dummy_hcd.c:927 usb_gadget_disconnect_locked+0x155/0x530 drivers/usb/gadget/udc/core.c:777 gadget_unbind_driver+0xbc/0x3f0 drivers/usb/gadget/udc/core.c:1641 device_remove drivers/base/dd.c:548 [inline] __device_release_driver drivers/base/dd.c:1260 [inline] device_release_driver_internal+0x4f3/0x880 drivers/base/dd.c:1286 driver_detach+0x1f7/0x2d0 drivers/base/dd.c:1349 bus_remove_driver+0xf9/0x250 drivers/base/bus.c:679 usb_gadget_unregister_driver+0x4a/0x70 drivers/usb/gadget/udc/core.c:1707 raw_release+0xf5/0x1e0 drivers/usb/gadget/legacy/raw_gadget.c:415 __fput+0x3f6/0x8d0 fs/file_table.c:320 task_work_run+0x246/0x300 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fc002985d29 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:00007ffd21bb9c78 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 0000000000013c56 RCX: 00007fc002985d29 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fc002b77ba0 R08: 0000000000000001 R09: 00007ffd21bb9f6f R10: 00007fc002600000 R11: 0000000000000246 R12: 0000000000014205 R13: 00007fc002b75fa0 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 a2 60 25 f7 call 0xf72560b6 14: f6 44 24 21 02 testb $0x2,0x21(%rsp) 19: 75 4e jne 0x69 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 17 c0 a1 f6 call 0xf6a1c046 <-- trapping instruction 2f: 65 8b 05 b8 9f 45 75 mov %gs:0x75459fb8(%rip),%eax # 0x75459fee 36: 85 c0 test %eax,%eax 38: 74 3f je 0x79 3a: 48 rex.W 3b: c7 .byte 0xc7 3c: 04 24 add $0x24,%al 3e: 0e (bad) 3f: 36 ss