------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 1 PID: 315 at drivers/usb/gadget/udc/core.c:134 usb_ep_enable+0x210/0x3c0 drivers/usb/gadget/udc/core.c:133
Modules linked in:
CPU: 1 UID: 0 PID: 315 Comm: udevd Not tainted syzkaller #0 83a11badba831ffecc6359d7ae6879b77ad35e92
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:usb_ep_enable+0x210/0x3c0 drivers/usb/gadget/udc/core.c:133
Code: 4d 00 48 c7 c0 e0 d0 6d 86 49 c7 c0 00 d1 6d 86 4c 0f 44 c0 48 c7 c7 a0 d0 6d 86 48 c7 c6 f9 fd 21 87 44 89 f2 e8 40 b3 44 fd <0f> 0b e9 4c ff ff ff e8 04 d2 c9 fd 49 bc 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000230878 EFLAGS: 00010046
RAX: 96bb9efdf8212000 RBX: ffff888102b3c0b0 RCX: ffff88810e780000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc900002308a0 R08: ffff8881f6d29593 R09: 1ffff1103eda52b2
R10: dffffc0000000000 R11: ffffed103eda52b3 R12: dffffc0000000000
R13: ffff888102b3c0b8 R14: 0000000000000081 R15: ffff888116f54c3a
FS: 00007f201fa8b880(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00002000000002c0 CR3: 000000010df0e000 CR4: 00000000003526b0
Call Trace:
hidg_set_alt+0x138/0xa70 drivers/usb/gadget/function/f_hid.c:1057
set_config+0x80f/0xd10 drivers/usb/gadget/composite.c:1021
composite_setup+0x18b0/0x3320 drivers/usb/gadget/composite.c:1930
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:1758 [inline]
__hrtimer_run_queues+0x3ab/0x8e0 kernel/time/hrtimer.c:1822
hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1839
handle_softirqs+0x1b0/0x5b0 kernel/softirq.c:684
__do_softirq kernel/softirq.c:722 [inline]
invoke_softirq kernel/softirq.c:539 [inline]
__irq_exit_rcu+0x47/0xb0 kernel/softirq.c:771
irq_exit_rcu+0xd/0x30 kernel/softirq.c:783
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:__is_kernel_text kernel/extable.c:95 [inline]
RIP: 0010:is_kernel_text include/linux/kallsyms.h:29 [inline]
RIP: 0010:core_kernel_text kernel/extable.c:68 [inline]
RIP: 0010:kernel_text_address+0xa/0xe0 kernel/extable.c:99
Code: cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 48 89 e5 41 57 <41> 56 53 48 81 ff 00 00 00 81 0f 93 c0 48 81 ff 00 00 e0 85 0f 92
RSP: 0018:ffffc9000b7d70d0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffffff817792ca RCX: 1ffff920016fae2c
RDX: ffffc9000b7d71b8 RSI: ffffc9000b7d7138 RDI: ffffffff817792ca
RBP: ffffc9000b7d70d8 R08: ffffc9000b7d7101 R09: 0000000000000000
R10: ffffc9000b7d7128 R11: fffff520016fae31 R12: ffff88810e780000
R13: ffff8881113b6700 R14: dffffc0000000000 R15: 1ffff920016fae2e
__kernel_text_address+0x11/0x40 kernel/extable.c:79
unwind_get_return_address+0x51/0x90 arch/x86/kernel/unwind_frame.c:19
arch_stack_walk+0x10a/0x170 arch/x86/kernel/stacktrace.c:26
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:4204 [inline]
slab_alloc_node mm/slub.c:4253 [inline]
kmem_cache_alloc_lru_noprof+0x1c2/0x410 mm/slub.c:4274
alloc_inode+0xa9/0x270 fs/inode.c:271
iget_locked+0x198/0x9a0 fs/inode.c:1431
kernfs_get_inode+0x50/0x830 fs/kernfs/inode.c:251
kernfs_iop_lookup+0x213/0x320 fs/kernfs/dir.c:1220
__lookup_slow+0x2e5/0x420 fs/namei.c:1740
lookup_slow+0x57/0x80 fs/namei.c:1757
walk_component fs/namei.c:2061 [inline]
link_path_walk+0x991/0xeb0 fs/namei.c:2426
path_openat+0x298/0x35a0 fs/namei.c:3937
do_filp_open+0x1f2/0x440 fs/namei.c:3968
do_sys_openat2+0x134/0x1d0 fs/open.c:1434
do_sys_open fs/open.c:1449 [inline]
__do_sys_openat fs/open.c:1465 [inline]
__se_sys_openat fs/open.c:1460 [inline]
__x64_sys_openat+0x13a/0x170 fs/open.c:1460
x64_sys_call+0xe69/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:258
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:0x7f201f2a7407
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:00007fffe762f070 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f201fa8b880 RCX: 00007f201f2a7407
RDX: 0000000000080000 RSI: 00007fffe762f1f0 RDI: ffffffffffffff9c
RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000559360b187f5
R13: 0000559360b187f5 R14: 0000000000000001 R15: 0000559360b33140
---[ end trace 0000000000000000 ]---
configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED!
----------------
Code disassembly (best guess):
0: cc int3
1: cc int3
2: cc int3
3: cc int3
4: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1)
b: 00 00 00
e: 66 90 xchg %ax,%ax
10: b8 00 00 00 00 mov $0x0,%eax
15: 90 nop
16: 90 nop
17: 90 nop
18: 90 nop
19: 90 nop
1a: 90 nop
1b: 90 nop
1c: 90 nop
1d: 90 nop
1e: 90 nop
1f: 90 nop
20: 66 0f 1f 00 nopw (%rax)
24: 55 push %rbp
25: 48 89 e5 mov %rsp,%rbp
28: 41 57 push %r15
* 2a: 41 56 push %r14 <-- trapping instruction
2c: 53 push %rbx
2d: 48 81 ff 00 00 00 81 cmp $0xffffffff81000000,%rdi
34: 0f 93 c0 setae %al
37: 48 81 ff 00 00 e0 85 cmp $0xffffffff85e00000,%rdi
3e: 0f .byte 0xf
3f: 92 xchg %eax,%edx