------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 1 PID: 110 at drivers/usb/gadget/udc/core.c:134 usb_ep_enable+0x210/0x3c0 drivers/usb/gadget/udc/core.c:133
Modules linked in:
CPU: 1 UID: 0 PID: 110 Comm: udevd Not tainted syzkaller #0 4fd168c693dffba84a2a6c02a7ad874ce6c819a9
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
RIP: 0010:usb_ep_enable+0x210/0x3c0 drivers/usb/gadget/udc/core.c:133
Code: 4d 00 48 c7 c0 a0 bf 6d 86 49 c7 c0 c0 bf 6d 86 4c 0f 44 c0 48 c7 c7 60 bf 6d 86 48 c7 c6 e6 cd 1f 87 44 89 f2 e8 10 05 47 fd <0f> 0b e9 4c ff ff ff e8 44 0f cc fd 49 bc 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000230878 EFLAGS: 00010046
RAX: a1bdda78ebbddc00 RBX: ffff88810474c0b0 RCX: ffff88810ef762c0
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc900002308a0 R08: ffff8881f6d29593 R09: 1ffff1103eda52b2
R10: dffffc0000000000 R11: ffffed103eda52b3 R12: dffffc0000000000
R13: ffff88810474c0b8 R14: 0000000000000081 R15: ffff888104778aba
FS: 00007f69090ad880(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f69084f30f8 CR3: 000000010e7a4000 CR4: 00000000003526b0
DR0: 000000000000000d DR1: 00000000fffffffd DR2: 400000000001001d
DR3: fffffffffffffff6 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
hidg_set_alt+0x138/0xa70 drivers/usb/gadget/function/f_hid.c:1057
set_config+0x812/0xd10 drivers/usb/gadget/composite.c:1021
composite_setup+0x18b0/0x3320 drivers/usb/gadget/composite.c:1930
configfs_composite_setup+0xc6/0x110 drivers/usb/gadget/configfs.c:1883
dummy_timer+0x2eeb/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+0x1ad/0x5b0 kernel/softirq.c:684
__do_softirq kernel/softirq.c:722 [inline]
invoke_softirq kernel/softirq.c:539 [inline]
__irq_exit_rcu+0x47/0xb0 kernel/softirq.c:771
irq_exit_rcu+0xd/0x30 kernel/softirq.c:783
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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x5b/0x70 kernel/locking/spinlock.c:194
Code: ce 87 e8 88 55 36 fc 4c 89 f7 48 83 3d 3d f9 21 02 00 74 29 e8 d6 0d 00 00 90 f7 c3 00 02 00 00 74 01 fb 65 ff 0d 2d 59 58 7a <74> 0a 5b 41 5e 5d c3 cc cc cc cc cc e8 e4 65 5d fb eb ef 0f 0b b8
RSP: 0018:ffffc90000e5f680 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 0000000000000a02 RCX: dffffc0000000000
RDX: ffff88810ef762c0 RSI: 0000000000000a02 RDI: ffff888111236200
RBP: ffffc90000e5f690 R08: ffff88810ef762c7 R09: 1ffff11021deec58
R10: dffffc0000000000 R11: 0000000000000000 R12: ffff888111236208
R13: ffff888111236208 R14: ffff88810e74f430 R15: 0000000000000000
spin_unlock_irqrestore include/linux/spinlock.h:407 [inline]
__wake_up_common_lock kernel/sched/wait.c:109 [inline]
__wake_up_sync_key+0x1be/0x2c0 kernel/sched/wait.c:177
sock_def_readable+0x14d/0x430 net/core/sock.c:3502
__netlink_sendskb net/netlink/af_netlink.c:1260 [inline]
netlink_sendskb+0x134/0x200 net/netlink/af_netlink.c:1266
netlink_unicast+0x3b9/0xa70 net/netlink/af_netlink.c:1355
netlink_sendmsg+0x7d1/0xad0 net/netlink/af_netlink.c:1895
sock_sendmsg_nosec net/socket.c:712 [inline]
__sock_sendmsg net/socket.c:727 [inline]
____sys_sendmsg+0x9a1/0xa00 net/socket.c:2584
___sys_sendmsg+0x2a6/0x370 net/socket.c:2638
__sys_sendmsg net/socket.c:2670 [inline]
__do_sys_sendmsg net/socket.c:2675 [inline]
__se_sys_sendmsg net/socket.c:2673 [inline]
__x64_sys_sendmsg+0x1be/0x2a0 net/socket.c:2673
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:0x7f69088a7407
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:00007ffd13a03f40 EFLAGS: 00000202 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f69090ad880 RCX: 00007f69088a7407
RDX: 0000000000000000 RSI: 00007ffd13a03fa0 RDI: 0000000000000004
RBP: 00005622d9359810 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000000e1
R13: 00005622d901bd80 R14: 0000000000000000 R15: 0000000000000000
---[ end trace 0000000000000000 ]---
configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED!
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 87 e8 xchg %ebp,%eax
2: 88 55 36 mov %dl,0x36(%rbp)
5: fc cld
6: 4c 89 f7 mov %r14,%rdi
9: 48 83 3d 3d f9 21 02 cmpq $0x0,0x221f93d(%rip) # 0x221f94e
10: 00
11: 74 29 je 0x3c
13: e8 d6 0d 00 00 call 0xdee
18: 90 nop
19: f7 c3 00 02 00 00 test $0x200,%ebx
1f: 74 01 je 0x22
21: fb sti
22: 65 ff 0d 2d 59 58 7a decl %gs:0x7a58592d(%rip) # 0x7a585956
* 29: 74 0a je 0x35 <-- trapping instruction
2b: 5b pop %rbx
2c: 41 5e pop %r14
2e: 5d pop %rbp
2f: c3 ret
30: cc int3
31: cc int3
32: cc int3
33: cc int3
34: cc int3
35: e8 e4 65 5d fb call 0xfb5d661e
3a: eb ef jmp 0x2b
3c: 0f 0b ud2
3e: b8 .byte 0xb8