cm109 2-1:0.8: cm109_urb_irq_callback: urb status -71
------------[ cut here ]------------
URB ffff888035a5e000 submitted while active
WARNING: CPU: 0 PID: 13534 at drivers/usb/core/urb.c:379 usb_submit_urb+0x14da/0x1730 drivers/usb/core/urb.c:379
Modules linked in:
CPU: 0 UID: 0 PID: 13534 Comm: syz.1.1896 Not tainted 6.13.0-rc4-syzkaller-00004-gf07044dd0df0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:usb_submit_urb+0x14da/0x1730 drivers/usb/core/urb.c:379
Code: fd eb cb bb fe ff ff ff e9 c1 f3 ff ff e8 fe ef ae fa c6 05 b8 c2 5c 09 01 90 48 c7 c7 a0 1f 2e 8c 48 89 de e8 77 29 6f fa 90 <0f> 0b 90 90 e9 b6 fe ff ff bb f8 ff ff ff e9 91 f3 ff ff 48 89 ef
RSP: 0018:ffffc90000007a88 EFLAGS: 00010086
RAX: 0000000000000000 RBX: ffff888035a5e000 RCX: ffffc90002201000
RDX: 0000000000040000 RSI: ffffffff815a50e6 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: fffffffffffd6968 R12: 0000000000000087
R13: ffff888032554858 R14: 000000000000000f R15: 0000000000000001
FS: 000055558d931500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f1fdff8 CR3: 0000000079b7c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000097 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
cm109_submit_ctl drivers/input/misc/cm109.c:380 [inline]
cm109_urb_irq_callback+0x2e7/0xb60 drivers/input/misc/cm109.c:431
__usb_hcd_giveback_urb+0x389/0x6e0 drivers/usb/core/hcd.c:1650
usb_hcd_giveback_urb+0x396/0x450 drivers/usb/core/hcd.c:1734
dummy_timer+0x17f7/0x3960 drivers/usb/gadget/udc/dummy_hcd.c:1993
__run_hrtimer kernel/time/hrtimer.c:1739 [inline]
__hrtimer_run_queues+0x20a/0xae0 kernel/time/hrtimer.c:1803
hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1820
handle_softirqs+0x213/0x8f0 kernel/softirq.c:561
__do_softirq kernel/softirq.c:595 [inline]
invoke_softirq kernel/softirq.c:435 [inline]
__irq_exit_rcu+0x109/0x170 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+0xa4/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+0x31/0x80 kernel/locking/spinlock.c:194
Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 a6 72 4a f6 48 89 df e8 ee f1 4a f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 e5 d6 3b f6 65 8b 05 a6 92 d7 74 85 c0 74 16 5b
RSP: 0018:ffffc9000d89fbd0 EFLAGS: 00000246
RAX: 0000000000000006 RBX: ffff888036f5a860 RCX: 1ffffffff2dd08a5
RDX: 0000000000000000 RSI: ffffffff8b6cd9e0 RDI: ffffffff8bd1ed60
RBP: 0000000000000293 R08: 0000000000000001 R09: fffffbfff2dca3a8
R10: ffffffff96e51d47 R11: 0000000000000004 R12: ffff88802ba41320
R13: 0000000000000002 R14: 0000000000000000 R15: ffff888036f5a978
spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
raw_event_queue_add+0x19a/0x220 drivers/usb/gadget/legacy/raw_gadget.c:84
raw_queue_event drivers/usb/gadget/legacy/raw_gadget.c:239 [inline]
gadget_disconnect+0x5a/0x130 drivers/usb/gadget/legacy/raw_gadget.c:387
usb_gadget_disconnect_locked+0x20a/0x4f0 drivers/usb/gadget/udc/core.c:783
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:1273 [inline]
device_release_driver_internal+0x44a/0x610 drivers/base/dd.c:1296
driver_detach+0xd8/0x1b0 drivers/base/dd.c:1359
bus_remove_driver+0x13b/0x2c0 drivers/base/bus.c:744
driver_unregister+0x76/0xb0 drivers/base/driver.c:274
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+0x3f8/0xb60 fs/file_table.c:450
task_work_run+0x14e/0x250 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+0x27b/0x2a0 kernel/entry/common.c:218
do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8623185d29
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:00007fffb9aaea98 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00000000000cfd48 RCX: 00007f8623185d29
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f8623377ba0 R08: 0000000000000001 R09: 00007fffb9aaed8f
R10: 00007f8623000000 R11: 0000000000000246 R12: 00000000000d0a0f
R13: 00007f8623375fa0 R14: 000000000000015e R15: ffffffffffffffff
----------------
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 a6 72 4a f6 call 0xf64a72b9
13: 48 89 df mov %rbx,%rdi
16: e8 ee f1 4a f6 call 0xf64af209
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 e5 d6 3b f6 call 0xf63bd719
34: 65 8b 05 a6 92 d7 74 mov %gs:0x74d792a6(%rip),%eax # 0x74d792e1
3b: 85 c0 test %eax,%eax
3d: 74 16 je 0x55
3f: 5b pop %rbx