------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 1 PID: 3074 at drivers/usb/gadget/udc/core.c:108 usb_ep_enable+0x25f/0x440 drivers/usb/gadget/udc/core.c:107
Modules linked in:
CPU: 1 PID: 3074 Comm: kworker/u4:4 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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 e0 2d d5 8a 49 c7 c0 00 2e d5 8a 4c 0f 44 c0 48 c7 c7 a0 2d d5 8a 48 c7 c6 e7 0e e2 8b 89 ea e8 41 ee 80 03 <0f> 0b e9 e1 fe ff ff e8 c5 e7 42 fb 49 bc 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000dd0688 EFLAGS: 00010046
RAX: 1a3e0e6168f64800 RBX: ffff88801f3040e0 RCX: ffff88802b9d5940
RDX: 0000000000000100 RSI: 0000000000000102 RDI: 0000000000000000
RBP: 0000000000000081 R08: ffff8880b8f2795b R09: 1ffff110171e4f2b
R10: dffffc0000000000 R11: ffffed10171e4f2c R12: dffffc0000000000
R13: ffff88801f30410d R14: ffff88801f3040e8 R15: ffff8880215428ba
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f763c14aa08 CR3: 0000000020da5000 CR4: 00000000003506e0
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+0x1338/0x34a0 drivers/usb/gadget/udc/dummy_hcd.c:1944
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:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline]
RIP: 0010:lock_is_held_type+0x61/0x190 kernel/locking/lockdep.c:5804
Code: 0f 85 f4 00 00 00 65 48 8b 1d 4b 56 40 76 83 bb ec 0a 00 00 00 0f 85 df 00 00 00 41 89 f7 49 89 fe 48 c7 04 24 00 00 00 00 9c <8f> 04 24 4c 8b 2c 24 fa 48 c7 c7 60 39 2b 8a e8 bb 0e 00 00 65 ff
RSP: 0018:ffffc9000d9ef8f0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff88802b9d5940 RCX: ffff88802b9d5940
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff8d11f000
RBP: 00000000ffffffff R08: ffffffff8e6b282f R09: 1ffffffff1cd6505
R10: dffffc0000000000 R11: fffffbfff1cd6506 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffffffff8d11f000 R15: 00000000ffffffff
lock_is_held include/linux/lockdep.h:292 [inline]
___might_sleep+0x9b/0x610 kernel/sched/core.c:9624
inet_twsk_purge+0xfe/0x820 net/ipv4/inet_timewait_sock.c:267
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: 0f 85 f4 00 00 00 jne 0xfa
6: 65 48 8b 1d 4b 56 40 mov %gs:0x7640564b(%rip),%rbx # 0x76405659
d: 76
e: 83 bb ec 0a 00 00 00 cmpl $0x0,0xaec(%rbx)
15: 0f 85 df 00 00 00 jne 0xfa
1b: 41 89 f7 mov %esi,%r15d
1e: 49 89 fe mov %rdi,%r14
21: 48 c7 04 24 00 00 00 movq $0x0,(%rsp)
28: 00
29: 9c pushf
* 2a: 8f 04 24 pop (%rsp) <-- trapping instruction
2d: 4c 8b 2c 24 mov (%rsp),%r13
31: fa cli
32: 48 c7 c7 60 39 2b 8a mov $0xffffffff8a2b3960,%rdi
39: e8 bb 0e 00 00 call 0xef9
3e: 65 gs
3f: ff .byte 0xff