------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 0 PID: 9 at drivers/usb/gadget/udc/core.c:125 usb_ep_enable+0x27c/0x4d0 drivers/usb/gadget/udc/core.c:124
Modules linked in:
CPU: 0 PID: 9 Comm: kworker/u4:0 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Workqueue: netns cleanup_net
RIP: 0010:usb_ep_enable+0x27c/0x4d0 drivers/usb/gadget/udc/core.c:124
Code: 49 8b 0e 48 c7 c0 80 08 5e 8b 49 c7 c0 a0 08 5e 8b 4c 0f 44 c0 48 c7 c7 40 08 5e 8b 48 c7 c6 a9 84 85 8c 89 ea e8 e4 b3 d2 fa <0f> 0b e9 c4 fe ff ff e8 18 52 07 fb 49 bc 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000007768 EFLAGS: 00010046
RAX: 716f9e9ce851ed00 RBX: ffff8880296f00e0 RCX: ffff888018738000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: 0000000000000081 R08: ffff8880b8c279db R09: 1ffff11017184f3b
R10: dffffc0000000000 R11: ffffed1017184f3c R12: dffffc0000000000
R13: ffff8880296f010d R14: ffff8880296f00e8 R15: ffff88805f414cba
FS: 0000000000000000(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0a638f2368 CR3: 0000000068eb3000 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:823
set_config+0x6e8/0xf70 drivers/usb/gadget/composite.c:986
composite_setup+0x194c/0x2b00 drivers/usb/gadget/composite.c:1893
configfs_composite_setup+0xc3/0x100 drivers/usb/gadget/configfs.c:1484
dummy_timer+0x12ed/0x35d0 drivers/usb/gadget/udc/dummy_hcd.c:1954
__run_hrtimer kernel/time/hrtimer.c:1751 [inline]
__hrtimer_run_queues+0x522/0xc90 kernel/time/hrtimer.c:1815
hrtimer_run_softirq+0x173/0x290 kernel/time/hrtimer.c:1832
handle_softirqs+0x291/0x910 kernel/softirq.c:596
__do_softirq kernel/softirq.c:630 [inline]
invoke_softirq kernel/softirq.c:470 [inline]
__irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679
irq_exit_rcu+0x5/0x20 kernel/softirq.c:691
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:lockdep_unregister_key+0x4e8/0x550 kernel/locking/lockdep.c:6526
Code: 21 b1 91 48 c7 c6 50 c5 64 81 e8 c3 ac 07 00 e8 0e c0 07 00 e9 5c fc ff ff e8 34 93 d2 08 41 f7 c4 00 02 00 00 74 d1 fb 84 db <75> d0 eb e1 0f 0b eb 88 0f 0b e9 f8 fe ff ff 0f 0b e9 45 ff ff ff
RSP: 0018:ffffc900000e7740 EFLAGS: 00000202
RAX: dffffc0000000000 RBX: ffff888053e5ea01 RCX: 716f9e9ce851ed00
RDX: 0000000000000001 RSI: ffffffff8aac29a0 RDI: ffffffff8afe72a0
RBP: ffffc900000e7820 R08: ffffffff91b1409f R09: 1ffffffff2362813
R10: dffffc0000000000 R11: fffffbfff2362814 R12: 0000000000000a06
R13: ffff888053e5ea99 R14: ffffffff91b12198 R15: 1ffff9200001ceec
__qdisc_destroy+0x128/0x430 net/sched/sch_generic.c:1102
qdisc_put net/sched/sch_generic.c:1128 [inline]
dev_shutdown+0x351/0x440 net/sched/sch_generic.c:1489
unregister_netdevice_many_notify+0xa7e/0x1990 net/core/dev.c:11038
unregister_netdevice_many net/core/dev.c:11101 [inline]
default_device_exit_batch+0x95e/0x9f0 net/core/dev.c:11573
ops_exit_list net/core/net_namespace.c:177 [inline]
cleanup_net+0x78e/0xba0 net/core/net_namespace.c:640
process_one_work+0x8ab/0x1160 kernel/workqueue.c:2292
worker_thread+0xaf5/0x12a0 kernel/workqueue.c:2439
kthread+0x29d/0x330 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess), 1 bytes skipped:
0: b1 91 mov $0x91,%cl
2: 48 c7 c6 50 c5 64 81 mov $0xffffffff8164c550,%rsi
9: e8 c3 ac 07 00 call 0x7acd1
e: e8 0e c0 07 00 call 0x7c021
13: e9 5c fc ff ff jmp 0xfffffc74
18: e8 34 93 d2 08 call 0x8d29351
1d: 41 f7 c4 00 02 00 00 test $0x200,%r12d
24: 74 d1 je 0xfffffff7
26: fb sti
27: 84 db test %bl,%bl
* 29: 75 d0 jne 0xfffffffb <-- trapping instruction
2b: eb e1 jmp 0xe
2d: 0f 0b ud2
2f: eb 88 jmp 0xffffffb9
31: 0f 0b ud2
33: e9 f8 fe ff ff jmp 0xffffff30
38: 0f 0b ud2
3a: e9 45 ff ff ff jmp 0xffffff84