------------[ cut here ]------------ usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0 WARNING: CPU: 0 PID: 956 at drivers/usb/gadget/udc/core.c:125 usb_ep_enable+0x27c/0x4d0 drivers/usb/gadget/udc/core.c:124 Modules linked in: CPU: 0 PID: 956 Comm: kworker/0:2 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026 Workqueue: wg-kex-wg0 wg_packet_handshake_receive_worker RIP: 0010:usb_ep_enable+0x27c/0x4d0 drivers/usb/gadget/udc/core.c:124 Code: 49 8b 0e 48 c7 c0 80 08 5e 8b 49 c7 c0 a0 08 5e 8b 4c 0f 44 c0 48 c7 c7 40 08 5e 8b 48 c7 c6 a9 84 85 8c 89 ea e8 e4 b3 d2 fa <0f> 0b e9 c4 fe ff ff e8 18 52 07 fb 49 bc 00 00 00 00 00 fc ff df RSP: 0018:ffffc90000007768 EFLAGS: 00010046 RAX: 324ef6653c55f500 RBX: ffff8881447c00e0 RCX: ffff888027391e00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002 RBP: 0000000000000081 R08: ffff8880b8c279db R09: 1ffff11017184f3b R10: dffffc0000000000 R11: ffffed1017184f3c R12: dffffc0000000000 R13: ffff8881447c010d R14: ffff8881447c00e8 R15: ffff88807d0edc3a FS: 0000000000000000(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3534ea CR3: 000000005f99a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hidg_set_alt+0x126/0xa00 drivers/usb/gadget/function/f_hid.c:823 set_config+0x6e8/0xf70 drivers/usb/gadget/composite.c:986 composite_setup+0x194c/0x2b00 drivers/usb/gadget/composite.c:1893 configfs_composite_setup+0xc3/0x100 drivers/usb/gadget/configfs.c:1484 dummy_timer+0x12ed/0x35d0 drivers/usb/gadget/udc/dummy_hcd.c:1954 __run_hrtimer kernel/time/hrtimer.c:1751 [inline] __hrtimer_run_queues+0x522/0xc90 kernel/time/hrtimer.c:1815 hrtimer_run_softirq+0x173/0x290 kernel/time/hrtimer.c:1832 handle_softirqs+0x291/0x910 kernel/softirq.c:596 __do_softirq kernel/softirq.c:630 [inline] invoke_softirq kernel/softirq.c:470 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679 irq_exit_rcu+0x5/0x20 kernel/softirq.c:691 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:fmul2 arch/x86/crypto/curve25519-x86_64.c:296 [inline] RIP: 0010:point_add_and_double arch/x86/crypto/curve25519-x86_64.c:1006 [inline] RIP: 0010:montgomery_ladder arch/x86/crypto/curve25519-x86_64.c:1098 [inline] RIP: 0010:curve25519_ever64 arch/x86/crypto/curve25519-x86_64.c:1252 [inline] RIP: 0010:curve25519_arch+0x1fac/0x5140 arch/x86/crypto/curve25519-x86_64.c:1599 Code: 0f 38 f6 01 c4 e2 b3 f6 59 28 66 4d 0f 38 f6 cd f3 4c 0f 38 f6 49 08 c4 62 ab f6 69 30 66 4c 0f 38 f6 d3 f3 4c 0f 38 f6 51 10 e2 a3 f6 41 38 66 4d 0f 38 f6 dd f3 4c 0f 38 f6 59 18 66 48 0f RSP: 0018:ffffc90004da70e0 EFLAGS: 00000a46 RAX: 65748021853aefd3 RBX: 0000000000000017 RCX: ffffc90004da7180 RDX: 0000000000000026 RSI: ffffc90004da7260 RDI: 0000000000000000 RBP: ffffc90004da7430 R08: dadf85766018c6be R09: abb9a9c6a1e7be2c R10: 668de4af64014356 R11: 9ef65e68efc7914a R12: ffffc90004da72e0 R13: 0000000000000006 R14: 4ec48997318292bf R15: ffffc90004da72e0 curve25519 include/crypto/curve25519.h:39 [inline] mix_dh+0xd1/0x290 drivers/net/wireguard/noise.c:411 wg_noise_handshake_consume_initiation+0x345/0xa80 drivers/net/wireguard/noise.c:608 wg_receive_handshake_packet drivers/net/wireguard/receive.c:144 [inline] wg_packet_handshake_receive_worker+0x66e/0x1070 drivers/net/wireguard/receive.c:213 process_one_work+0x8ab/0x1160 kernel/workqueue.c:2292 worker_thread+0xaf5/0x12a0 kernel/workqueue.c:2439 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 0f 38 f6 01 wrssd %eax,(%rcx) 4: c4 e2 b3 f6 59 28 mulx 0x28(%rcx),%r9,%rbx a: 66 4d 0f 38 f6 cd adcx %r13,%r9 10: f3 4c 0f 38 f6 49 08 adox 0x8(%rcx),%r9 17: c4 62 ab f6 69 30 mulx 0x30(%rcx),%r10,%r13 1d: 66 4c 0f 38 f6 d3 adcx %rbx,%r10 23: f3 4c 0f 38 f6 51 10 adox 0x10(%rcx),%r10 * 2a: c4 e2 a3 f6 41 38 mulx 0x38(%rcx),%r11,%rax <-- trapping instruction 30: 66 4d 0f 38 f6 dd adcx %r13,%r11 36: f3 4c 0f 38 f6 59 18 adox 0x18(%rcx),%r11 3d: 66 data16 3e: 48 rex.W 3f: 0f .byte 0xf