------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 0 PID: 128 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: 128 Comm: kworker/0:2 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: mm_percpu_wq vmstat_update
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: cd5bc0eb6a7e9400 RBX: ffff888027f380e0 RCX: ffff88801cb91e00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: 0000000000000081 R08: ffff8880b8e279db R09: 1ffff110171c4f3b
R10: dffffc0000000000 R11: ffffed10171c4f3c R12: dffffc0000000000
R13: ffff888027f3810d R14: ffff888027f380e8 R15: ffff88801d6e58ba
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c2afbd8 CR3: 000000005de81000 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:get_current arch/x86/include/asm/current.h:15 [inline]
RIP: 0010:is_percpu_thread include/linux/sched.h:1789 [inline]
RIP: 0010:check_preemption_disabled+0x62/0x110 lib/smp_processor_id.c:22
Code: 3b 4c 24 08 0f 85 c4 00 00 00 48 83 c4 10 5b 41 5e 41 5f 5d c3 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 74 cc <65> 4c 8b 3d e6 41 d2 75 41 f6 47 2f 04 74 0a 41 83 bf 10 04 00 00
RSP: 0018:ffffc90002e17a98 EFLAGS: 00000206
RAX: 0000000000000000 RBX: 000000000000000b RCX: 0000000080000000
RDX: 0000000000000001 RSI: ffffffff8a95b020 RDI: ffffffff8adf5de0
RBP: ffffc90002e17c08 R08: ffff88813fffad77 R09: 1ffff11027fff5ae
R10: dffffc0000000000 R11: ffffed1027fff5af R12: ffff88813fffad70
R13: 0000000000041540 R14: 0000000000000006 R15: 000000000000000b
refresh_cpu_vm_stats+0x160/0x400 mm/vmstat.c:831
vmstat_update+0x11/0xa0 mm/vmstat.c:1932
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: 3b 4c 24 08 cmp 0x8(%rsp),%ecx
4: 0f 85 c4 00 00 00 jne 0xce
a: 48 83 c4 10 add $0x10,%rsp
e: 5b pop %rbx
f: 41 5e pop %r14
11: 41 5f pop %r15
13: 5d pop %rbp
14: c3 ret
15: 48 c7 04 24 00 00 00 movq $0x0,(%rsp)
1c: 00
1d: 9c pushf
1e: 8f 04 24 pop (%rsp)
21: f7 04 24 00 02 00 00 testl $0x200,(%rsp)
28: 74 cc je 0xfffffff6
* 2a: 65 4c 8b 3d e6 41 d2 mov %gs:0x75d241e6(%rip),%r15 # 0x75d24218 <-- trapping instruction
31: 75
32: 41 f6 47 2f 04 testb $0x4,0x2f(%r15)
37: 74 0a je 0x43
39: 41 rex.B
3a: 83 .byte 0x83
3b: bf 10 04 00 00 mov $0x410,%edi