------------[ cut here ]------------ usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0 WARNING: CPU: 1 PID: 16605 at drivers/usb/gadget/udc/core.c:125 usb_ep_enable+0x263/0x440 drivers/usb/gadget/udc/core.c:124 Modules linked in: CPU: 1 PID: 16605 Comm: syz.3.3476 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:usb_ep_enable+0x263/0x440 drivers/usb/gadget/udc/core.c:124 Code: 49 8b 0e 48 c7 c0 40 24 7b 8b 49 c7 c0 60 24 7b 8b 4c 0f 44 c0 48 c7 c7 00 24 7b 8b 48 c7 c6 5f 61 a7 8c 89 ea e8 cd 78 94 fa <0f> 0b e9 e1 fe ff ff e8 21 ba ca fa 49 bc 00 00 00 00 00 fc ff df RSP: 0018:ffffc900001f0790 EFLAGS: 00010046 RAX: 1e98b5d0c1871900 RBX: ffff888142ba40e0 RCX: ffff8880263a8000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002 RBP: 0000000000000081 R08: ffff8880b8f28c53 R09: 1ffff110171e518a R10: dffffc0000000000 R11: ffffed10171e518b R12: dffffc0000000000 R13: ffff888142ba410d R14: ffff888142ba40e8 R15: ffff88801a748f3a FS: 00007f811ef236c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f811ef22ff0 CR3: 0000000068170000 CR4: 00000000003506e0 Call Trace: hidg_set_alt+0x12a/0xa10 drivers/usb/gadget/function/f_hid.c:826 set_config+0x735/0xff0 drivers/usb/gadget/composite.c:1018 composite_setup+0x1df4/0x33a0 drivers/usb/gadget/composite.c:1925 configfs_composite_setup+0xc7/0x100 drivers/usb/gadget/configfs.c:1875 dummy_timer+0x1324/0x34e0 drivers/usb/gadget/udc/dummy_hcd.c:1949 __run_hrtimer kernel/time/hrtimer.c:1754 [inline] __hrtimer_run_queues+0x525/0xc10 kernel/time/hrtimer.c:1818 hrtimer_run_softirq+0x177/0x290 kernel/time/hrtimer.c:1835 handle_softirqs+0x27d/0x820 kernel/softirq.c:578 __do_softirq kernel/softirq.c:612 [inline] invoke_softirq kernel/softirq.c:452 [inline] __irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661 irq_exit_rcu+0x9/0x20 kernel/softirq.c:673 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 00 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 ca b8 cc f6 48 89 df e8 72 8c cd f6 e8 dd 9d f1 f6 fb bf 01 00 00 00 22 96 c0 f6 65 8b 05 93 53 67 75 85 c0 74 02 5b c3 e8 80 38 64 RSP: 0018:ffffc9000541f970 EFLAGS: 00000282 RAX: 1e98b5d0c1871900 RBX: ffffc9000541fb68 RCX: 1e98b5d0c1871900 RDX: dffffc0000000000 RSI: ffffffff8acacce0 RDI: 0000000000000001 RBP: ffffc9000541fab0 R08: ffffffff8e8c626f R09: 1ffffffff1d18c4d R10: dffffc0000000000 R11: fffffbfff1d18c4e R12: ffff8880263a9790 R13: ffffc9000541fb60 R14: ffffc9000541fa28 R15: 1ffff92000a83f40 __wait_for_common kernel/sched/completion.c:117 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x4aa/0x5a0 kernel/sched/completion.c:148 rdmsr_safe_on_cpu+0x18f/0x2a0 arch/x86/lib/msr-smp.c:183 msr_read+0x142/0x240 arch/x86/kernel/msr.c:66 vfs_read+0x298/0x990 fs/read_write.c:468 ksys_read+0x151/0x260 fs/read_write.c:613 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f811df9e159 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f811ef23028 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f811e225fa0 RCX: 00007f811df9e159 RDX: 0000000000018ff8 RSI: 0000200000019680 RDI: 0000000000000004 RBP: 00007f811e03506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f811e226038 R14: 00007f811e225fa0 R15: 00007ffd2ad77b78 ---------------- Code disassembly (best guess): 0: 00 f3 add %dh,%bl 2: 0f 1e fa nop %edx 5: 53 push %rbx 6: 48 89 fb mov %rdi,%rbx 9: 48 83 c7 18 add $0x18,%rdi d: 48 8b 74 24 08 mov 0x8(%rsp),%rsi 12: e8 ca b8 cc f6 call 0xf6ccb8e1 17: 48 89 df mov %rbx,%rdi 1a: e8 72 8c cd f6 call 0xf6cd8c91 1f: e8 dd 9d f1 f6 call 0xf6f19e01 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 22 96 c0 f6 call 0xf6c09651 <-- trapping instruction 2f: 65 8b 05 93 53 67 75 mov %gs:0x75675393(%rip),%eax # 0x756753c9 36: 85 c0 test %eax,%eax 38: 74 02 je 0x3c 3a: 5b pop %rbx 3b: c3 ret 3c: e8 .byte 0xe8 3d: 80 38 64 cmpb $0x64,(%rax)