------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 0 PID: 110 at drivers/usb/gadget/udc/core.c:125 usb_ep_enable+0x210/0x3c0 drivers/usb/gadget/udc/core.c:124
Modules linked in:
CPU: 0 UID: 0 PID: 110 Comm: udevd Not tainted syzkaller #0 90688e1ceab05e74867d9ba7556f72450a710f26
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
RIP: 0010:usb_ep_enable+0x210/0x3c0 drivers/usb/gadget/udc/core.c:124
Code: 4d 00 48 c7 c0 a0 60 6d 86 49 c7 c0 c0 60 6d 86 4c 0f 44 c0 48 c7 c7 60 60 6d 86 48 c7 c6 96 62 1d 87 44 89 f2 e8 e0 34 4b fd <0f> 0b e9 4c ff ff ff e8 24 64 ce fd 49 bc 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000007878 EFLAGS: 00010046
RAX: 81a27073acae5500 RBX: ffff888104f740b0 RCX: ffff88810d7c8000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc900000078a0 R08: ffff8881f6e294d3 R09: 1ffff1103edc529a
R10: dffffc0000000000 R11: ffffed103edc529b R12: dffffc0000000000
R13: ffff888104f740b8 R14: 0000000000000081 R15: ffff88812e1a58ba
FS: 00007facd5359880(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000002000 CR3: 000000010df42000 CR4: 00000000003526b0
Call Trace:
hidg_set_alt+0x138/0xa70 drivers/usb/gadget/function/f_hid.c:1057
set_config+0x80f/0xd10 drivers/usb/gadget/composite.c:1021
composite_setup+0x18b0/0x3320 drivers/usb/gadget/composite.c:1929
configfs_composite_setup+0xc6/0x110 drivers/usb/gadget/configfs.c:1883
dummy_timer+0x2eee/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:1935
__run_hrtimer kernel/time/hrtimer.c:1758 [inline]
__hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1822
hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1839
handle_softirqs+0x1aa/0x620 kernel/softirq.c:621
__do_softirq kernel/softirq.c:659 [inline]
invoke_softirq kernel/softirq.c:476 [inline]
__irq_exit_rcu+0x47/0xb0 kernel/softirq.c:708
irq_exit_rcu+0xd/0x30 kernel/softirq.c:720
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0x82/0x90 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__sanitizer_cov_trace_switch+0x63/0xf0 kernel/kcov.c:351
Code: 00 55 48 89 e5 41 57 41 56 41 54 53 48 8d 4c 09 01 48 8b 55 08 65 4c 8b 05 7a 6e 7d 7e 45 31 c9 eb 08 49 ff c1 4c 39 c8 74 77 <4e> 8b 54 ce 10 65 44 8b 1d 68 6e 7d 7e 41 81 e3 00 01 ff 00 74 13
RSP: 0018:ffffc90000e7f790 EFLAGS: 00000202
RAX: 0000000000000006 RBX: dffffc0000000000 RCX: 0000000000000001
RDX: ffffffff82ad413c RSI: ffffffff87848a80 RDI: 0000000000000001
RBP: ffffc90000e7f7b0 R08: ffff88810d7c8000 R09: 0000000000000005
R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000001
R13: 000000000000010a R14: 000000000000010a R15: ffffc90000e7fe48
iterate_and_advance2 include/linux/iov_iter.h:301 [inline]
iterate_and_advance include/linux/iov_iter.h:330 [inline]
__copy_from_iter lib/iov_iter.c:249 [inline]
_copy_from_iter+0x14c/0x1520 lib/iov_iter.c:260
copy_from_iter include/linux/uio.h:219 [inline]
copy_from_iter_full include/linux/uio.h:236 [inline]
memcpy_from_msg include/linux/skbuff.h:4200 [inline]
netlink_sendmsg+0x66d/0xad0 net/netlink/af_netlink.c:1880
sock_sendmsg_nosec net/socket.c:712 [inline]
__sock_sendmsg net/socket.c:727 [inline]
____sys_sendmsg+0x9a1/0xa00 net/socket.c:2583
___sys_sendmsg+0x2a6/0x370 net/socket.c:2637
__sys_sendmsg net/socket.c:2669 [inline]
__do_sys_sendmsg net/socket.c:2674 [inline]
__se_sys_sendmsg net/socket.c:2672 [inline]
__x64_sys_sendmsg+0x1be/0x2a0 net/socket.c:2672
x64_sys_call+0x2a4c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:47
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7facd4ca7407
Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007fff3b941bb0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007facd5359880 RCX: 00007facd4ca7407
RDX: 0000000000000000 RSI: 00007fff3b941c10 RDI: 0000000000000004
RBP: 0000565049690220 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000000e2
R13: 0000565049451d80 R14: 0000000000000000 R15: 0000000000000000
---[ end trace 0000000000000000 ]---
configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED!
----------------
Code disassembly (best guess):
0: 00 55 48 add %dl,0x48(%rbp)
3: 89 e5 mov %esp,%ebp
5: 41 57 push %r15
7: 41 56 push %r14
9: 41 54 push %r12
b: 53 push %rbx
c: 48 8d 4c 09 01 lea 0x1(%rcx,%rcx,1),%rcx
11: 48 8b 55 08 mov 0x8(%rbp),%rdx
15: 65 4c 8b 05 7a 6e 7d mov %gs:0x7e7d6e7a(%rip),%r8 # 0x7e7d6e97
1c: 7e
1d: 45 31 c9 xor %r9d,%r9d
20: eb 08 jmp 0x2a
22: 49 ff c1 inc %r9
25: 4c 39 c8 cmp %r9,%rax
28: 74 77 je 0xa1
* 2a: 4e 8b 54 ce 10 mov 0x10(%rsi,%r9,8),%r10 <-- trapping instruction
2f: 65 44 8b 1d 68 6e 7d mov %gs:0x7e7d6e68(%rip),%r11d # 0x7e7d6e9f
36: 7e
37: 41 81 e3 00 01 ff 00 and $0xff0100,%r11d
3e: 74 13 je 0x53