------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: drivers/usb/gadget/udc/core.c:125 at usb_ep_enable+0x148/0x480 drivers/usb/gadget/udc/core.c:124, CPU#0: kworker/u8:2/43
Modules linked in:
CPU: 0 UID: 0 PID: 43 Comm: kworker/u8:2 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2026
Workqueue: netns cleanup_net
RIP: 0010:usb_ep_enable+0x1bc/0x480 drivers/usb/gadget/udc/core.c:124
Code: aa 90 74 fa 49 83 3f 00 48 c7 c0 20 48 d3 8c 49 c7 c0 40 48 d3 8c 4c 0f 44 c0 4c 89 f7 48 c7 c6 0b ca 6a 8e 44 89 ea 4c 89 e1 <67> 48 0f b9 3a bd ea ff ff ff 0f 1f 44 00 00 e8 90 88 04 fa 65 8b
RSP: 0018:ffffc90000007930 EFLAGS: 00010086
RAX: ffffffff8cd34820 RBX: ffff888029c2c0e0 RCX: ffffffff8cd36640
RDX: 0000000000000081 RSI: ffffffff8e6aca0b RDI: ffffffff90883b60
RBP: dffffc0000000000 R08: ffffffff8cd34840 R09: 0000000000000002
R10: 0000000000000003 R11: 0000000000000100 R12: ffffffff8cd36640
R13: 0000000000000081 R14: ffffffff90883b60 R15: ffff888029c2c0f8
FS: 0000000000000000(0000) GS:ffff888124cce000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5a516e6f40 CR3: 000000007f5c3000 CR4: 0000000000350ef0
Call Trace:
hidg_set_alt+0x12a/0xa60 drivers/usb/gadget/function/f_hid.c:1042
set_config+0x749/0x1160 drivers/usb/gadget/composite.c:1018
composite_setup+0x1de7/0x3480 drivers/usb/gadget/composite.c:1901
configfs_composite_setup+0xc7/0x100 drivers/usb/gadget/configfs.c:1877
dummy_timer+0x2f43/0x4cf0 drivers/usb/gadget/udc/dummy_hcd.c:1951
__run_hrtimer kernel/time/hrtimer.c:2074 [inline]
__hrtimer_run_queues+0x3bc/0xa10 kernel/time/hrtimer.c:2131
hrtimer_run_softirq+0x1e3/0x2e0 kernel/time/hrtimer.c:2148
handle_softirqs+0x226/0x860 kernel/softirq.c:645
do_softirq+0x77/0xd0 kernel/softirq.c:546
__local_bh_enable_ip+0x100/0x140 kernel/softirq.c:473
spin_unlock_bh include/linux/spinlock.h:407 [inline]
addrconf_ifdown+0x68a/0x1a30 net/ipv6/addrconf.c:3943
addrconf_notify+0x1bc/0x1050 net/ipv6/addrconf.c:-1
notifier_call_chain+0x1a5/0x3d0 kernel/notifier.c:85
call_netdevice_notifiers_extack net/core/dev.c:2313 [inline]
call_netdevice_notifiers net/core/dev.c:2327 [inline]
netif_close_many+0x463/0x660 net/core/dev.c:1829
unregister_netdevice_many_notify+0xb76/0x2140 net/core/dev.c:12487
unregister_netdevice_many net/core/dev.c:12589 [inline]
default_device_exit_batch+0x6d4/0x760 net/core/dev.c:13289
ops_exit_list net/core/net_namespace.c:206 [inline]
ops_undo_list+0x4b4/0x8d0 net/core/net_namespace.c:253
cleanup_net+0x572/0x810 net/core/net_namespace.c:706
process_one_work kernel/workqueue.c:3396 [inline]
process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479
worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
----------------
Code disassembly (best guess):
0: aa stos %al,%es:(%rdi)
1: 90 nop
2: 74 fa je 0xfffffffe
4: 49 83 3f 00 cmpq $0x0,(%r15)
8: 48 c7 c0 20 48 d3 8c mov $0xffffffff8cd34820,%rax
f: 49 c7 c0 40 48 d3 8c mov $0xffffffff8cd34840,%r8
16: 4c 0f 44 c0 cmove %rax,%r8
1a: 4c 89 f7 mov %r14,%rdi
1d: 48 c7 c6 0b ca 6a 8e mov $0xffffffff8e6aca0b,%rsi
24: 44 89 ea mov %r13d,%edx
27: 4c 89 e1 mov %r12,%rcx
* 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction
2f: bd ea ff ff ff mov $0xffffffea,%ebp
34: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
39: e8 90 88 04 fa call 0xfa0488ce
3e: 65 gs
3f: 8b .byte 0x8b