------------[ 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#1: syz.1.1756/10632 Modules linked in: CPU: 1 UID: 0 PID: 10632 Comm: syz.1.1756 Tainted: G L syzkaller #0 PREEMPT Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/02/2026 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 : ffff80008eb378e0 x29: ffff80008eb378e0 x28: 1fffe00018b05905 x27: 1fffe00018b0591b x26: dfff800000000000 x25: ffff0000c582c828 x24: 1fffe00019505823 x23: ffff0000ca82c0e8 x22: dfff800000000000 x21: 0000000000000081 x20: ffff0000c5a2473a x19: ffff0000ca82c0e0 x18: 00000000ffffffff x17: ffff80008a791000 x16: 0000000000000008 x15: ffff80008a31ada0 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000000 x11: 0000000000000000 x10: 0000000000000105 x9 : 7b1a93e476afe200 x8 : 7b1a93e476afe200 x7 : ffff80008048e080 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000000 x3 : ffff8000802f8070 x2 : 0000000000000103 x1 : ffff0000d8af57c0 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 encode_page include/linux/mm_types.h:258 [inline] (P) __tlb_remove_folio_pages_size+0xa0/0x4d8 mm/mmu_gather.c:-1 (P) __tlb_remove_folio_pages+0x3c/0x54 mm/mmu_gather.c:210 zap_present_folio_ptes mm/memory.c:1677 [inline] zap_present_ptes mm/memory.c:1730 [inline] do_zap_pte_range mm/memory.c:1832 [inline] zap_pte_range mm/memory.c:1934 [inline] zap_pmd_range mm/memory.c:2020 [inline] zap_pud_range mm/memory.c:2048 [inline] zap_p4d_range mm/memory.c:2069 [inline] __zap_vma_range+0x1a24/0x42f4 mm/memory.c:2109 unmap_vmas+0x2e0/0x43c mm/memory.c:2178 exit_mmap+0x1e8/0xad4 mm/mmap.c:1300 __mmput+0xe0/0x2e8 kernel/fork.c:1187 mmput+0x70/0xa8 kernel/fork.c:1210 exit_mm+0x1ac/0x264 kernel/exit.c:615 do_exit+0x524/0x1a74 kernel/exit.c:997 do_group_exit+0x198/0x238 kernel/exit.c:1152 get_signal+0xfb0/0x1094 kernel/signal.c:3046 arch_do_signal_or_restart+0x288/0x444c arch/arm64/kernel/signal.c:1665 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0x70/0x17c 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] arm64_syscall_exit_to_user_mode arch/arm64/kernel/entry-common.c:88 [inline] el0_svc+0x18c/0x260 arch/arm64/kernel/entry-common.c:737 el0t_64_sync_handler+0x48/0x148 arch/arm64/kernel/entry-common.c:755 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:594 irq event stamp: 303 hardirqs last enabled at (302): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (302): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:198 hardirqs last disabled at (303): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (303): [] _raw_spin_lock_irqsave+0x2c/0x7c kernel/locking/spinlock.c:166 softirqs last enabled at (240): [] local_bh_enable include/linux/bottom_half.h:33 [inline] softirqs last enabled at (240): [] put_cpu_fpsimd_context arch/arm64/kernel/fpsimd.c:251 [inline] softirqs last enabled at (240): [] fpsimd_restore_current_state+0x39c/0x9c8 arch/arm64/kernel/fpsimd.c:1797 softirqs last disabled at (299): [] __do_softirq+0x14/0x20 kernel/softirq.c:656 ---[ end trace 0000000000000000 ]--- configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED!