------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 0 PID: 353 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: 353 Comm: udevd Not tainted syzkaller #0 3ab14c716d19d9a156d32fd3ac537b1a2e52e776
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 60 5f 6d 86 49 c7 c0 80 5f 6d 86 4c 0f 44 c0 48 c7 c7 20 5f 6d 86 48 c7 c6 05 63 1d 87 44 89 f2 e8 80 30 4b fd <0f> 0b e9 4c ff ff ff e8 c4 60 ce fd 49 bc 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000007878 EFLAGS: 00010046
RAX: 6fde3b1b7e4e3700 RBX: ffff888104f740b0 RCX: ffff8881312f3900
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc900000078a0 R08: ffff8881f6e294d3 R09: 1ffff1103edc529a
R10: dffffc0000000000 R11: ffffed103edc529b R12: dffffc0000000000
R13: ffff888104f740b8 R14: 0000000000000081 R15: ffff8881257ecd3a
FS: 00007fe0535c8880(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa948f872c0 CR3: 00000001139d2000 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+0x1885/0x32f0 drivers/usb/gadget/composite.c:1929
configfs_composite_setup+0xc6/0x110 drivers/usb/gadget/configfs.c:1883
dummy_timer+0x2eeb/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+0x1ad/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:kasan_unpoison+0x5e/0x70 mm/kasan/shadow.c:183
Code: 48 8d 54 03 01 48 c1 ea 03 48 29 fa 4c 01 fa 31 f6 e8 a6 fc c4 03 4c 89 f0 48 83 e0 07 74 0b 4c 01 f3 48 c1 eb 03 42 88 04 3b <5b> 41 5e 41 5f 5d e9 c7 4d c7 03 cc 0f 0b eb f0 66 90 b8 00 00 00
RSP: 0018:ffffc9000b7bfc98 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff88811e8c3300 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffed1023d18860
RBP: ffffc9000b7bfcb0 R08: dffffc0000000000 R09: 0000000000000000
R10: ffffed1023d18660 R11: fffffbfff0e81a7f R12: 0000000000000001
R13: 00000000000d2a01 R14: 0000000000001000 R15: dffffc0000000000
unpoison_slab_object mm/kasan/common.c:317 [inline]
__kasan_slab_alloc+0x5e/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_noprof+0x1bf/0x410 mm/slub.c:4260
getname_flags+0xcc/0x6b0 fs/namei.c:139
getname+0x1b/0x30 fs/namei.c:225
do_sys_openat2+0xda/0x1d0 fs/open.c:1428
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:0x7fe052ea7407
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:00007ffc908694f0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fe0535c8880 RCX: 00007fe052ea7407
RDX: 0000000000080000 RSI: 00007ffc90869670 RDI: ffffffffffffff9c
RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000055fc2621d7f5
R13: 000055fc2621d7f5 R14: 0000000000000001 R15: 000055fc26238140
---[ end trace 0000000000000000 ]---
configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED!
----------------
Code disassembly (best guess):
0: 48 8d 54 03 01 lea 0x1(%rbx,%rax,1),%rdx
5: 48 c1 ea 03 shr $0x3,%rdx
9: 48 29 fa sub %rdi,%rdx
c: 4c 01 fa add %r15,%rdx
f: 31 f6 xor %esi,%esi
11: e8 a6 fc c4 03 call 0x3c4fcbc
16: 4c 89 f0 mov %r14,%rax
19: 48 83 e0 07 and $0x7,%rax
1d: 74 0b je 0x2a
1f: 4c 01 f3 add %r14,%rbx
22: 48 c1 eb 03 shr $0x3,%rbx
26: 42 88 04 3b mov %al,(%rbx,%r15,1)
* 2a: 5b pop %rbx <-- trapping instruction
2b: 41 5e pop %r14
2d: 41 5f pop %r15
2f: 5d pop %rbp
30: e9 c7 4d c7 03 jmp 0x3c74dfc
35: cc int3
36: 0f 0b ud2
38: eb f0 jmp 0x2a
3a: 66 90 xchg %ax,%ax
3c: b8 .byte 0xb8
3d: 00 00 add %al,(%rax)