------------[ cut here ]------------ usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0 WARNING: CPU: 1 PID: 4333 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: 4333 Comm: syz.3.18 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:usb_ep_enable+0x25f/0x440 drivers/usb/gadget/udc/core.c:107 Code: 49 8b 0e 48 c7 c0 80 27 d5 8a 49 c7 c0 a0 27 d5 8a 4c 0f 44 c0 48 c7 c7 40 27 d5 8a 48 c7 c6 1d 96 e1 8b 89 ea e8 c1 94 7f 03 <0f> 0b e9 e1 fe ff ff e8 95 67 43 fb 49 bc 00 00 00 00 00 fc ff df RSP: 0018:ffffc90000dd06a8 EFLAGS: 00010046 RAX: e93b1dc549d7b000 RBX: ffff8881482900e0 RCX: ffff88807b3cbb80 RDX: 0000000000000100 RSI: 0000000000000103 RDI: 0000000000000000 RBP: 0000000000000081 R08: ffff8880b912795b R09: 1ffff11017224f2b R10: dffffc0000000000 R11: ffffed1017224f2c R12: dffffc0000000000 R13: ffff88814829010d R14: ffff8881482900e8 R15: ffff88802411bf3a FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000039000 CR3: 000000002afeb000 CR4: 00000000003506e0 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+0x1338/0x33c0 drivers/usb/gadget/udc/dummy_hcd.c:1930 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:__kasan_check_write+0x0/0x10 mm/kasan/shadow.c:37 Code: 8b eb 0a 48 c7 c7 2c a1 c5 8b 48 89 de e8 38 51 f7 07 31 ed eb d7 00 00 cc cc 89 f6 48 8b 0c 24 31 d2 e9 43 ef ff ff 0f 1f 00 <89> f6 48 8b 0c 24 ba 01 00 00 00 e9 30 ef ff ff 55 41 56 53 48 89 RSP: 0018:ffffc9000386f458 EFLAGS: 00000256 RAX: 00000000ffffff01 RBX: ffff88801ef1ca20 RCX: ffffffff815e2ef9 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc9000386f4a0 RBP: ffffc9000386f510 R08: ffff88801ef1ca23 R09: 1ffff11003de3944 R10: dffffc0000000000 R11: ffffed1003de3945 R12: 1ffff9200070de90 R13: ffff88801ef1ca28 R14: dffffc0000000000 R15: 1ffff11003de3945 instrument_atomic_read_write include/linux/instrumented.h:101 [inline] atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:512 [inline] queued_spin_lock include/asm-generic/qspinlock.h:82 [inline] do_raw_spin_lock+0x128/0x2f0 kernel/locking/spinlock_debug.c:115 spin_lock include/linux/spinlock.h:364 [inline] zap_pte_range mm/memory.c:1342 [inline] zap_pmd_range mm/memory.c:1505 [inline] zap_pud_range mm/memory.c:1534 [inline] zap_p4d_range mm/memory.c:1555 [inline] unmap_page_range+0x928/0x2410 mm/memory.c:1576 unmap_vmas+0x131/0x250 mm/memory.c:1653 exit_mmap+0x3b9/0x640 mm/mmap.c:3216 __mmput+0x115/0x390 kernel/fork.c:1128 exit_mm+0x632/0x7b0 kernel/exit.c:557 do_exit+0x5b8/0x2110 kernel/exit.c:877 do_group_exit+0x12c/0x2f0 kernel/exit.c:1004 get_signal+0x7eb/0x12e0 kernel/signal.c:2909 arch_do_signal_or_restart+0xe6/0x12a0 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f50ca16f0d9 Code: Unable to access opcode bytes at RIP 0x7f50ca16f0af. RSP: 002b:00007f50c83c70e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f50ca3f6fa8 RCX: 00007f50ca16f0d9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f50ca3f6fa8 RBP: 00007f50ca3f6fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f50ca3f7038 R14: 00007ffebc7a3d50 R15: 00007ffebc7a3e38 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: eb 0a jmp 0xc 2: 48 c7 c7 2c a1 c5 8b mov $0xffffffff8bc5a12c,%rdi 9: 48 89 de mov %rbx,%rsi c: e8 38 51 f7 07 call 0x7f75149 11: 31 ed xor %ebp,%ebp 13: eb d7 jmp 0xffffffec 15: 00 00 add %al,(%rax) 17: cc int3 18: cc int3 19: 89 f6 mov %esi,%esi 1b: 48 8b 0c 24 mov (%rsp),%rcx 1f: 31 d2 xor %edx,%edx 21: e9 43 ef ff ff jmp 0xffffef69 26: 0f 1f 00 nopl (%rax) * 29: 89 f6 mov %esi,%esi <-- trapping instruction 2b: 48 8b 0c 24 mov (%rsp),%rcx 2f: ba 01 00 00 00 mov $0x1,%edx 34: e9 30 ef ff ff jmp 0xffffef69 39: 55 push %rbp 3a: 41 56 push %r14 3c: 53 push %rbx 3d: 48 rex.W 3e: 89 .byte 0x89