------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 0 PID: 350 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: 350 Comm: udevd Not tainted syzkaller #0 8e6406e9b5d1be1ce824fee8d951cd47a835d65e
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 60 cf 6d 86 49 c7 c0 80 cf 6d 86 4c 0f 44 c0 48 c7 c7 20 cf 6d 86 48 c7 c6 79 fc 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:ffffc90000007878 EFLAGS: 00010046
RAX: 3a0001ca1937a900 RBX: ffff888104fec0b0 RCX: ffff88810ab22780
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc900000078a0 R08: ffff8881f6c29593 R09: 1ffff1103ed852b2
R10: dffffc0000000000 R11: ffffed103ed852b3 R12: dffffc0000000000
R13: ffff888104fec0b8 R14: 0000000000000081 R15: ffff88811711cdba
FS: 00007efea7153880(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe247befd8 CR3: 0000000130dfa000 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:security_inode_permission+0xe1/0x150 security/security.c:2325
Code: e8 e4 c3 12 ff 45 85 e4 74 6e e8 9a bf 12 ff 45 89 e7 eb ac 4c 89 f7 89 de e8 6b 27 42 ff 41 89 c4 31 ff 89 c6 e8 bf c3 12 ff <45> 85 e4 74 53 e8 75 bf 12 ff 45 89 e7 eb 87 4c 89 f7 89 de 0f 1f
RSP: 0018:ffffc9000c10f870 EFLAGS: 00000293
RAX: ffffffff8276ac91 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff88810ab22780 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000c10f890 R08: 000000003ffdffff R09: 00000001effbffef
R10: effbffef00000000 R11: 0000000000000001 R12: 0000000000000000
R13: ffffffff821383c0 R14: ffff88811387ba80 R15: 0000000000000000
inode_permission+0xf3/0x4c0 fs/namei.c:543
may_lookup fs/namei.c:1768 [inline]
link_path_walk+0x22d/0xeb0 fs/namei.c:2374
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:0x7efea71df407
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:00007ffe247bf120 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007efea7153880 RCX: 00007efea71df407
RDX: 0000000000080000 RSI: 00005593d91e5b20 RDI: ffffffffffffff9c
RBP: 00005593d91e0570 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffe247cf8e0
R13: 00007ffe247cfb40 R14: 00007ffe247cff40 R15: 00005593d7345bcc
---[ end trace 0000000000000000 ]---
configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED!
----------------
Code disassembly (best guess):
0: e8 e4 c3 12 ff call 0xff12c3e9
5: 45 85 e4 test %r12d,%r12d
8: 74 6e je 0x78
a: e8 9a bf 12 ff call 0xff12bfa9
f: 45 89 e7 mov %r12d,%r15d
12: eb ac jmp 0xffffffc0
14: 4c 89 f7 mov %r14,%rdi
17: 89 de mov %ebx,%esi
19: e8 6b 27 42 ff call 0xff422789
1e: 41 89 c4 mov %eax,%r12d
21: 31 ff xor %edi,%edi
23: 89 c6 mov %eax,%esi
25: e8 bf c3 12 ff call 0xff12c3e9
* 2a: 45 85 e4 test %r12d,%r12d <-- trapping instruction
2d: 74 53 je 0x82
2f: e8 75 bf 12 ff call 0xff12bfa9
34: 45 89 e7 mov %r12d,%r15d
37: eb 87 jmp 0xffffffc0
39: 4c 89 f7 mov %r14,%rdi
3c: 89 de mov %ebx,%esi
3e: 0f .byte 0xf
3f: 1f (bad)