------------[ cut here ]------------ usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0 WARNING: CPU: 0 PID: 14 at drivers/usb/gadget/udc/core.c:125 usb_ep_enable+0x2a8/0x528 drivers/usb/gadget/udc/core.c:124 Modules linked in: CPU: 0 PID: 14 Comm: kworker/0:1 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/02/2026 Workqueue: usb_hub_wq hub_event pstate: 624000c5 (nZCv daIF +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : usb_ep_enable+0x2a8/0x528 drivers/usb/gadget/udc/core.c:124 lr : usb_ep_enable+0x2a8/0x528 drivers/usb/gadget/udc/core.c:124 sp : ffff8000080078a0 x29: ffff8000080078a0 x28: 1fffe0001be024d2 x27: 1fffe0001be024e8 x26: dfff800000000000 x25: ffff0000df012690 x24: 1fffe0001a375021 x23: ffff0000d1ba80e8 x22: dfff800000000000 x21: 0000000000000081 x20: ffff0000d1c5663a x19: ffff0000d1ba80e0 x18: 1fffe00033e7277e x17: 0000000000000000 x16: ffff800011b90080 x15: 0000000000000000 x14: 0000000000000001 x13: 1fffe00033e727a3 x12: 0000000000000000 x11: ff00800008195f70 x10: 0000000000000000 x9 : 99fff4f86d8fbb00 x8 : 99fff4f86d8fbb00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800008007338 x4 : ffff800015464e80 x3 : ffff800008540904 x2 : 0000000000000001 x1 : 0000000100000103 x0 : 0000000000000000 Call trace: usb_ep_enable+0x2a8/0x528 drivers/usb/gadget/udc/core.c:124 hidg_set_alt+0x128/0x820 drivers/usb/gadget/function/f_hid.c:822 set_config+0x668/0xdf8 drivers/usb/gadget/composite.c:986 composite_setup+0x1590/0x27f4 drivers/usb/gadget/composite.c:1893 configfs_composite_setup+0xc0/0x104 drivers/usb/gadget/configfs.c:1484 dummy_timer+0xd8c/0x2840 drivers/usb/gadget/udc/dummy_hcd.c:1936 __run_hrtimer kernel/time/hrtimer.c:1751 [inline] __hrtimer_run_queues+0x444/0xc58 kernel/time/hrtimer.c:1815 hrtimer_run_softirq+0x164/0x408 kernel/time/hrtimer.c:1832 handle_softirqs+0x318/0xc90 kernel/softirq.c:596 __do_softirq+0x14/0x20 kernel/softirq.c:630 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 call_on_irq_stack+0x30/0x48 arch/arm64/kernel/entry.S:897 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:85 invoke_softirq kernel/softirq.c:477 [inline] __irq_exit_rcu+0x23c/0x430 kernel/softirq.c:679 irq_exit_rcu+0x14/0x84 kernel/softirq.c:691 __el1_irq arch/arm64/kernel/entry-common.c:472 [inline] el1_interrupt+0x38/0x54 arch/arm64/kernel/entry-common.c:486 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:581 arch_local_irq_restore arch/arm64/include/asm/irqflags.h:122 [inline] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x58/0xac kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] dummy_urb_enqueue+0x294/0x6a0 drivers/usb/gadget/udc/dummy_hcd.c:1319 usb_hcd_submit_urb+0x2d8/0x16c4 drivers/usb/core/hcd.c:1558 usb_submit_urb+0xe10/0x1510 drivers/usb/core/urb.c:596 usb_start_wait_urb+0x104/0x454 drivers/usb/core/message.c:61 usb_internal_control_msg drivers/usb/core/message.c:116 [inline] usb_control_msg+0x1e8/0x378 drivers/usb/core/message.c:166 usb_control_msg_send drivers/usb/core/message.c:225 [inline] usb_set_configuration+0xf34/0x1b88 drivers/usb/core/message.c:2164 usb_generic_driver_probe+0x8c/0x148 drivers/usb/core/generic.c:238 usb_probe_device+0x120/0x258 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x3a0/0xac4 drivers/base/dd.c:638 __driver_probe_device+0x1c8/0x368 drivers/base/dd.c:804 driver_probe_device+0x78/0x324 drivers/base/dd.c:834 __device_attach_driver+0x28c/0x4c0 drivers/base/dd.c:962 bus_for_each_drv+0x154/0x1e4 drivers/base/bus.c:429 __device_attach+0x2a4/0x3d8 drivers/base/dd.c:1034 device_initial_probe+0x24/0x34 drivers/base/dd.c:1083 bus_probe_device+0xbc/0x1c4 drivers/base/bus.c:489 device_add+0x93c/0xe4c drivers/base/core.c:3712 usb_new_device+0x7e4/0x11d0 drivers/usb/core/hub.c:2659 hub_port_connect drivers/usb/core/hub.c:5517 [inline] hub_port_connect_change drivers/usb/core/hub.c:5657 [inline] port_event drivers/usb/core/hub.c:5817 [inline] hub_event+0x2254/0x3e74 drivers/usb/core/hub.c:5899 process_one_work+0x7e4/0x13bc kernel/workqueue.c:2292 worker_thread+0x8cc/0xfe8 kernel/workqueue.c:2439 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 irq event stamp: 250803 hardirqs last enabled at (250802): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (250802): [] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (250803): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (250803): [] _raw_spin_lock_irqsave+0xa4/0xb0 kernel/locking/spinlock.c:162 softirqs last enabled at (249758): [] softirq_handle_end kernel/softirq.c:439 [inline] softirqs last enabled at (249758): [] handle_softirqs+0xb1c/0xc90 kernel/softirq.c:624 softirqs last disabled at (250785): [] __do_softirq+0x14/0x20 kernel/softirq.c:630 ---[ end trace 0000000000000000 ]--- configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED!