------------[ cut here ]------------ usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0 WARNING: CPU: 1 PID: 5252 at drivers/usb/gadget/udc/core.c:108 usb_ep_enable+0x25f/0x440 drivers/usb/gadget/udc/core.c:107 Modules linked in: CPU: 1 PID: 5252 Comm: syz.4.232 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:usb_ep_enable+0x25f/0x440 drivers/usb/gadget/udc/core.c:107 Code: 49 8b 0e 48 c7 c0 c0 f3 d5 8a 49 c7 c0 e0 f3 d5 8a 4c 0f 44 c0 48 c7 c7 80 f3 d5 8a 48 c7 c6 92 05 e4 8b 89 ea e8 a1 00 83 03 <0f> 0b e9 e1 fe ff ff e8 55 a4 3d fb 49 bc 00 00 00 00 00 fc ff df RSP: 0000:ffffc90000dd0688 EFLAGS: 00010046 RAX: 28e0c18d47b6c300 RBX: ffff888147de40e0 RCX: ffff88801a990000 RDX: 0000000000000100 RSI: 0000000080000103 RDI: 0000000000000000 RBP: 0000000000000081 R08: ffff8880b8f33d7f R09: 1ffff110171e67af R10: dffffc0000000000 R11: ffffed10171e67b0 R12: dffffc0000000000 R13: ffff888147de410d R14: ffff888147de40e8 R15: ffff8880564ecaba FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbeeaf3f000 CR3: 0000000072764000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hidg_set_alt+0x126/0xa00 drivers/usb/gadget/function/f_hid.c:822 set_config+0x734/0xfa0 drivers/usb/gadget/composite.c:972 composite_setup+0x1999/0x2b60 drivers/usb/gadget/composite.c:1878 configfs_composite_setup+0xc3/0x100 drivers/usb/gadget/configfs.c:1492 dummy_timer+0x1320/0x3570 drivers/usb/gadget/udc/dummy_hcd.c:1948 call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648 expire_timers kernel/time/timer.c:1699 [inline] __run_timers+0x56c/0x810 kernel/time/timer.c:1970 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983 handle_softirqs+0x336/0x830 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:__raw_write_unlock_irq include/linux/rwlock_api_smp.h:268 [inline] RIP: 0010:_raw_write_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:348 Code: 00 00 00 66 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 0e 6a 8a f7 48 89 df e8 56 54 8b f7 e8 e1 4c ac f7 fb bf 01 00 00 00 56 52 7f f7 65 8b 05 27 63 2f 76 85 c0 74 02 5b c3 e8 64 70 2d RSP: 0000:ffffc9000344f910 EFLAGS: 00000282 RAX: 28e0c18d47b6c300 RBX: ffffffff8ce0a040 RCX: 28e0c18d47b6c300 RDX: dffffc0000000000 RSI: ffffffff8a2b2b60 RDI: 0000000000000001 RBP: ffffc9000344fa30 R08: ffffffff8e6d322f R09: 1ffffffff1cda645 R10: dffffc0000000000 R11: fffffbfff1cda646 R12: dffffc0000000000 R13: 1ffff110039430ab R14: ffff88801ca18000 R15: ffff88801ca1855c release_task+0x1465/0x15f0 kernel/exit.c:273 exit_notify kernel/exit.c:755 [inline] do_exit+0x14c7/0x2100 kernel/exit.c:902 do_group_exit+0x12c/0x2f0 kernel/exit.c:1004 get_signal+0x7eb/0x12e0 kernel/signal.c:2917 arch_do_signal_or_restart+0xe6/0x12a0 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:157 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:217 __syscall_exit_to_user_mode_work kernel/entry/common.c:299 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:310 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f38ad790559 Code: Unable to access opcode bytes at RIP 0x7f38ad79052f. RSP: 002b:00007f38ab9e70e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f38ada16fa8 RCX: 00007f38ad790559 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f38ada16fa8 RBP: 00007f38ada16fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f38ada17038 R14: 00007ffcfd365680 R15: 00007ffcfd365768 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 66 90 add %ah,-0x70(%rsi) 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 0e 6a 8a f7 call 0xf78a6a25 17: 48 89 df mov %rbx,%rdi 1a: e8 56 54 8b f7 call 0xf78b5475 1f: e8 e1 4c ac f7 call 0xf7ac4d05 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 56 52 7f f7 call 0xf77f5285 <-- trapping instruction 2f: 65 8b 05 27 63 2f 76 mov %gs:0x762f6327(%rip),%eax # 0x762f635d 36: 85 c0 test %eax,%eax 38: 74 02 je 0x3c 3a: 5b pop %rbx 3b: c3 ret 3c: e8 .byte 0xe8 3d: 64 70 2d fs jo 0x6d