------------[ cut here ]------------ usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0 WARNING: drivers/usb/gadget/udc/core.c:124 at usb_ep_enable+0x3e6/0x490 drivers/usb/gadget/udc/core.c:124, CPU#1: syz-executor/17011 Modules linked in: CPU: 1 UID: 0 PID: 17011 Comm: syz-executor Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026 RIP: 0010:usb_ep_enable+0x3f8/0x490 drivers/usb/gadget/udc/core.c:124 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 93 00 00 00 48 8d 3d 2a 3e 60 09 48 8b 4b 08 40 0f b6 d5 4d 89 e0 48 c7 c6 80 ad b7 8c <67> 48 0f b9 3a bd ea ff ff ff e9 8e fd ff ff 49 c7 c4 20 a0 b7 8c RSP: 0018:ffffc90000a08a10 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff888028b840e0 RCX: ffffffff8cb7e420 RDX: 0000000000000081 RSI: ffffffff8cb7ad80 RDI: ffffffff91301dc0 RBP: 0000000000000081 R08: ffffffff8cb7a060 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffffffff8cb7a060 R13: 0000000000000000 R14: ffff888028b840e0 R15: ffff88808c0b00a0 FS: 000055558c787500(0000) GS:ffff888123ed8000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5eeb9556c8 CR3: 00000000270ef000 CR4: 00000000003526f0 Call Trace: hidg_set_alt+0x190/0xa10 drivers/usb/gadget/function/f_hid.c:1042 set_config drivers/usb/gadget/composite.c:1018 [inline] composite_setup+0x2ccf/0x9290 drivers/usb/gadget/composite.c:1901 configfs_composite_setup+0xfb/0x130 drivers/usb/gadget/configfs.c:1877 dummy_timer+0x2045/0x36f0 drivers/usb/gadget/udc/dummy_hcd.c:1951 __run_hrtimer kernel/time/hrtimer.c:2032 [inline] __hrtimer_run_queues+0x462/0x9c0 kernel/time/hrtimer.c:2096 hrtimer_run_softirq+0x17d/0x2c0 kernel/time/hrtimer.c:2113 handle_softirqs+0x1ea/0x9b0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x162/0x210 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:native_set_pte arch/x86/include/asm/pgtable_64.h:63 [inline] RIP: 0010:set_ptes include/linux/pgtable.h:450 [inline] RIP: 0010:__copy_present_ptes mm/memory.c:1118 [inline] RIP: 0010:copy_present_ptes mm/memory.c:1197 [inline] RIP: 0010:copy_pte_range mm/memory.c:1320 [inline] RIP: 0010:copy_pmd_range mm/memory.c:1408 [inline] RIP: 0010:copy_pud_range mm/memory.c:1445 [inline] RIP: 0010:copy_p4d_range mm/memory.c:1469 [inline] RIP: 0010:copy_page_range+0x1abd/0x5b20 mm/memory.c:1555 Code: 33 35 00 00 48 8b 44 24 10 48 8b 68 10 e9 d3 06 00 00 e8 36 07 aa ff 48 8b 44 24 50 48 b9 00 00 00 00 00 fc ff df 48 c1 e8 03 <80> 3c 08 00 0f 85 12 35 00 00 48 8b 44 24 50 48 83 7c 24 70 00 48 RSP: 0018:ffffc900033ef548 EFLAGS: 00000a06 RAX: 1ffff1100ea3736a RBX: 8000000060971007 RCX: dffffc0000000000 RDX: ffff888050004a80 RSI: ffffffff82605aaa RDI: ffff888050004f44 RBP: ffff88807a903fc0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000028 R13: 000000000000bdf8 R14: ffff8880913e9b50 R15: ffffea0001825c40 dup_mmap+0xd44/0x21b0 mm/mmap.c:1840 dup_mm kernel/fork.c:1543 [inline] copy_mm kernel/fork.c:1595 [inline] copy_process+0x4588/0x8030 kernel/fork.c:2289 kernel_clone+0x176/0x9d0 kernel/fork.c:2748 __do_sys_clone+0xd9/0x120 kernel/fork.c:2889 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5eeabc6a92 Code: 89 e7 e8 71 8b f7 ff 45 31 c0 31 d2 31 f6 64 48 8b 04 25 10 00 00 00 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 66 89 c5 85 c0 75 3b 64 48 8b 04 25 10 00 00 RSP: 002b:00007ffccd4d9160 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007ffccd4d9160 RCX: 00007f5eeabc6a92 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 00007ffccd4d92ec R08: 0000000000000000 R09: 0000000000000001 R10: 000055558c7877d0 R11: 0000000000000246 R12: 0000000000000001 R13: 00000000000927c0 R14: 00000000000d0cf8 R15: 00007ffccd4d9340 ---------------- Code disassembly (best guess): 0: 48 89 fa mov %rdi,%rdx 3: 48 c1 ea 03 shr $0x3,%rdx 7: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) b: 0f 85 93 00 00 00 jne 0xa4 11: 48 8d 3d 2a 3e 60 09 lea 0x9603e2a(%rip),%rdi # 0x9603e42 18: 48 8b 4b 08 mov 0x8(%rbx),%rcx 1c: 40 0f b6 d5 movzbl %bpl,%edx 20: 4d 89 e0 mov %r12,%r8 23: 48 c7 c6 80 ad b7 8c mov $0xffffffff8cb7ad80,%rsi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: bd ea ff ff ff mov $0xffffffea,%ebp 34: e9 8e fd ff ff jmp 0xfffffdc7 39: 49 c7 c4 20 a0 b7 8c mov $0xffffffff8cb7a020,%r12