------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 0 PID: 173 at drivers/usb/gadget/udc/core.c:125 usb_ep_enable+0x263/0x440 drivers/usb/gadget/udc/core.c:124
Modules linked in:
CPU: 0 PID: 173 Comm: kworker/0:2 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
Workqueue: rcu_gp wait_rcu_exp_gp
RIP: 0010:usb_ep_enable+0x263/0x440 drivers/usb/gadget/udc/core.c:124
Code: 49 8b 0e 48 c7 c0 c0 0f 7b 8b 49 c7 c0 e0 0f 7b 8b 4c 0f 44 c0 48 c7 c7 80 0f 7b 8b 48 c7 c6 5c 27 a7 8c 89 ea e8 9d 03 95 fa <0f> 0b e9 e1 fe ff ff e8 91 3f cb fa 49 bc 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000007790 EFLAGS: 00010046
RAX: 58129e1f00b02e00 RBX: ffff888023c640e0 RCX: ffff88801afdbc00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: 0000000000000081 R08: ffff8880b8e28c53 R09: 1ffff110171c518a
R10: dffffc0000000000 R11: ffffed10171c518b R12: dffffc0000000000
R13: ffff888023c6410d R14: ffff888023c640e8 R15: ffff88805ff61e3a
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff1434bd98 CR3: 000000005e4de000 CR4: 00000000003506f0
Call Trace:
hidg_set_alt+0x12a/0xa10 drivers/usb/gadget/function/f_hid.c:826
set_config+0x735/0xff0 drivers/usb/gadget/composite.c:1018
composite_setup+0x1df4/0x33a0 drivers/usb/gadget/composite.c:1925
configfs_composite_setup+0xc7/0x100 drivers/usb/gadget/configfs.c:1875
dummy_timer+0x1324/0x34e0 drivers/usb/gadget/udc/dummy_hcd.c:1949
__run_hrtimer kernel/time/hrtimer.c:1754 [inline]
__hrtimer_run_queues+0x525/0xc10 kernel/time/hrtimer.c:1818
hrtimer_run_softirq+0x177/0x290 kernel/time/hrtimer.c:1835
handle_softirqs+0x27d/0x820 kernel/softirq.c:578
__do_softirq kernel/softirq.c:612 [inline]
invoke_softirq kernel/softirq.c:452 [inline]
__irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661
irq_exit_rcu+0x9/0x20 kernel/softirq.c:673
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:call_function_single_prep_ipi+0x76/0x1f0 kernel/sched/core.c:3914
Code: 30 f0 8e 5d 81 4c 8d 6c 24 20 49 c1 ed 03 48 b8 f1 f1 f1 f1 f8 f3 f3 f3 4b 89 44 25 00 4c 63 f7 41 83 fe 08 0f 83 58 01 00 00 <4e> 8d 34 f5 30 ca a9 8c 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08
RSP: 0018:ffffc90002db7660 EFLAGS: 00000297
RAX: f3f3f3f8f1f1f1f1 RBX: 0000000000000001 RCX: 58129e1f00b02e00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffc90002db7720 R08: ffffc90002db76a7 R09: 1ffff920005b6ed4
R10: dffffc0000000000 R11: fffff520005b6ed5 R12: dffffc0000000000
R13: 1ffff920005b6ed0 R14: 0000000000000001 R15: ffffffff8ca9ca38
send_call_function_single_ipi kernel/smp.c:114 [inline]
__smp_call_single_queue+0x85/0x180 kernel/smp.c:382
generic_exec_single+0x20e/0x4e0 kernel/smp.c:415
smp_call_function_single+0x36d/0x5a0 kernel/smp.c:647
__sync_rcu_exp_select_node_cpus kernel/rcu/tree_exp.h:394 [inline]
sync_rcu_exp_select_node_cpus+0x748/0xbf0 kernel/rcu/tree_exp.h:483
sync_rcu_exp_select_cpus kernel/rcu/tree_exp.h:558 [inline]
rcu_exp_sel_wait_wake+0x235/0x1e40 kernel/rcu/tree_exp.h:733
process_one_work kernel/workqueue.c:2657 [inline]
process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734
worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815
kthread+0x2fa/0x390 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
----------------
Code disassembly (best guess):
0: 30 f0 xor %dh,%al
2: 8e 5d 81 mov -0x7f(%rbp),%ds
5: 4c 8d 6c 24 20 lea 0x20(%rsp),%r13
a: 49 c1 ed 03 shr $0x3,%r13
e: 48 b8 f1 f1 f1 f1 f8 movabs $0xf3f3f3f8f1f1f1f1,%rax
15: f3 f3 f3
18: 4b 89 44 25 00 mov %rax,0x0(%r13,%r12,1)
1d: 4c 63 f7 movslq %edi,%r14
20: 41 83 fe 08 cmp $0x8,%r14d
24: 0f 83 58 01 00 00 jae 0x182
* 2a: 4e 8d 34 f5 30 ca a9 lea -0x735635d0(,%r14,8),%r14 <-- trapping instruction
31: 8c
32: 4c 89 f0 mov %r14,%rax
35: 48 c1 e8 03 shr $0x3,%rax
39: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1)
3e: 74 08 je 0x48