------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 0 PID: 607 at drivers/usb/gadget/udc/core.c:134 usb_ep_enable+0x210/0x3c0 drivers/usb/gadget/udc/core.c:133
Modules linked in:
CPU: 0 UID: 0 PID: 607 Comm: udevd Not tainted syzkaller #0 ca35313610c8ed713bced2230d6c22219bd85c1d
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
RIP: 0010:usb_ep_enable+0x210/0x3c0 drivers/usb/gadget/udc/core.c:133
Code: 4d 00 48 c7 c0 a0 a0 6d 86 49 c7 c0 c0 a0 6d 86 4c 0f 44 c0 48 c7 c7 60 a0 6d 86 48 c7 c6 f7 cd 1e 87 44 89 f2 e8 20 ca 48 fd <0f> 0b e9 4c ff ff ff e8 24 cb cd fd 49 bc 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000007878 EFLAGS: 00010046
RAX: 1be7ea7b6bf8ea00 RBX: ffff88810533c0b0 RCX: ffff8881166c3b40
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc900000078a0 R08: ffff8881f6c29593 R09: 1ffff1103ed852b2
R10: dffffc0000000000 R11: ffffed103ed852b3 R12: dffffc0000000000
R13: ffff88810533c0b8 R14: 0000000000000081 R15: ffff8881176233ba
FS: 00007f38e193e880(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f11d5987340 CR3: 0000000119d8e000 CR4: 00000000003526b0
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+0x18b0/0x3320 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:1758 [inline]
__hrtimer_run_queues+0x3ab/0x8e0 kernel/time/hrtimer.c:1822
hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1839
handle_softirqs+0x1aa/0x5b0 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:on_stack arch/x86/include/asm/stacktrace.h:58 [inline]
RIP: 0010:update_stack_state+0x1ae/0x4d0 arch/x86/kernel/unwind_frame.c:228
Code: 00 4c 89 e3 4d 8b 34 24 48 8b 85 58 ff ff ff 42 80 3c 38 00 74 0c 48 8b bd 78 ff ff ff e8 ea 28 9e 00 4d 8b 65 10 48 8b 45 c0 <42> 0f b6 04 38 84 c0 0f 85 84 00 00 00 45 8b 7d 00 45 85 ff 0f 95
RSP: 0018:ffffc9000f8eec08 EFLAGS: 00000246
RAX: 1ffff92001f1dda5 RBX: ffffc9000f8eed30 RCX: 1ffff92001f1dda7
RDX: 1ffff92001f1dda8 RSI: 1ffff92001f1dda6 RDI: ffffc9000f8eed80
RBP: ffffc9000f8eecb8 R08: ffffc9000f8eedf0 R09: ffffc9000f8eede8
R10: 000000000000000d R11: ffffffff81777ac0 R12: ffffc9000f8f0000
R13: ffffc9000f8eed28 R14: ffffc9000f8e8000 R15: dffffc0000000000
unwind_next_frame+0x39e/0x6b0 arch/x86/kernel/unwind_frame.c:315
arch_stack_walk+0x138/0x170 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122
save_stack+0x125/0x240 mm/page_owner.c:174
__set_page_owner+0x8e/0x600 mm/page_owner.c:338
set_page_owner include/linux/page_owner.h:35 [inline]
post_alloc_hook+0x37d/0x3b0 mm/page_alloc.c:1864
prep_new_page+0x2d/0x180 mm/page_alloc.c:1872
get_page_from_freelist+0x4aea/0x4ba0 mm/page_alloc.c:3949
__alloc_pages_noprof+0x35a/0x7e0 mm/page_alloc.c:5316
__alloc_pages_node_noprof include/linux/gfp.h:273 [inline]
alloc_pages_node_noprof include/linux/gfp.h:300 [inline]
alloc_pages_noprof include/linux/gfp.h:317 [inline]
get_free_pages_noprof+0x14/0x40 mm/page_alloc.c:5364
selinux_genfs_get_sid+0x63/0x2d0 security/selinux/hooks.c:1337
inode_doinit_with_dentry+0x8f8/0xde0 security/selinux/hooks.c:1560
selinux_d_instantiate+0x2b/0x40 security/selinux/hooks.c:6361
security_d_instantiate+0xb8/0xf0 security/security.c:4068
d_splice_alias+0x71/0x3a0 fs/dcache.c:2949
kernfs_iop_lookup+0x2c6/0x320 fs/kernfs/dir.c:1233
__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:0x7f38e19ca407
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:00007fffa65b8180 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f38e193e880 RCX: 00007f38e19ca407
RDX: 0000000000080000 RSI: 00007fffa65b8300 RDI: ffffffffffffff9c
RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000055f6a6cfc7f5
R13: 000055f6a6cfc7f5 R14: 0000000000000001 R15: 000055f6a6d17140
---[ end trace 0000000000000000 ]---
configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED!
----------------
Code disassembly (best guess):
0: 00 4c 89 e3 add %cl,-0x1d(%rcx,%rcx,4)
4: 4d 8b 34 24 mov (%r12),%r14
8: 48 8b 85 58 ff ff ff mov -0xa8(%rbp),%rax
f: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1)
14: 74 0c je 0x22
16: 48 8b bd 78 ff ff ff mov -0x88(%rbp),%rdi
1d: e8 ea 28 9e 00 call 0x9e290c
22: 4d 8b 65 10 mov 0x10(%r13),%r12
26: 48 8b 45 c0 mov -0x40(%rbp),%rax
* 2a: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction
2f: 84 c0 test %al,%al
31: 0f 85 84 00 00 00 jne 0xbb
37: 45 8b 7d 00 mov 0x0(%r13),%r15d
3b: 45 85 ff test %r15d,%r15d
3e: 0f .byte 0xf
3f: 95 xchg %eax,%ebp