------------[ cut here ]------------ usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0 WARNING: CPU: 0 PID: 310 at drivers/usb/gadget/udc/core.c:134 usb_ep_enable+0x210/0x3c0 drivers/usb/gadget/udc/core.c:133 Modules linked in: CPU: 0 UID: 0 PID: 310 Comm: sshd-session Not tainted syzkaller #0 060dd26fc2c3b95caa7774ac3fc7b9d3ed7adcae Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 RIP: 0010:usb_ep_enable+0x210/0x3c0 drivers/usb/gadget/udc/core.c:133 Code: 4d 00 48 c7 c0 a0 ce 6d 86 49 c7 c0 c0 ce 6d 86 4c 0f 44 c0 48 c7 c7 60 ce 6d 86 48 c7 c6 b9 fb 21 87 44 89 f2 e8 40 b3 44 fd <0f> 0b e9 4c ff ff ff e8 04 d2 c9 fd 49 bc 00 00 00 00 00 fc ff df RSP: 0018:ffffc90000007898 EFLAGS: 00010046 RAX: a1766187657b4700 RBX: ffff888105f400b0 RCX: ffff888105fb62c0 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002 RBP: ffffc900000078c0 R08: ffff8881f6c29593 R09: 1ffff1103ed852b2 R10: dffffc0000000000 R11: ffffed103ed852b3 R12: dffffc0000000000 R13: ffff888105f400b8 R14: 0000000000000081 R15: ffff88811f3c1aba FS: 00007f91a4b85300(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc09d4a283c CR3: 0000000124832000 CR4: 00000000003526b0 Call Trace: hidg_set_alt+0x138/0xa70 drivers/usb/gadget/function/f_hid.c:1057 set_config+0x80f/0xd10 drivers/usb/gadget/composite.c:1021 composite_setup+0x18b0/0x3320 drivers/usb/gadget/composite.c:1930 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:1758 [inline] __hrtimer_run_queues+0x3ab/0x8e0 kernel/time/hrtimer.c:1822 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1839 handle_softirqs+0x1b0/0x5b0 kernel/softirq.c:684 __do_softirq+0xf/0x16 kernel/softirq.c:722 do_softirq+0xb8/0x110 kernel/softirq.c:566 __local_bh_enable_ip+0x74/0x80 kernel/softirq.c:493 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:919 [inline] __dev_queue_xmit+0x1b23/0x3780 net/core/dev.c:4585 dev_queue_xmit include/linux/netdevice.h:3141 [inline] neigh_hh_output include/net/neighbour.h:535 [inline] neigh_output include/net/neighbour.h:549 [inline] ip_finish_output2+0xb82/0xfb0 net/ipv4/ip_output.c:236 __ip_finish_output+0x17b/0x3e0 net/ipv4/ip_output.c:-1 ip_finish_output+0x35/0x360 net/ipv4/ip_output.c:324 NF_HOOK_COND include/linux/netfilter.h:306 [inline] ip_output+0x1a1/0x330 net/ipv4/ip_output.c:437 dst_output include/net/dst.h:460 [inline] ip_local_out net/ipv4/ip_output.c:130 [inline] __ip_queue_xmit+0x134d/0x1f70 net/ipv4/ip_output.c:541 ip_queue_xmit+0x51/0x70 net/ipv4/ip_output.c:555 __tcp_transmit_skb+0x236d/0x38d0 net/ipv4/tcp_output.c:1480 tcp_transmit_skb net/ipv4/tcp_output.c:1497 [inline] tcp_write_xmit+0x1b2e/0x6d30 net/ipv4/tcp_output.c:2852 __tcp_push_pending_frames+0x9d/0x300 net/ipv4/tcp_output.c:3037 tcp_push+0x488/0x670 net/ipv4/tcp.c:755 tcp_sendmsg_locked+0x3fce/0x4ac0 net/ipv4/tcp.c:1332 tcp_sendmsg+0x3e/0xd0 net/ipv4/tcp.c:1365 inet_sendmsg+0xb7/0x120 net/ipv4/af_inet.c:858 sock_sendmsg_nosec net/socket.c:713 [inline] __sock_sendmsg net/socket.c:727 [inline] sock_write_iter+0x3bf/0x490 net/socket.c:1149 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x762/0xfd0 fs/read_write.c:684 ksys_write+0x145/0x260 fs/read_write.c:737 __do_sys_write fs/read_write.c:749 [inline] __se_sys_write fs/read_write.c:746 [inline] __x64_sys_write+0x7f/0x90 fs/read_write.c:746 x64_sys_call+0x271c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:2 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:0x7f91a44a7407 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:00007fffeb26dad0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f91a4b85300 RCX: 00007f91a44a7407 RDX: 000000000000009c RSI: 000055c17b216d60 RDI: 0000000000000004 RBP: 000055c17b1fbc60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000001 R13: 00007fffeb26dc20 R14: 0000000000000000 R15: 0000000000000004 ---[ end trace 0000000000000000 ]--- configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED!