------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 0 PID: 110 at drivers/usb/gadget/udc/core.c:125 usb_ep_enable+0x210/0x3c0 drivers/usb/gadget/udc/core.c:124
Modules linked in:
CPU: 0 UID: 0 PID: 110 Comm: udevd Not tainted syzkaller #0 d75e9a393de9c6a33055d5e25749154d2cb9f431
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:usb_ep_enable+0x210/0x3c0 drivers/usb/gadget/udc/core.c:124
Code: 4d 00 48 c7 c0 20 4e 6d 86 49 c7 c0 40 4e 6d 86 4c 0f 44 c0 48 c7 c7 e0 4d 6d 86 48 c7 c6 d6 01 1d 87 44 89 f2 e8 a0 c6 4b fd <0f> 0b e9 4c ff ff ff e8 64 ee ce fd 49 bc 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000007878 EFLAGS: 00010046
RAX: dabeacc48f1c7700 RBX: ffff888104f840b0 RCX: ffff88810d7b8000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc900000078a0 R08: ffff8881f6e294d3 R09: 1ffff1103edc529a
R10: dffffc0000000000 R11: ffffed103edc529b R12: dffffc0000000000
R13: ffff888104f840b8 R14: 0000000000000081 R15: ffff88810ee4fcba
FS: 00007fbcad59b880(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7723beb700 CR3: 000000010e3e4000 CR4: 00000000003526b0
DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000083
DR3: ffffffffefffff15 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+0x1885/0x32f0 drivers/usb/gadget/composite.c:1929
configfs_composite_setup+0xc6/0x110 drivers/usb/gadget/configfs.c:1883
dummy_timer+0x2eee/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:1935
__run_hrtimer kernel/time/hrtimer.c:1757 [inline]
__hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1821
hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1838
handle_softirqs+0x1aa/0x620 kernel/softirq.c:621
__do_softirq kernel/softirq.c:659 [inline]
invoke_softirq kernel/softirq.c:476 [inline]
__irq_exit_rcu+0x47/0xb0 kernel/softirq.c:708
irq_exit_rcu+0xd/0x30 kernel/softirq.c:720
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:arch_stack_walk+0x10a/0x170 arch/x86/kernel/stacktrace.c:27
Code: 48 8d bd 78 ff ff ff 4c 89 e6 4c 89 fa e8 0e 97 06 00 83 bd 78 ff ff ff 00 74 46 4c 8d bd 78 ff ff ff 4c 89 ff e8 26 87 06 00 <48> 85 c0 74 32 48 89 df 48 89 c6 4d 89 f3 41 ba f4 d3 e4 12 45 03
RSP: 0018:ffffc90000e4f3e8 EFLAGS: 00000246
RAX: ffffffff81e00533 RBX: ffffc90000e4f4a0 RCX: 00000000001c9e00
RDX: ffffc90000e4f701 RSI: 1ffff920001c9e7e RDI: ffffffff81e00533
RBP: ffffc90000e4f470 R08: ffffc90000e4f4b0 R09: ffffc90000e4f4a8
R10: 0000000000000001 R11: ffffffff81759ed0 R12: ffff88810d7b8000
R13: ffff8881144afb80 R14: ffffffff81759ed0 R15: ffffc90000e4f3e8
stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:49 [inline]
kasan_save_track+0x3e/0x80 mm/kasan/common.c:70
kasan_save_alloc_info+0x3a/0x50 mm/kasan/generic.c:565
unpoison_slab_object mm/kasan/common.c:321 [inline]
__kasan_slab_alloc+0x73/0x90 mm/kasan/common.c:347
kasan_slab_alloc include/linux/kasan.h:251 [inline]
slab_post_alloc_hook mm/slub.c:4202 [inline]
slab_alloc_node mm/slub.c:4251 [inline]
kmem_cache_alloc_node_noprof+0x1ca/0x420 mm/slub.c:4305
kmalloc_reserve+0xcf/0x4f0 net/core/skbuff.c:596
__alloc_skb+0x13f/0x360 net/core/skbuff.c:687
alloc_skb include/linux/skbuff.h:1363 [inline]
netlink_alloc_large_skb+0xf7/0x1b0 net/netlink/af_netlink.c:1180
netlink_sendmsg+0x576/0xad0 net/netlink/af_netlink.c:1864
sock_sendmsg_nosec net/socket.c:730 [inline]
__sock_sendmsg net/socket.c:745 [inline]
____sys_sendmsg+0x99e/0xa00 net/socket.c:2609
___sys_sendmsg+0x2a6/0x370 net/socket.c:2663
__sys_sendmsg net/socket.c:2692 [inline]
__do_sys_sendmsg net/socket.c:2701 [inline]
__se_sys_sendmsg net/socket.c:2699 [inline]
__x64_sys_sendmsg+0x206/0x2e0 net/socket.c:2699
x64_sys_call+0x2a4c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:47
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:0x7fbcadbc7407
Code: 48 89 fa 4c 89 df e8 38 aa 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:00007ffd876766d0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fbcad59b880 RCX: 00007fbcadbc7407
RDX: 0000000000000000 RSI: 00007ffd87676730 RDI: 0000000000000004
RBP: 0000564693d1e800 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000000e3
R13: 0000564693d1dd80 R14: 0000000000000000 R15: 0000000000000000
---[ end trace 0000000000000000 ]---
configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED!
----------------
Code disassembly (best guess):
0: 48 8d bd 78 ff ff ff lea -0x88(%rbp),%rdi
7: 4c 89 e6 mov %r12,%rsi
a: 4c 89 fa mov %r15,%rdx
d: e8 0e 97 06 00 call 0x69720
12: 83 bd 78 ff ff ff 00 cmpl $0x0,-0x88(%rbp)
19: 74 46 je 0x61
1b: 4c 8d bd 78 ff ff ff lea -0x88(%rbp),%r15
22: 4c 89 ff mov %r15,%rdi
25: e8 26 87 06 00 call 0x68750
* 2a: 48 85 c0 test %rax,%rax <-- trapping instruction
2d: 74 32 je 0x61
2f: 48 89 df mov %rbx,%rdi
32: 48 89 c6 mov %rax,%rsi
35: 4d 89 f3 mov %r14,%r11
38: 41 ba f4 d3 e4 12 mov $0x12e4d3f4,%r10d
3e: 45 rex.RB
3f: 03 .byte 0x3