------------[ cut here ]------------ usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0 WARNING: CPU: 0 PID: 5152 at drivers/usb/gadget/udc/core.c:125 usb_ep_enable+0x263/0x440 drivers/usb/gadget/udc/core.c:124 Modules linked in: CPU: 0 PID: 5152 Comm: udevd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:usb_ep_enable+0x263/0x440 drivers/usb/gadget/udc/core.c:124 Code: 49 8b 0e 48 c7 c0 e0 47 9a 8b 49 c7 c0 00 48 9a 8b 4c 0f 44 c0 48 c7 c7 a0 47 9a 8b 48 c7 c6 db 26 c9 8c 89 ea e8 bd 85 99 fa <0f> 0b e9 e1 fe ff ff e8 01 e1 cf fa 49 bc 00 00 00 00 00 fc ff df RSP: 0018:ffffc90000007790 EFLAGS: 00010046 RAX: 468873325d7c9000 RBX: ffff8880225240e0 RCX: ffff88807e6dda00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002 RBP: 0000000000000081 R08: ffff8880b8c28c53 R09: 1ffff1101718518a R10: dffffc0000000000 R11: ffffed101718518b R12: dffffc0000000000 R13: ffff88802252410d R14: ffff8880225240e8 R15: ffff88802d57b6ba FS: 00007f24ef25f880(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa0223ecc40 CR3: 000000001aedb000 CR4: 00000000003506f0 Call Trace: hidg_set_alt+0x12a/0xa10 drivers/usb/gadget/function/f_hid.c:827 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+0x130c/0x35d0 drivers/usb/gadget/udc/dummy_hcd.c:1953 __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:lock_is_held_type+0x7/0x190 kernel/locking/lockdep.c:5846 Code: 00 75 d6 48 c7 c7 e0 cf ea 8a 48 c7 c6 20 d0 ea 8a e8 5d 9e b9 f6 0f 0b eb bf e8 84 fc ff ff 0f 1f 40 00 f3 0f 1e fa 55 41 57 <41> 56 41 55 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 RSP: 0018:ffffc90003247968 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffff88807e6dda00 RCX: ffff88807e6dda00 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff8e1323a0 RBP: ffffc90003247aa0 R08: ffff88807e6dda00 R09: 0000000000000003 R10: 0000000000000002 R11: 0000000000000000 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffffffff8b3bfac0 R15: 1ffff92000648f38 lock_is_held include/linux/lockdep.h:288 [inline] __might_resched+0xee/0x5f0 kernel/sched/core.c:10226 __might_fault+0x71/0x120 mm/memory.c:5968 _copy_from_user+0x2a/0xe0 lib/usercopy.c:14 copy_from_user include/linux/uaccess.h:183 [inline] move_addr_to_kernel net/socket.c:253 [inline] __copy_msghdr+0x388/0x560 net/socket.c:2498 copy_msghdr_from_user net/socket.c:2528 [inline] sendmsg_copy_msghdr net/socket.c:2626 [inline] ___sys_sendmsg+0x214/0x360 net/socket.c:2645 __sys_sendmsg net/socket.c:2678 [inline] __do_sys_sendmsg net/socket.c:2687 [inline] __se_sys_sendmsg+0x1d0/0x2c0 net/socket.c:2685 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:0x7f24eeaa7407 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:00007ffca23fa440 EFLAGS: 00000202 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f24ef25f880 RCX: 00007f24eeaa7407 RDX: 0000000000000000 RSI: 00007ffca23fa4a0 RDI: 0000000000000004 RBP: 00005604c9ebe660 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000000bc R13: 00005604c9eb69e0 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 00 75 d6 add %dh,-0x2a(%rbp) 3: 48 c7 c7 e0 cf ea 8a mov $0xffffffff8aeacfe0,%rdi a: 48 c7 c6 20 d0 ea 8a mov $0xffffffff8aead020,%rsi 11: e8 5d 9e b9 f6 call 0xf6b99e73 16: 0f 0b ud2 18: eb bf jmp 0xffffffd9 1a: e8 84 fc ff ff call 0xfffffca3 1f: 0f 1f 40 00 nopl 0x0(%rax) 23: f3 0f 1e fa endbr64 27: 55 push %rbp 28: 41 57 push %r15 * 2a: 41 56 push %r14 <-- trapping instruction 2c: 41 55 push %r13 2e: 41 54 push %r12 30: 53 push %rbx 31: 48 83 ec 10 sub $0x10,%rsp 35: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 3c: 00 00 3e: 48 rex.W 3f: 89 .byte 0x89