------------[ cut here ]------------ usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0 WARNING: CPU: 0 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: 0 UID: 0 PID: 110 Comm: udevd Not tainted syzkaller #0 6d6f333215c564de92c741644a4b57c848379815 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 c1 6d 86 49 c7 c0 c0 c1 6d 86 4c 0f 44 c0 48 c7 c7 60 c1 6d 86 48 c7 c6 a2 d6 1f 87 44 89 f2 e8 00 c0 46 fd <0f> 0b e9 4c ff ff ff e8 b4 d8 cb fd 49 bc 00 00 00 00 00 fc ff df RSP: 0018:ffffc90000007878 EFLAGS: 00010046 RAX: 5e7a61862294b200 RBX: ffff88810928c0b0 RCX: ffff88810ef64f00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002 RBP: ffffc900000078a0 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff0f9f344 R12: dffffc0000000000 R13: ffff88810928c0b8 R14: 0000000000000081 R15: ffff8881146a8b3a FS: 00007f3917c5e880(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8fadd58078 CR3: 000000010eb9c000 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:1930 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+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:hlist_bl_first_rcu include/linux/rculist_bl.h:24 [inline] RIP: 0010:__d_lookup_rcu+0xc2/0x3c0 fs/dcache.c:2217 Code: 45 8b 3f 44 89 fe 83 e6 02 31 ff e8 38 c3 94 ff 41 83 e7 02 0f 85 aa 02 00 00 4a 8d 1c f3 48 89 d8 48 c1 e8 03 42 80 3c 28 00 <74> 08 48 89 df e8 f4 6f ee ff 48 8b 1b 48 89 de 48 83 e6 fe 31 ff RSP: 0018:ffffc90000e7f8d8 EFLAGS: 00000246 RAX: 1ffff1103ecd1cde RBX: ffff8881f668e6f0 RCX: 0000000000000000 RDX: ffff88810ef64f00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000e7f950 R08: ffff88810ef64f00 R09: 0000000000000002 R10: 0000000000002e2e R11: 0000000000000000 R12: ffffc90000e7fc50 R13: dffffc0000000000 R14: 0000000000051cde R15: 0000000000000000 lookup_fast+0xc8/0x540 fs/namei.c:1675 lookup_fast_for_open fs/namei.c:3640 [inline] open_last_lookups fs/namei.c:3673 [inline] path_openat+0x64f/0x35a0 fs/namei.c:3938 do_filp_open+0x1f2/0x440 fs/namei.c:3968 do_sys_openat2+0x134/0x1d0 fs/open.c:1434 do_sys_open fs/open.c:1449 [inline] __do_sys_openat fs/open.c:1465 [inline] __se_sys_openat fs/open.c:1460 [inline] __x64_sys_openat+0x13a/0x170 fs/open.c:1460 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:0x7f39174a7407 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:00007ffd751c9d50 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f3917c5e880 RCX: 00007f39174a7407 RDX: 0000000000080141 RSI: 00005578bd15f02e 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: 45 8b 3f mov (%r15),%r15d 3: 44 89 fe mov %r15d,%esi 6: 83 e6 02 and $0x2,%esi 9: 31 ff xor %edi,%edi b: e8 38 c3 94 ff call 0xff94c348 10: 41 83 e7 02 and $0x2,%r15d 14: 0f 85 aa 02 00 00 jne 0x2c4 1a: 4a 8d 1c f3 lea (%rbx,%r14,8),%rbx 1e: 48 89 d8 mov %rbx,%rax 21: 48 c1 e8 03 shr $0x3,%rax 25: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) * 2a: 74 08 je 0x34 <-- trapping instruction 2c: 48 89 df mov %rbx,%rdi 2f: e8 f4 6f ee ff call 0xffee7028 34: 48 8b 1b mov (%rbx),%rbx 37: 48 89 de mov %rbx,%rsi 3a: 48 83 e6 fe and $0xfffffffffffffffe,%rsi 3e: 31 ff xor %edi,%edi