------------[ cut here ]------------ usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0 WARNING: CPU: 0 PID: 1405 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: 1405 Comm: syz-executor Not tainted syzkaller #0 4fd168c693dffba84a2a6c02a7ad874ce6c819a9 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:usb_ep_enable+0x210/0x3c0 drivers/usb/gadget/udc/core.c:133 Code: 4d 00 48 c7 c0 a0 bf 6d 86 49 c7 c0 c0 bf 6d 86 4c 0f 44 c0 48 c7 c7 60 bf 6d 86 48 c7 c6 e6 cd 1f 87 44 89 f2 e8 10 05 47 fd <0f> 0b e9 4c ff ff ff e8 44 0f cc fd 49 bc 00 00 00 00 00 fc ff df RSP: 0018:ffffc90000007878 EFLAGS: 00010046 RAX: fa26d948652c8a00 RBX: ffff888105b0c0b0 RCX: ffff88810e65a780 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002 RBP: ffffc900000078a0 R08: ffff8881f6c29593 R09: 1ffff1103ed852b2 R10: dffffc0000000000 R11: ffffed103ed852b3 R12: dffffc0000000000 R13: ffff888105b0c0b8 R14: 0000000000000081 R15: ffff88811f418fba FS: 000055555c2d9500(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1021950300 CR3: 000000012f86e000 CR4: 00000000003526b0 DR0: 0000000000000000 DR1: 0000000000008000 DR2: 0000000000000000 DR3: 0000000000000000 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+0x18b0/0x3320 drivers/usb/gadget/composite.c:1930 configfs_composite_setup+0xc6/0x110 drivers/usb/gadget/configfs.c:1883 dummy_timer+0x2eeb/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:1935 __run_hrtimer kernel/time/hrtimer.c:1758 [inline] __hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1822 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1839 handle_softirqs+0x1ad/0x5b0 kernel/softirq.c:684 __do_softirq kernel/softirq.c:722 [inline] invoke_softirq kernel/softirq.c:539 [inline] __irq_exit_rcu+0x47/0xb0 kernel/softirq.c:771 irq_exit_rcu+0xd/0x30 kernel/softirq.c:783 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:inet_fill_link_af+0x46c/0xfc0 net/ipv4/devinet.c:1990 Code: 00 4c 89 f8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 a1 07 00 00 45 8b 27 4c 8d 7b 48 4c 89 f8 48 c1 e8 03 42 0f b6 04 28 84 c0 <0f> 85 a4 07 00 00 45 89 27 4d 8d be 18 01 00 00 4c 89 f8 48 c1 e8 RSP: 0018:ffffc9000a0fea88 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88812822c3d0 RCX: ffff88810e65a780 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88812822c458 RBP: ffffc9000a0feab0 R08: 0000000000706f6f R09: 0000000000000000 R10: ffff88812822c458 R11: ffffffff84dd61d0 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8881199fbc00 R15: ffff88812822c418 rtnl_fill_link_af+0x1cc/0x490 net/core/rtnetlink.c:1716 rtnl_fill_ifinfo+0x1a21/0x1d10 net/core/rtnetlink.c:1979 rtmsg_ifinfo_build_skb+0x177/0x270 net/core/rtnetlink.c:4123 rtmsg_ifinfo_event net/core/rtnetlink.c:4156 [inline] rtmsg_ifinfo+0x91/0x1a0 net/core/rtnetlink.c:4165 __dev_notify_flags+0xfd/0x5a0 net/core/dev.c:9002 __dev_set_promiscuity+0x154/0x590 net/core/dev.c:8774 dev_set_promiscuity+0x51/0x110 net/core/dev.c:8794 br_port_set_promisc net/bridge/br_if.c:108 [inline] br_manage_promisc net/bridge/br_if.c:157 [inline] nbp_update_port_count+0x1b8/0x2e0 net/bridge/br_if.c:242 br_add_if+0x607/0xe70 net/bridge/br_if.c:641 br_add_slave+0x30/0x40 net/bridge/br_device.c:373 do_set_master net/core/rtnetlink.c:2745 [inline] do_setlink+0xd0f/0x41e0 net/core/rtnetlink.c:2951 __rtnl_newlink net/core/rtnetlink.c:3740 [inline] rtnl_newlink+0x1801/0x2220 net/core/rtnetlink.c:3787 rtnetlink_rcv_msg+0x8be/0xa40 net/core/rtnetlink.c:6687 netlink_rcv_skb+0x24a/0x4e0 net/netlink/af_netlink.c:2554 rtnetlink_rcv+0x20/0x30 net/core/rtnetlink.c:6705 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x8bf/0xa70 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x7d1/0xad0 net/netlink/af_netlink.c:1895 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg net/socket.c:727 [inline] __sys_sendto+0x666/0x6e0 net/socket.c:2198 __do_sys_sendto net/socket.c:2205 [inline] __se_sys_sendto net/socket.c:2201 [inline] __x64_sys_sendto+0xe9/0x100 net/socket.c:2201 x64_sys_call+0x2c2c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:45 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:0x7f452a55ac97 Code: 48 89 fa 4c 89 df e8 a8 56 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:00007ffdb1ae3f10 EFLAGS: 00000202 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 000055555c2d9500 RCX: 00007f452a55ac97 RDX: 0000000000000028 RSI: 00007f452b354670 RDI: 0000000000000003 RBP: 0000000000000001 R08: 00007ffdb1ae3f74 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f452b354670 R15: 0000000000000000 ---[ end trace 0000000000000000 ]--- configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED! ---------------- Code disassembly (best guess): 0: 00 4c 89 f8 add %cl,-0x8(%rcx,%rcx,4) 4: 48 c1 e8 03 shr $0x3,%rax 8: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax d: 84 c0 test %al,%al f: 0f 85 a1 07 00 00 jne 0x7b6 15: 45 8b 27 mov (%r15),%r12d 18: 4c 8d 7b 48 lea 0x48(%rbx),%r15 1c: 4c 89 f8 mov %r15,%rax 1f: 48 c1 e8 03 shr $0x3,%rax 23: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax 28: 84 c0 test %al,%al * 2a: 0f 85 a4 07 00 00 jne 0x7d4 <-- trapping instruction 30: 45 89 27 mov %r12d,(%r15) 33: 4d 8d be 18 01 00 00 lea 0x118(%r14),%r15 3a: 4c 89 f8 mov %r15,%rax 3d: 48 rex.W 3e: c1 .byte 0xc1 3f: e8 .byte 0xe8