------------[ 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 91781886e4a1baa38ce9d8cd537274748dd3a26f 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 a0 50 6d 86 49 c7 c0 c0 50 6d 86 4c 0f 44 c0 48 c7 c7 60 50 6d 86 48 c7 c6 2c ea 1c 87 44 89 f2 e8 20 c8 4b fd <0f> 0b e9 4c ff ff ff e8 e4 ef ce fd 49 bc 00 00 00 00 00 fc ff df RSP: 0018:ffffc90000007878 EFLAGS: 00010046 RAX: 363e5061498a9900 RBX: ffff88810d2fc0b0 RCX: ffff88810d7eb900 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002 RBP: ffffc900000078a0 R08: ffff8881f6e294d3 R09: 1ffff1103edc529a R10: dffffc0000000000 R11: ffffed103edc529b R12: dffffc0000000000 R13: ffff88810d2fc0b8 R14: 0000000000000081 R15: ffff8881165d743a FS: 00007fac557c0880(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000cb89906f CR3: 000000010e382000 CR4: 00000000003526b0 DR0: 0000000000000007 DR1: ffffffffff7fff00 DR2: 4000000000010022 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+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:native_save_fl arch/x86/include/asm/irqflags.h:32 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:109 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:127 [inline] RIP: 0010:__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] RIP: 0010:_raw_spin_lock_irqsave+0x89/0x160 kernel/locking/spinlock.c:162 Code: f1 f1 f1 f1 f8 f2 f8 f3 4b 89 44 25 00 43 c7 44 25 08 f3 f3 f3 f3 43 c6 44 25 06 00 48 c7 44 24 30 00 00 00 00 9c 8f 44 24 30 <4c> 8b 74 24 30 43 c6 44 25 06 f8 fa 65 ff 05 fc 1e 5f 7a 43 c6 44 RSP: 0018:ffffc90000eaf5e0 EFLAGS: 00000a02 RAX: f3f8f2f8f1f1f1f1 RBX: ffff88811985bc40 RCX: dffffc0000000000 RDX: 1ffff920001d5edc RSI: 0000000000000001 RDI: ffff88811985bc40 RBP: ffffc90000eaf690 R08: 0000000000000003 R09: 0000000000000004 R10: 0000000000000000 R11: ffffffff84791b60 R12: dffffc0000000000 R13: 1ffff920001d5ebc R14: 1ffff1102689a420 R15: ffffc90000eaf600 __wake_up_common_lock kernel/sched/wait.c:106 [inline] __wake_up_sync_key+0xb7/0x2c0 kernel/sched/wait.c:177 sock_def_readable+0x14d/0x430 net/core/sock.c:3493 __netlink_sendskb net/netlink/af_netlink.c:1259 [inline] netlink_sendskb+0x134/0x200 net/netlink/af_netlink.c:1265 netlink_unicast+0x3b9/0xa70 net/netlink/af_netlink.c:1354 netlink_sendmsg+0x7d1/0xad0 net/netlink/af_netlink.c:1889 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x99e/0xa00 net/socket.c:2609 ___sys_sendmsg+0x2a6/0x370 net/socket.c:2663 __sys_sendmsg net/socket.c:2692 [inline] __do_sys_sendmsg net/socket.c:2701 [inline] __se_sys_sendmsg net/socket.c:2699 [inline] __x64_sys_sendmsg+0x206/0x2e0 net/socket.c:2699 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:0x7fac550a7407 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:00007fffc3638dd0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fac557c0880 RCX: 00007fac550a7407 RDX: 0000000000000000 RSI: 00007fffc3638e30 RDI: 0000000000000004 RBP: 000056245742af80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000000e1 R13: 00005624571d8d80 R14: 0000000000000000 R15: 0000000000000000 ---[ end trace 0000000000000000 ]--- configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED! ---------------- Code disassembly (best guess): 0: f1 int1 1: f1 int1 2: f1 int1 3: f1 int1 4: f8 clc 5: f2 f8 repnz clc 7: f3 4b 89 44 25 00 xrelease mov %rax,0x0(%r13,%r12,1) d: 43 c7 44 25 08 f3 f3 movl $0xf3f3f3f3,0x8(%r13,%r12,1) 14: f3 f3 16: 43 c6 44 25 06 00 movb $0x0,0x6(%r13,%r12,1) 1c: 48 c7 44 24 30 00 00 movq $0x0,0x30(%rsp) 23: 00 00 25: 9c pushf 26: 8f 44 24 30 pop 0x30(%rsp) * 2a: 4c 8b 74 24 30 mov 0x30(%rsp),%r14 <-- trapping instruction 2f: 43 c6 44 25 06 f8 movb $0xf8,0x6(%r13,%r12,1) 35: fa cli 36: 65 ff 05 fc 1e 5f 7a incl %gs:0x7a5f1efc(%rip) # 0x7a5f1f39 3d: 43 rex.XB 3e: c6 .byte 0xc6 3f: 44 rex.R