------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 0 PID: 4352 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: 4352 Comm: kworker/0:6 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: wg-crypt-wg0 wg_packet_encrypt_worker
RIP: 0010:usb_ep_enable+0x27c/0x4d0 drivers/usb/gadget/udc/core.c:124
Code: 49 8b 0e 48 c7 c0 80 cf 3e 8b 49 c7 c0 a0 cf 3e 8b 4c 0f 44 c0 48 c7 c7 40 cf 3e 8b 48 c7 c6 19 aa 63 8c 89 ea e8 d4 f4 ce fa <0f> 0b e9 c4 fe ff ff e8 78 6a 03 fb 49 bc 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000007788 EFLAGS: 00010046
RAX: c78112553dd10800 RBX: ffff888142f840e0 RCX: ffff88802a999e00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: 0000000000000081 R08: ffffc90000007407 R09: 1ffff92000000e80
R10: dffffc0000000000 R11: fffff52000000e81 R12: dffffc0000000000
R13: ffff888142f8410d R14: ffff888142f840e8 R15: ffff8880283ff6ba
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcc26a27dac CR3: 000000002f45c000 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:822
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+0x12ea/0x3420 drivers/usb/gadget/udc/dummy_hcd.c:1936
__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:queue_work_on+0x1a0/0x1f0 kernel/workqueue.c:1553
Code: 4d 85 e4 75 16 e8 70 0b 2e 00 eb 15 e8 69 0b 2e 00 e8 84 f5 db 08 4d 85 e4 74 ea e8 5a 0b 2e 00 fb 48 c7 44 24 20 0e 36 e0 45 <48> b8 00 00 00 00 00 fc ff df 49 c7 44 05 00 00 00 00 00 41 c7 44
RSP: 0018:ffffc900048475e0 EFLAGS: 00000293
RAX: ffffffff815422c6 RBX: 0000000000000000 RCX: ffff88802a999e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900048476a8 R08: ffffffff90b10337 R09: 1ffffffff2162066
R10: dffffc0000000000 R11: fffffbfff2162067 R12: 0000000000000200
R13: 1ffff92000908ec0 R14: 0000000000000000 R15: 0000000000000001
wg_queue_enqueue_per_peer_tx+0x1e9/0x490 drivers/net/wireguard/queueing.h:188
wg_packet_encrypt_worker+0x1195/0x1550 drivers/net/wireguard/send.c:305
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: 4d 85 e4 test %r12,%r12
3: 75 16 jne 0x1b
5: e8 70 0b 2e 00 call 0x2e0b7a
a: eb 15 jmp 0x21
c: e8 69 0b 2e 00 call 0x2e0b7a
11: e8 84 f5 db 08 call 0x8dbf59a
16: 4d 85 e4 test %r12,%r12
19: 74 ea je 0x5
1b: e8 5a 0b 2e 00 call 0x2e0b7a
20: fb sti
21: 48 c7 44 24 20 0e 36 movq $0x45e0360e,0x20(%rsp)
28: e0 45
* 2a: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax <-- trapping instruction
31: fc ff df
34: 49 c7 44 05 00 00 00 movq $0x0,0x0(%r13,%rax,1)
3b: 00 00
3d: 41 rex.B
3e: c7 .byte 0xc7
3f: 44 rex.R