------------[ 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#1: kworker/1:6/8741
Modules linked in:
CPU: 1 UID: 0 PID: 8741 Comm: kworker/1:6 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: 1a c8 79 fa 49 83 3f 00 48 c7 c0 e0 22 b2 8c 49 c7 c0 00 23 b2 8c 4c 0f 44 c0 4c 89 f7 48 c7 c6 e4 b3 4e 8e 44 89 ea 4c 89 e1 <67> 48 0f b9 3a bd ea ff ff ff 0f 1f 44 00 00 e8 90 6e 0b fa 65 8b
RSP: 0018:ffffc90000a18910 EFLAGS: 00010086
RAX: ffffffff8cb222e0 RBX: ffff88810ad800e0 RCX: ffffffff8cb24100
RDX: 0000000000000081 RSI: ffffffff8e4eb3e4 RDI: ffffffff9066e3e0
RBP: dffffc0000000000 R08: ffffffff8cb22300 R09: 0000000000000002
R10: 0000000000000003 R11: 0000000000000100 R12: ffffffff8cb24100
R13: 0000000000000081 R14: ffffffff9066e3e0 R15: ffff88810ad800f8
FS:  0000000000000000(0000) GS:ffff8882a8f0b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056095fc58950 CR3: 0000000115e84000 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+0x2f43/0x4cf0
 __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 0d ba c5 f5 f7 c3 00 02 00 00 74 05 e8 e0 df f1 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> e4 d8 b6 f5 65 8b 05 3d 61 93 07 85 c0 74 18 5b 41 5e c3 cc cc
RSP: 0018:ffffc9000356ef50 EFLAGS: 00000206
RAX: 0000000000000002 RBX: 0000000000000246 RCX: 0000000080000001
RDX: 0000000000000006 RSI: ffffffff8e255f39 RDI: 0000000000000001
RBP: 0000000000000007 R08: ffffffff9059027f R09: 1ffffffff20b204f
R10: dffffc0000000000 R11: fffffbfff20b2050 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff88810ad80000 R15: 1ffff110217a1294
 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+0x9aa/0x1690
 hub_event+0x28e8/0x4d30
 process_scheduled_works+0xc4e/0x1630
 worker_thread+0xa47/0xfb0
 kthread+0x388/0x470
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
