------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: drivers/usb/gadget/udc/core.c:125 at usb_ep_enable+0x148/0x480, CPU#0: kworker/0:4/5690
Modules linked in:
CPU: 0 UID: 0 PID: 5690 Comm: kworker/0:4 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: usb_hub_wq hub_event
RIP: 0010:usb_ep_enable+0x1bc/0x480
Code: ea c0 7e fa 49 83 3f 00 48 c7 c0 e0 33 b1 8c 49 c7 c0 00 34 b1 8c 4c 0f 44 c0 4c 89 f7 48 c7 c6 c5 0d 4c 8e 44 89 ea 4c 89 e1 <67> 48 0f b9 3a bd ea ff ff ff 0f 1f 44 00 00 e8 b0 2d 11 fa 65 8b
RSP: 0018:ffffc90000007930 EFLAGS: 00010086
RAX: ffffffff8cb133e0 RBX: ffff88816ca980e0 RCX: ffffffff8cb15200
RDX: 0000000000000081 RSI: ffffffff8e4c0dc5 RDI: ffffffff9065b290
RBP: dffffc0000000000 R08: ffffffff8cb13400 R09: 0000000000000002
R10: 0000000000000003 R11: 0000000000000100 R12: ffffffff8cb15200
R13: 0000000000000081 R14: ffffffff9065b290 R15: ffff88816ca980f8
FS:  0000000000000000(0000) GS:ffff88818d951000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2dd31f93 CR3: 0000000115e58000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 hidg_set_alt+0x12a/0xa60
 set_config+0x749/0x1160
 composite_setup+0x1de7/0x3480
 configfs_composite_setup+0xc7/0x100
 dummy_timer+0x2e55/0x4b40
 __hrtimer_run_queues+0x3bc/0xa10
 hrtimer_run_softirq+0x17a/0x240
 handle_softirqs+0x225/0x840
 __irq_exit_rcu+0xca/0x220
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:_raw_spin_unlock_irqrestore+0x47/0x80
Code: f7 e8 ad 3c d0 f5 f7 c3 00 02 00 00 74 05 e8 a0 1e fc f5 9c 58 a9 00 02 00 00 75 27 f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> b4 52 c1 f5 65 8b 05 ad d2 99 07 85 c0 74 18 5b 41 5e e9 91 48
RSP: 0018:ffffc9000669ef70 EFLAGS: 00000206
RAX: 0000000000000002 RBX: 0000000000000246 RCX: 0000000080000001
RDX: 0000000000000006 RSI: ffffffff8e22c232 RDI: 0000000000000001
RBP: 0000000000000007 R08: ffffffff90578937 R09: 1ffffffff20af126
R10: dffffc0000000000 R11: fffffbfff20af127 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff88816ca98000 R15: 1ffff1102db92094
 dummy_urb_enqueue+0x587/0x780
 usb_hcd_submit_urb+0x328/0x1b60
 usb_start_wait_urb+0x13f/0x5b0
 usb_control_msg+0x234/0x3e0
 usb_set_configuration+0x12b1/0x2180
 usb_generic_driver_probe+0x8d/0x150
 usb_probe_device+0x1c3/0x3b0
 really_probe+0x254/0xae0
 __driver_probe_device+0x1e8/0x360
 driver_probe_device+0x4f/0x240
 __device_attach_driver+0x270/0x410
 bus_for_each_drv+0x258/0x2f0
 __device_attach+0x2c4/0x450
 device_initial_probe+0xa1/0xd0
 bus_probe_device+0x12a/0x220
 device_add+0x7d7/0xb80
 usb_new_device+0x99d/0x1620
 hub_event+0x28e8/0x4d30
 process_scheduled_works+0xa8e/0x14e0
 worker_thread+0xa47/0xfb0
 kthread+0x388/0x470
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
