------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 1 PID: 111 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: 111 Comm: udevd Not tainted syzkaller #0 5676c8b0feefcba4e903dddff460827408f065be
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:usb_ep_enable+0x210/0x3c0 drivers/usb/gadget/udc/core.c:133
Code: 4d 00 48 c7 c0 e0 c5 6d 86 49 c7 c0 00 c6 6d 86 4c 0f 44 c0 48 c7 c7 a0 c5 6d 86 48 c7 c6 53 de 1f 87 44 89 f2 e8 d0 ad 46 fd <0f> 0b e9 4c ff ff ff e8 b4 ca cb fd 49 bc 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000230878 EFLAGS: 00010046
RAX: 01ef9b9d092ba800 RBX: ffff8881043940b0 RCX: ffff88810d368000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc900002308a0 R08: ffff8881f6d29593 R09: 1ffff1103eda52b2
R10: dffffc0000000000 R11: ffffed103eda52b3 R12: dffffc0000000000
R13: ffff8881043940b8 R14: 0000000000000081 R15: ffff88811378bf3a
FS: 00007f671b952880(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000200000 CR3: 000000010db5c000 CR4: 00000000003526b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000001800
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
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: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+0x1b0/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:security_netlink_send+0x0/0xf0 security/security.c:4284
Code: 5d 41 5e 41 5f 5d e9 3f 11 36 03 cc e8 49 44 12 ff b8 ea ff ff ff eb e0 66 90 b8 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 <66> 0f 1f 00 55 48 89 e5 41 57 41 56 41 54 53 48 89 f3 49 89 fe e8
RSP: 0018:ffffc90000e6f918 EFLAGS: 00000246
RAX: ffffffff84affc3b RBX: ffff8881139bd000 RCX: ffff88810d368000
RDX: 0000000000000000 RSI: ffff8881139bd000 RDI: ffff88810eb84000
RBP: ffffc90000e6fa10 R08: ffff888111bae409 R09: 1ffff11022375c81
R10: dffffc0000000000 R11: ffffed1022375c82 R12: 1ffff920001cdf2c
R13: 000000000000010a R14: 000000000000010a R15: ffffc90000e6fe30
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:0x7f671b2a7407
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:00007ffd9ff5a0b0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f671b952880 RCX: 00007f671b2a7407
RDX: 0000000000000000 RSI: 00007ffd9ff5a110 RDI: 0000000000000004
RBP: 0000555c267fdfd0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000000e2
R13: 0000555c26542d80 R14: 0000000000000000 R15: 0000000000000000
---[ end trace 0000000000000000 ]---
configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED!
----------------
Code disassembly (best guess):
0: 5d pop %rbp
1: 41 5e pop %r14
3: 41 5f pop %r15
5: 5d pop %rbp
6: e9 3f 11 36 03 jmp 0x336114a
b: cc int3
c: e8 49 44 12 ff call 0xff12445a
11: b8 ea ff ff ff mov $0xffffffea,%eax
16: eb e0 jmp 0xfffffff8
18: 66 90 xchg %ax,%ax
1a: b8 00 00 00 00 mov $0x0,%eax
1f: 90 nop
20: 90 nop
21: 90 nop
22: 90 nop
23: 90 nop
24: 90 nop
25: 90 nop
26: 90 nop
27: 90 nop
28: 90 nop
29: 90 nop
* 2a: 66 0f 1f 00 nopw (%rax) <-- trapping instruction
2e: 55 push %rbp
2f: 48 89 e5 mov %rsp,%rbp
32: 41 57 push %r15
34: 41 56 push %r14
36: 41 54 push %r12
38: 53 push %rbx
39: 48 89 f3 mov %rsi,%rbx
3c: 49 89 fe mov %rdi,%r14
3f: e8 .byte 0xe8