------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 0 PID: 7121 at drivers/usb/gadget/udc/core.c:108 usb_ep_enable+0x25f/0x440 drivers/usb/gadget/udc/core.c:107
Modules linked in:
CPU: 0 PID: 7121 Comm: syz.0.706 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
RIP: 0010:usb_ep_enable+0x25f/0x440 drivers/usb/gadget/udc/core.c:107
Code: 49 8b 0e 48 c7 c0 c0 f3 d5 8a 49 c7 c0 e0 f3 d5 8a 4c 0f 44 c0 48 c7 c7 80 f3 d5 8a 48 c7 c6 92 05 e4 8b 89 ea e8 a1 00 83 03 <0f> 0b e9 e1 fe ff ff e8 55 a4 3d fb 49 bc 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000007688 EFLAGS: 00010046
RAX: 806729a4f1f32b00 RBX: ffff8880252d00e0 RCX: ffff888023a8bb80
RDX: 0000000000000100 RSI: 0000000080000103 RDI: 0000000000000000
RBP: 0000000000000081 R08: ffff8880b8e2795b R09: 1ffff110171c4f2b
R10: dffffc0000000000 R11: ffffed10171c4f2c R12: dffffc0000000000
R13: ffff8880252d010d R14: ffff8880252d00e8 R15: ffff88807ef228ba
FS: 0000555584cc6500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32a23ffc CR3: 0000000026072000 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+0x734/0xfa0 drivers/usb/gadget/composite.c:972
composite_setup+0x1999/0x2b60 drivers/usb/gadget/composite.c:1878
configfs_composite_setup+0xc3/0x100 drivers/usb/gadget/configfs.c:1492
dummy_timer+0x1320/0x3570 drivers/usb/gadget/udc/dummy_hcd.c:1948
call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648
expire_timers kernel/time/timer.c:1699 [inline]
__run_timers+0x56c/0x810 kernel/time/timer.c:1970
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983
handle_softirqs+0x336/0x830 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:finish_lock_switch+0x12f/0x290 kernel/sched/core.c:4804
Code: 83 c7 18 be ff ff ff ff e8 9e 2b 75 08 85 c0 74 46 4d 85 ff 75 62 0f 1f 44 00 00 48 89 df e8 38 9f 7e 08 e8 33 f7 2a 00 fb 5b <41> 5c 41 5d 41 5e 41 5f 5d c3 48 89 df e8 2f 0e fe ff 43 80 3c 2c
RSP: 0018:ffffc900033df978 EFLAGS: 00000282
RAX: 806729a4f1f32b00 RBX: ffff88801f3a3b80 RCX: 806729a4f1f32b00
RDX: dffffc0000000000 RSI: ffffffff8a2b2b60 RDI: ffffffff8a7a5100
RBP: 1ffff110171c7613 R08: ffff8880b8e3a343 R09: 1ffff110171c7468
R10: dffffc0000000000 R11: ffffed10171c7469 R12: 1ffff110171c75c1
R13: dffffc0000000000 R14: ffff8880b8e3ae08 R15: 0000000000000000
finish_task_switch+0x12f/0x650 kernel/sched/core.c:4921
context_switch kernel/sched/core.c:5052 [inline]
__schedule+0x11cb/0x4350 kernel/sched/core.c:6395
schedule+0x11b/0x1e0 kernel/sched/core.c:6478
freezable_schedule include/linux/freezer.h:172 [inline]
do_nanosleep+0x1cb/0x760 kernel/time/hrtimer.c:2026
hrtimer_nanosleep+0x33e/0x590 kernel/time/hrtimer.c:2079
__do_sys_clock_nanosleep kernel/time/posix-timers.c:1314 [inline]
__se_sys_clock_nanosleep+0x30b/0x3a0 kernel/time/posix-timers.c:1291
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fac02a0734e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fffe95449b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e6
RAX: ffffffffffffffda RBX: 0000555584cc6500 RCX: 00007fac02a0734e
RDX: 00007fffe9544a10 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fac02cceda0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000004e262
R13: 00007fac02ccd09c R14: 000000000004df94 R15: 00007fffe9544b40
----------------
Code disassembly (best guess):
0: 83 c7 18 add $0x18,%edi
3: be ff ff ff ff mov $0xffffffff,%esi
8: e8 9e 2b 75 08 call 0x8752bab
d: 85 c0 test %eax,%eax
f: 74 46 je 0x57
11: 4d 85 ff test %r15,%r15
14: 75 62 jne 0x78
16: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
1b: 48 89 df mov %rbx,%rdi
1e: e8 38 9f 7e 08 call 0x87e9f5b
23: e8 33 f7 2a 00 call 0x2af75b
28: fb sti
29: 5b pop %rbx
* 2a: 41 5c pop %r12 <-- trapping instruction
2c: 41 5d pop %r13
2e: 41 5e pop %r14
30: 41 5f pop %r15
32: 5d pop %rbp
33: c3 ret
34: 48 89 df mov %rbx,%rdi
37: e8 2f 0e fe ff call 0xfffe0e6b
3c: 43 rex.XB
3d: 80 .byte 0x80
3e: 3c 2c cmp $0x2c,%al