------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 0 PID: 111 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: 111 Comm: udevd Not tainted syzkaller #0 67f5df147bfe8fe71cdb2f404f013e40b3f12e05
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:usb_ep_enable+0x210/0x3c0 drivers/usb/gadget/udc/core.c:124
Code: 4d 00 48 c7 c0 60 52 6d 86 49 c7 c0 80 52 6d 86 4c 0f 44 c0 48 c7 c7 20 52 6d 86 48 c7 c6 ec 06 1d 87 44 89 f2 e8 e0 c5 4b fd <0f> 0b e9 4c ff ff ff e8 a4 ed ce fd 49 bc 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000007878 EFLAGS: 00010046
RAX: 795fb2cb4fb18c00 RBX: ffff888103bb00b0 RCX: ffff88810cbea600
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc900000078a0 R08: ffff8881f6e294d3 R09: 1ffff1103edc529a
R10: dffffc0000000000 R11: ffffed103edc529b R12: dffffc0000000000
R13: ffff888103bb00b8 R14: 0000000000000081 R15: ffff888121a03a3a
FS: 00007fc956867880(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe15ae604ef CR3: 000000010e31a000 CR4: 00000000003526b0
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+0x1885/0x32f0 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:1757 [inline]
__hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1821
hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1838
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:memset_orig+0x75/0xb0 arch/x86/lib/memset_64.S:90
Code: 89 47 30 48 89 47 38 48 8d 7f 40 75 d8 0f 1f 84 00 00 00 00 00 89 d1 83 e1 38 74 14 c1 e9 03 66 0f 1f 44 00 00 ff c9 48 89 07 <48> 8d 7f 08 75 f5 83 e2 07 74 0a ff ca 88 07 48 8d 7f 01 75 f6 4c
RSP: 0018:ffffc90000e3f728 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff88811ea0f330 RCX: 0000000000000000
RDX: 00000000000000d0 RSI: 0000000000000000 RDI: ffff88811ea0f3f8
RBP: ffffc90000e3f7a0 R08: 0000000094358751 R09: 0000000000000000
R10: ffff88811ea0f330 R11: ffffffff81759ed0 R12: 0000000000028e00
R13: ffff88811ea0f330 R14: 00000000000000d0 R15: ffff888101a41dc0
__d_alloc+0x42/0x8c0 fs/dcache.c:1636
d_alloc_parallel+0xe4/0x1370 fs/dcache.c:2478
lookup_open fs/namei.c:3525 [inline]
open_last_lookups fs/namei.c:3702 [inline]
path_openat+0xa09/0x35a0 fs/namei.c:3938
do_filp_open+0x1f2/0x440 fs/namei.c:3968
do_sys_openat2+0x134/0x1d0 fs/open.c:1440
do_sys_open fs/open.c:1455 [inline]
__do_sys_openat fs/open.c:1471 [inline]
__se_sys_openat fs/open.c:1466 [inline]
__x64_sys_openat+0x13a/0x170 fs/open.c:1466
x64_sys_call+0xe69/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:258
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:0x7fc9560a7407
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:00007ffe093f0d50 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fc956867880 RCX: 00007fc9560a7407
RDX: 0000000000080141 RSI: 0000556d0bc2702e RDI: ffffffffffffff9c
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000000001a4 R11: 0000000000000202 R12: 00000000ffffffff
R13: 00000000ffffffff R14: ffffffffffffffff R15: 0000000000000000
---[ end trace 0000000000000000 ]---
configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED!
----------------
Code disassembly (best guess):
0: 89 47 30 mov %eax,0x30(%rdi)
3: 48 89 47 38 mov %rax,0x38(%rdi)
7: 48 8d 7f 40 lea 0x40(%rdi),%rdi
b: 75 d8 jne 0xffffffe5
d: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1)
14: 00
15: 89 d1 mov %edx,%ecx
17: 83 e1 38 and $0x38,%ecx
1a: 74 14 je 0x30
1c: c1 e9 03 shr $0x3,%ecx
1f: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1)
25: ff c9 dec %ecx
27: 48 89 07 mov %rax,(%rdi)
* 2a: 48 8d 7f 08 lea 0x8(%rdi),%rdi <-- trapping instruction
2e: 75 f5 jne 0x25
30: 83 e2 07 and $0x7,%edx
33: 74 0a je 0x3f
35: ff ca dec %edx
37: 88 07 mov %al,(%rdi)
39: 48 8d 7f 01 lea 0x1(%rdi),%rdi
3d: 75 f6 jne 0x35
3f: 4c rex.WR