------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 0 PID: 4323 at drivers/usb/gadget/udc/core.c:108 usb_ep_enable+0x25f/0x440 drivers/usb/gadget/udc/core.c:107
Modules linked in:
CPU: 0 PID: 4323 Comm: kworker/u4:7 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026
Workqueue: netns cleanup_net
RIP: 0010:usb_ep_enable+0x25f/0x440 drivers/usb/gadget/udc/core.c:107
Code: 49 8b 0e 48 c7 c0 c0 f3 d5 8a 49 c7 c0 e0 f3 d5 8a 4c 0f 44 c0 48 c7 c7 80 f3 d5 8a 48 c7 c6 92 05 e4 8b 89 ea e8 a1 00 83 03 <0f> 0b e9 e1 fe ff ff e8 55 a4 3d fb 49 bc 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000007688 EFLAGS: 00010046
RAX: 8340aa56e6611a00 RBX: ffff88802337c0e0 RCX: ffff88802b28d940
RDX: 0000000000000100 RSI: 0000000000000102 RDI: 0000000000000000
RBP: 0000000000000081 R08: ffff8880b8e2795b R09: 1ffff110171c4f2b
R10: dffffc0000000000 R11: ffffed10171c4f2c R12: dffffc0000000000
R13: ffff88802337c10d R14: ffff88802337c0e8 R15: ffff88802568f63a
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffeeaf11ee4 CR3: 0000000061dcf000 CR4: 00000000003506f0
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+0x1320/0x3570 drivers/usb/gadget/udc/dummy_hcd.c:1948
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:lock_release+0x5a4/0x8a0 kernel/locking/lockdep.c:5761
Code: 80 00 00 00 f7 84 24 80 00 00 00 00 02 00 00 43 c6 44 2c 04 f8 75 6f 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 2c 00 00 00 00 43 c7 44 2c 08 00 00 00 00 65 48 8b 04 25
RSP: 0018:ffffc9000339f940 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 0fc0e611643003aa RCX: 8340aa56e6611a00
RDX: 0000000000000003 RSI: ffffffff8a2b3e00 RDI: ffffffff8a7a5100
RBP: ffffc9000339fa50 R08: ffffffff8e6d322f R09: 1ffffffff1cda645
R10: dffffc0000000000 R11: fffffbfff1cda646 R12: 1ffff92000673f34
R13: dffffc0000000000 R14: ffff88802b28e420 R15: 0000000000000246
rcu_read_unlock include/linux/rcupdate.h:773 [inline]
inet_twsk_purge+0x789/0x820 net/ipv4/inet_timewait_sock.c:309
ops_exit_list net/core/net_namespace.c:177 [inline]
cleanup_net+0x78e/0xba0 net/core/net_namespace.c:635
process_one_work+0x867/0xff0 kernel/workqueue.c:2310
worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457
kthread+0x42e/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
----------------
Code disassembly (best guess):
0: 80 00 00 addb $0x0,(%rax)
3: 00 f7 add %dh,%bh
5: 84 24 80 test %ah,(%rax,%rax,4)
8: 00 00 add %al,(%rax)
a: 00 00 add %al,(%rax)
c: 02 00 add (%rax),%al
e: 00 43 c6 add %al,-0x3a(%rbx)
11: 44 2c 04 rex.R sub $0x4,%al
14: f8 clc
15: 75 6f jne 0x86
17: 41 f7 c7 00 02 00 00 test $0x200,%r15d
1e: 74 01 je 0x21
20: fb sti
21: 48 c7 44 24 60 0e 36 movq $0x45e0360e,0x60(%rsp)
28: e0 45
* 2a: 4b c7 04 2c 00 00 00 movq $0x0,(%r12,%r13,1) <-- trapping instruction
31: 00
32: 43 c7 44 2c 08 00 00 movl $0x0,0x8(%r12,%r13,1)
39: 00 00
3b: 65 gs
3c: 48 rex.W
3d: 8b .byte 0x8b
3e: 04 25 add $0x25,%al