------------[ 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 60889c1c5e6bdc1f3cb1b6a230ba908545dccc71 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 61 6d 86 49 c7 c0 c0 61 6d 86 4c 0f 44 c0 48 c7 c7 60 61 6d 86 48 c7 c6 63 75 1d 87 44 89 f2 e8 50 2b 4b fd <0f> 0b e9 4c ff ff ff e8 c4 59 ce fd 49 bc 00 00 00 00 00 fc ff df RSP: 0018:ffffc90000007878 EFLAGS: 00010046 RAX: c44e7d77d7ade600 RBX: ffff888104ff40b0 RCX: ffff88810d308000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002 RBP: ffffc900000078a0 R08: ffff8881f6e294d3 R09: 1ffff1103edc529a R10: dffffc0000000000 R11: ffffed103edc529b R12: dffffc0000000000 R13: ffff888104ff40b8 R14: 0000000000000081 R15: ffff88810e6463ba FS: 00007f6e33351880(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000010e37e000 CR4: 00000000003526b0 DR0: 0000000000000004 DR1: 00000000000001f8 DR2: fffffffffffffffe DR3: ffffffdfefffff17 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: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:do_inode_permission fs/namei.c:466 [inline] RIP: 0010:inode_permission+0x67/0x4c0 fs/namei.c:535 Code: 3f 50 99 ff 4c 89 6d c8 4d 8d 7e 02 4d 89 fc 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df 41 0f b6 04 04 84 c0 0f 85 68 03 00 00 <45> 0f b7 2f 44 89 ee 83 e6 01 31 ff e8 a8 53 99 ff 41 83 e5 01 0f RSP: 0018:ffffc90000ebf8a0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000081 RCX: ffff88810d308000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000ebf8d8 R08: ffff88810d308000 R09: 0000000000000002 R10: 000000000000002f R11: 0000000000000000 R12: 1ffff110220927de R13: 0000000000000000 R14: ffff888110493ef0 R15: ffff888110493ef2 may_lookup fs/namei.c:1768 [inline] link_path_walk+0x22d/0xeb0 fs/namei.c:2374 path_openat+0x298/0x35a0 fs/namei.c:3937 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:0x7f6e32ca7407 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:00007ffd19a32d00 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f6e33351880 RCX: 00007f6e32ca7407 RDX: 0000000000080141 RSI: 000055c0953aa02e 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), 1 bytes skipped: 0: 50 push %rax 1: 99 cltd 2: ff 4c 89 6d decl 0x6d(%rcx,%rcx,4) 6: c8 4d 8d 7e enter $0x8d4d,$0x7e a: 02 4d 89 add -0x77(%rbp),%cl d: fc cld e: 49 c1 ec 03 shr $0x3,%r12 12: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 19: fc ff df 1c: 41 0f b6 04 04 movzbl (%r12,%rax,1),%eax 21: 84 c0 test %al,%al 23: 0f 85 68 03 00 00 jne 0x391 * 29: 45 0f b7 2f movzwl (%r15),%r13d <-- trapping instruction 2d: 44 89 ee mov %r13d,%esi 30: 83 e6 01 and $0x1,%esi 33: 31 ff xor %edi,%edi 35: e8 a8 53 99 ff call 0xff9953e2 3a: 41 83 e5 01 and $0x1,%r13d 3e: 0f .byte 0xf