------------[ cut here ]------------ usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0 WARNING: drivers/usb/gadget/udc/core.c:125 at usb_ep_enable+0x290/0x608 drivers/usb/gadget/udc/core.c:124, CPU#0: kworker/0:3/4479 Modules linked in: CPU: 0 UID: 0 PID: 4479 Comm: kworker/0:3 Tainted: G L syzkaller #0 PREEMPT Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/02/2026 Workqueue: usb_hub_wq hub_event pstate: 634000c5 (nZCv daIF +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : usb_ep_enable+0x290/0x608 drivers/usb/gadget/udc/core.c:124 lr : usb_ep_enable+0x290/0x608 drivers/usb/gadget/udc/core.c:124 sp : ffff80008eb278e0 x29: ffff80008eb278e0 x28: 1fffe0001b2d7105 x27: 1fffe0001b2d711b x26: dfff800000000000 x25: ffff0000d96b8828 x24: 1fffe000192f7823 x23: ffff0000c97bc0e8 x22: dfff800000000000 x21: 0000000000000081 x20: ffff0000ca519cba x19: ffff0000c97bc0e0 x18: 00000000ffffffff x17: ffff800083595394 x16: ffff800083599104 x15: ffff8000835aeb04 x14: 0000000000000000 x13: 0000000000000001 x12: ffff0000c44e0000 x11: 0000000000000000 x10: 0000000000000105 x9 : ab7bf116cf3bae00 x8 : ab7bf116cf3bae00 x7 : ffff80008048e080 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000000 x3 : ffff8000802f8070 x2 : 0000000000000103 x1 : ffff0000c44e0000 x0 : 0000000000000000 Call trace: usb_ep_enable+0x290/0x608 drivers/usb/gadget/udc/core.c:124 (P) hidg_set_alt+0x128/0x830 drivers/usb/gadget/function/f_hid.c:1042 set_config+0x458/0xa44 drivers/usb/gadget/composite.c:1018 composite_setup+0x17f4/0x2ad4 drivers/usb/gadget/composite.c:1901 configfs_composite_setup+0xbc/0x100 drivers/usb/gadget/configfs.c:1877 dummy_timer+0x1e10/0x2ba0 drivers/usb/gadget/udc/dummy_hcd.c:1951 __run_hrtimer kernel/time/hrtimer.c:2032 [inline] __hrtimer_run_queues+0x314/0xbe0 kernel/time/hrtimer.c:2096 hrtimer_run_softirq+0x15c/0x21c kernel/time/hrtimer.c:2113 handle_softirqs+0x2ec/0xd98 kernel/softirq.c:622 __do_softirq+0x14/0x20 kernel/softirq.c:656 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:78 call_on_irq_stack+0x30/0x48 arch/arm64/kernel/entry.S:889 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:83 invoke_softirq kernel/softirq.c:503 [inline] __irq_exit_rcu+0x1ac/0x428 kernel/softirq.c:735 irq_exit_rcu+0x14/0x84 kernel/softirq.c:752 __el1_irq arch/arm64/kernel/entry-common.c:510 [inline] el1_interrupt+0x40/0x60 arch/arm64/kernel/entry-common.c:522 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:527 el1h_64_irq+0x6c/0x70 arch/arm64/kernel/entry.S:590 __daif_local_irq_restore arch/arm64/include/asm/irqflags.h:175 [inline] (P) arch_local_irq_restore arch/arm64/include/asm/irqflags.h:195 [inline] (P) __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] (P) _raw_spin_unlock_irqrestore+0x44/0x98 kernel/locking/spinlock.c:198 (P) spin_unlock_irqrestore include/linux/spinlock.h:408 [inline] dummy_urb_enqueue+0x4b4/0x690 drivers/usb/gadget/udc/dummy_hcd.c:1337 usb_hcd_submit_urb+0x2dc/0x169c drivers/usb/core/hcd.c:1542 usb_submit_urb+0xd44/0x1458 drivers/usb/core/urb.c:586 usb_start_wait_urb+0x104/0x478 drivers/usb/core/message.c:62 usb_internal_control_msg drivers/usb/core/message.c:117 [inline] usb_control_msg+0x1e8/0x378 drivers/usb/core/message.c:167 usb_control_msg_send drivers/usb/core/message.c:226 [inline] usb_set_configuration+0xd38/0x158c drivers/usb/core/message.c:2209 usb_generic_driver_probe+0x8c/0x148 drivers/usb/core/generic.c:250 usb_probe_device+0x114/0x2b0 drivers/usb/core/driver.c:291 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x29c/0x800 drivers/base/dd.c:706 __driver_probe_device+0x1e0/0x350 drivers/base/dd.c:868 driver_probe_device+0x6c/0x19c drivers/base/dd.c:898 __device_attach_driver+0x198/0x2f8 drivers/base/dd.c:1026 bus_for_each_drv+0x144/0x1dc drivers/base/bus.c:500 __device_attach+0x248/0x390 drivers/base/dd.c:1098 device_initial_probe+0x90/0xc8 drivers/base/dd.c:1153 bus_probe_device+0x58/0x120 drivers/base/bus.c:620 device_add+0x6cc/0x9e0 drivers/base/core.c:3772 usb_new_device+0x9bc/0x11f0 drivers/usb/core/hub.c:2695 hub_port_connect drivers/usb/core/hub.c:5567 [inline] hub_port_connect_change drivers/usb/core/hub.c:5707 [inline] port_event drivers/usb/core/hub.c:5871 [inline] hub_event+0x1ef0/0x39fc drivers/usb/core/hub.c:5953 process_one_work kernel/workqueue.c:3322 [inline] process_scheduled_works+0x788/0x10b8 kernel/workqueue.c:3405 worker_thread+0x798/0xbd0 kernel/workqueue.c:3486 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:842 irq event stamp: 158663 hardirqs last enabled at (158662): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (158662): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:198 hardirqs last disabled at (158663): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (158663): [] _raw_spin_lock_irqsave+0x2c/0x7c kernel/locking/spinlock.c:166 softirqs last enabled at (158630): [] softirq_handle_end kernel/softirq.c:468 [inline] softirqs last enabled at (158630): [] handle_softirqs+0xc28/0xd98 kernel/softirq.c:650 softirqs last disabled at (158657): [] __do_softirq+0x14/0x20 kernel/softirq.c:656 ---[ end trace 0000000000000000 ]--- configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED!