------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 0 PID: 15660 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: 15660 Comm: kworker/0:7 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: events nsim_dev_hwstats_traffic_work
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: a89fb971aaac6200 RBX: ffff888143b340e0 RCX: ffff88801df60000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: 0000000000000081 R08: ffffffff8e210aef R09: 1ffffffff1c4215d
R10: dffffc0000000000 R11: fffffbfff1c4215e R12: dffffc0000000000
R13: ffff888143b3410d R14: ffff888143b340e8 R15: ffff888026b48fba
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c2c130b CR3: 0000000031098000 CR4: 00000000003526f0
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_delayed_work_on+0x1a7/0x1f0 kernel/workqueue.c:1709
Code: 4d 85 ed 75 16 e8 59 f6 2d 00 eb 15 e8 52 f6 2d 00 e8 6d e0 db 08 4d 85 ed 74 ea e8 43 f6 2d 00 fb 48 c7 44 24 20 0e 36 e0 45 <48> b8 00 00 00 00 00 fc ff df 49 c7 04 06 00 00 00 00 41 c7 44 06
RSP: 0018:ffffc90003dc7b60 EFLAGS: 00000293
RAX: ffffffff815437dd RBX: 0000000000000000 RCX: ffff88801df60000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003dc7c30 R08: ffffffff90b1032f R09: 1ffffffff2162065
R10: dffffc0000000000 R11: fffffbfff2162066 R12: ffffffff81557601
R13: 0000000000000200 R14: 1ffff920007b8f70 R15: 0000000000000000
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 ed test %r13,%r13
3: 75 16 jne 0x1b
5: e8 59 f6 2d 00 call 0x2df663
a: eb 15 jmp 0x21
c: e8 52 f6 2d 00 call 0x2df663
11: e8 6d e0 db 08 call 0x8dbe083
16: 4d 85 ed test %r13,%r13
19: 74 ea je 0x5
1b: e8 43 f6 2d 00 call 0x2df663
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 04 06 00 00 00 movq $0x0,(%r14,%rax,1)
3b: 00
3c: 41 rex.B
3d: c7 .byte 0xc7
3e: 44 06 rex.R (bad)