------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 1 PID: 13822 at drivers/usb/gadget/udc/core.c:125 usb_ep_enable+0x27c/0x4d0 drivers/usb/gadget/udc/core.c:124
Modules linked in:
CPU: 1 PID: 13822 Comm: syz.0.2568 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026
RIP: 0010:usb_ep_enable+0x27c/0x4d0 drivers/usb/gadget/udc/core.c:124
Code: 49 8b 0e 48 c7 c0 80 08 5e 8b 49 c7 c0 a0 08 5e 8b 4c 0f 44 c0 48 c7 c7 40 08 5e 8b 48 c7 c6 a9 84 85 8c 89 ea e8 e4 b3 d2 fa <0f> 0b e9 c4 fe ff ff e8 18 52 07 fb 49 bc 00 00 00 00 00 fc ff df
RSP: 0018:ffffc900001e0768 EFLAGS: 00010046
RAX: b72d2194d8781500 RBX: ffff888028f180e0 RCX: ffff88801c33da00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: 0000000000000081 R08: ffff8880b8d279db R09: 1ffff110171a4f3b
R10: dffffc0000000000 R11: ffffed10171a4f3c R12: dffffc0000000000
R13: ffff888028f1810d R14: ffff888028f180e8 R15: ffff8880533944ba
FS: 00007efcb00fd6c0(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00002000003d5030 CR3: 00000000613a7000 CR4: 00000000003506e0
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:823
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+0x12ed/0x35d0 drivers/usb/gadget/udc/dummy_hcd.c:1954
__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:___sys_recvmsg+0x10d/0x590 net/socket.c:2773
Code: f6 e8 87 8c a3 f9 43 c6 44 3e 24 00 4c 89 e0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 e7 e8 3b 8b a3 f9 4c 89 ac 24 60 01 00 00 <43> c6 44 3e 28 00 48 c7 84 24 80 01 00 00 00 00 00 00 bf ff ff ff
RSP: 0018:ffffc90004cdfa80 EFLAGS: 00000246
RAX: 1ffff9200099bf7c RBX: 0000000000000002 RCX: 0000000000000000
RDX: 0000000000000080 RSI: 0000000000000000 RDI: ffffc90004cdfbc0
RBP: ffffc90004cdfc70 R08: ffffc90004cdfbbf R09: ffffc90004cdfb40
R10: dffffc0000000000 R11: fffff5200099bf78 R12: ffffc90004cdfbe0
R13: ffffc90004cdfb40 R14: 1ffff9200099bf58 R15: dffffc0000000000
do_recvmmsg+0x370/0x810 net/socket.c:2874
__sys_recvmmsg net/socket.c:2953 [inline]
__do_sys_recvmmsg net/socket.c:2976 [inline]
__se_sys_recvmmsg net/socket.c:2969 [inline]
__x64_sys_recvmmsg+0x195/0x250 net/socket.c:2969
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7efcaf19fb19
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007efcb00fd028 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007efcaf426090 RCX: 00007efcaf19fb19
RDX: 0000000000010106 RSI: 0000200000000300 RDI: 0000000000000003
RBP: 00007efcaf237b70 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007efcaf426128 R14: 00007efcaf426090 R15: 00007ffec38065f8
----------------
Code disassembly (best guess):
0: f6 e8 imul %al
2: 87 8c a3 f9 43 c6 44 xchg %ecx,0x44c643f9(%rbx,%riz,4)
9: 3e 24 00 ds and $0x0,%al
c: 4c 89 e0 mov %r12,%rax
f: 48 c1 e8 03 shr $0x3,%rax
13: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1)
18: 74 08 je 0x22
1a: 4c 89 e7 mov %r12,%rdi
1d: e8 3b 8b a3 f9 call 0xf9a38b5d
22: 4c 89 ac 24 60 01 00 mov %r13,0x160(%rsp)
29: 00
* 2a: 43 c6 44 3e 28 00 movb $0x0,0x28(%r14,%r15,1) <-- trapping instruction
30: 48 c7 84 24 80 01 00 movq $0x0,0x180(%rsp)
37: 00 00 00 00 00
3c: bf .byte 0xbf
3d: ff (bad)
3e: ff (bad)
3f: ff .byte 0xff