gadgetfs: configuration #1
cm109 1-1:0.8: cm109_urb_irq_callback: urb status -71
------------[ cut here ]------------
URB ffff8880297f4e00 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.7/5786
Modules linked in:
CPU: 0 UID: 0 PID: 5786 Comm: syz.0.7 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
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 69 10 ba fa 49 83 3e 00 74 40 e8 2e 43 48 fa 48 8d 3d c7 61 49 09 48 89 de <67> 48 0f b9 3a b8 f0 ff ff ff eb 11 e8 13 43 48 fa eb 05 e8 0c 43
RSP: 0018:ffffc900000079f8 EFLAGS: 00010087
RAX: ffffffff8780ee22 RBX: ffff8880297f4e00 RCX: 0000000000040000
RDX: ffffc90002332000 RSI: ffff8880297f4e00 RDI: ffffffff90ca4ff0
RBP: dffffc0000000000 R08: 0000000000000100 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000000f3c R12: ffff8880588b1048
R13: ffff8880588b1030 R14: ffff8880297f4e08 R15: 0000000000000820
FS: 0000000000000000(0000) GS:ffff888124623000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcc4fccd170 CR3: 0000000079e52000 CR4: 00000000003526f0
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+0x378/0x540 drivers/usb/core/hcd.c:1658
dummy_timer+0xa91/0x4cf0 drivers/usb/gadget/udc/dummy_hcd.c:2019
__run_hrtimer kernel/time/hrtimer.c:2075 [inline]
__hrtimer_run_queues+0x3bc/0xa10 kernel/time/hrtimer.c:2132
hrtimer_run_softirq+0x1e3/0x2e0 kernel/time/hrtimer.c:2149
handle_softirqs+0x223/0x840 kernel/softirq.c:645
__do_softirq kernel/softirq.c:679 [inline]
invoke_softirq kernel/softirq.c:519 [inline]
__irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758
irq_exit_rcu+0x9/0x30 kernel/softirq.c:775
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:211 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x47/0x80 kernel/locking/spinlock.c:221
Code: f7 e8 1d 34 a2 f5 f7 c3 00 02 00 00 74 05 e8 d0 c2 ce f5 9c 58 a9 00 02 00 00 75 29 f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 24 2d 93 f5 65 48 8b 05 2c 10 dd 07 48 85 c0 74 18 5b 41 5e c3
RSP: 0018:ffffc90004a07668 EFLAGS: 00000206
RAX: 0000000000000006 RBX: 0000000000000202 RCX: 8000000000000001
RDX: 0000000000000006 RSI: ffffffff8e74f1c1 RDI: 0000000000000001
RBP: ffffc90004a07760 R08: ffffffff90bc9ebf R09: 1ffffffff21793d7
R10: dffffc0000000000 R11: fffffbfff21793d8 R12: dffffc0000000000
R13: ffff8880295ecd00 R14: ffffffff8ff20b20 R15: 0000000000000001
spin_unlock_irqrestore include/linux/spinlock.h:425 [inline]
usb_hcd_poll_rh_status+0x3e9/0x600 drivers/usb/core/hcd.c:758
dummy_pullup+0xde/0x120 drivers/usb/gadget/udc/dummy_hcd.c:936
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:835
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+0x413/0xa50 fs/file_table.c:513
fput_close_sync+0x11f/0x240 fs/file_table.c:618
filp_close_sync+0x6e/0xa0 fs/open.c:1573
close_files fs/file.c:572 [inline]
put_files_struct+0x230/0x3c0 fs/file.c:584
do_exit+0x6f0/0x2380 kernel/exit.c:977
do_group_exit+0x22d/0x2f0 kernel/exit.c:1123
get_signal+0x1216/0x12c0 kernel/signal.c:3112
arch_do_signal_or_restart+0xbb/0x860 arch/x86/kernel/signal.c:337
__exit_to_user_mode_loop kernel/entry/common.c:66 [inline]
exit_to_user_mode_loop+0x10e/0x770 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:343 [inline]
do_syscall_64+0x328/0x520 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f56a6f9e159
Code: Unable to access opcode bytes at 0x7f56a6f9e12f.
RSP: 002b:00007f56a7dda028 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: 0000000000000121 RBX: 00007f56a7225fa0 RCX: 00007f56a6f9e159
RDX: 0000000000000318 RSI: 00002000000bd000 RDI: 0000000000000004
RBP: 00007f56a703506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f56a7226038 R14: 00007f56a7225fa0 R15: 00007ffe31dd2a78
----------------
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 69 10 ba fa call 0xfaba107e
15: 49 83 3e 00 cmpq $0x0,(%r14)
19: 74 40 je 0x5b
1b: e8 2e 43 48 fa call 0xfa48434e
20: 48 8d 3d c7 61 49 09 lea 0x94961c7(%rip),%rdi # 0x94961ee
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 13 43 48 fa call 0xfa48434e
3b: eb 05 jmp 0x42
3d: e8 .byte 0xe8
3e: 0c 43 or $0x43,%al