------------[ cut here ]------------ usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0 WARNING: CPU: 1 PID: 111 at drivers/usb/gadget/udc/core.c:123 usb_ep_enable+0x210/0x3c0 drivers/usb/gadget/udc/core.c:122 Modules linked in: CPU: 1 UID: 0 PID: 111 Comm: udevd Not tainted syzkaller #0 0b31bef96cff8e44f9e14c4f768eb06c85e3b290 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:122 Code: 4d 00 48 c7 c0 e0 52 6d 86 49 c7 c0 00 53 6d 86 4c 0f 44 c0 48 c7 c7 a0 52 6d 86 48 c7 c6 46 ec 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:ffffc90000230878 EFLAGS: 00010046 RAX: bf3ec14be5757400 RBX: ffff888104f500b0 RCX: ffff88810d74b900 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002 RBP: ffffc900002308a0 R08: ffff8881f6f294d3 R09: 1ffff1103ede529a R10: dffffc0000000000 R11: ffffed103ede529b R12: dffffc0000000000 R13: ffff888104f500b8 R14: 0000000000000081 R15: ffff888121de7b3a FS: 00007f6bc7c52880(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa184e27dac CR3: 000000010e728000 CR4: 00000000003526b0 DR0: 0000000000000013 DR1: 00000000000001f8 DR2: 0000000000000084 DR3: ffffffffefffff15 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:__refcount_add include/linux/refcount.h:288 [inline] RIP: 0010:__refcount_inc include/linux/refcount.h:366 [inline] RIP: 0010:refcount_inc include/linux/refcount.h:383 [inline] RIP: 0010:sock_hold include/net/sock.h:799 [inline] RIP: 0010:netlink_lookup net/netlink/af_netlink.c:520 [inline] RIP: 0010:netlink_getsockbyportid net/netlink/af_netlink.c:1142 [inline] RIP: 0010:netlink_unicast+0x171/0xa70 net/netlink/af_netlink.c:1333 Code: 76 02 00 00 49 89 c6 4c 8d b8 80 00 00 00 4c 89 ff be 04 00 00 00 e8 7e 86 37 fd 41 bc 01 00 00 00 f0 45 0f c1 a6 80 00 00 00 <31> ff 44 89 e6 e8 b5 c4 de fc 45 85 e4 0f 84 81 01 00 00 bf fe ff RSP: 0018:ffffc90000e2f890 EFLAGS: 00000206 RAX: ffff8881142cf001 RBX: ffff88810df08030 RCX: ffffffff84a8b132 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff8881142cf080 RBP: ffffc90000e2f910 R08: ffff8881142cf083 R09: 1ffff11022859e10 R10: dffffc0000000000 R11: ffffed1022859e11 R12: 0000000000000002 R13: dffffc0000000000 R14: ffff8881142cf000 R15: ffff8881142cf080 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:0x7f6bc74a7407 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:00007ffc7ebd1f00 EFLAGS: 00000202 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f6bc7c52880 RCX: 00007f6bc74a7407 RDX: 0000000000000000 RSI: 00007ffc7ebd1f60 RDI: 0000000000000004 RBP: 000055d7c4d4e170 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000000e2 R13: 000055d7c4afed80 R14: 0000000000000000 R15: 0000000000000000 ---[ end trace 0000000000000000 ]--- configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED! ---------------- Code disassembly (best guess): 0: 76 02 jbe 0x4 2: 00 00 add %al,(%rax) 4: 49 89 c6 mov %rax,%r14 7: 4c 8d b8 80 00 00 00 lea 0x80(%rax),%r15 e: 4c 89 ff mov %r15,%rdi 11: be 04 00 00 00 mov $0x4,%esi 16: e8 7e 86 37 fd call 0xfd378699 1b: 41 bc 01 00 00 00 mov $0x1,%r12d 21: f0 45 0f c1 a6 80 00 lock xadd %r12d,0x80(%r14) 28: 00 00 * 2a: 31 ff xor %edi,%edi <-- trapping instruction 2c: 44 89 e6 mov %r12d,%esi 2f: e8 b5 c4 de fc call 0xfcdec4e9 34: 45 85 e4 test %r12d,%r12d 37: 0f 84 81 01 00 00 je 0x1be 3d: bf .byte 0xbf 3e: fe (bad) 3f: ff .byte 0xff