------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 0 PID: 318 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: 318 Comm: udevd Not tainted syzkaller #0 c4896d72d1fb51cdc6291d08376a37fd8080d7bb
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 e0 50 6d 86 49 c7 c0 00 51 6d 86 4c 0f 44 c0 48 c7 c7 a0 50 6d 86 48 c7 c6 9d 05 1d 87 44 89 f2 e8 d0 c1 4b fd <0f> 0b e9 4c ff ff ff e8 94 e9 ce fd 49 bc 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000007878 EFLAGS: 00010046
RAX: 78576a2f1b029b00 RBX: ffff888104b2c0b0 RCX: ffff8881228c8000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc900000078a0 R08: ffff8881f6e294d3 R09: 1ffff1103edc529a
R10: dffffc0000000000 R11: ffffed103edc529b R12: dffffc0000000000
R13: ffff888104b2c0b8 R14: 0000000000000081 R15: ffff888106ea8f3a
FS: 00007f26abc7c880(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f137dc89762 CR3: 0000000124d7c000 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+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:do_inode_permission fs/namei.c:467 [inline]
RIP: 0010:inode_permission+0x225/0x4c0 fs/namei.c:535
Code: 8b 6d 00 49 83 c5 10 4c 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 4c 89 ef e8 2f 3d f2 ff 4d 8b 6d 00 <4d> 85 ed 0f 84 dc 01 00 00 e8 ad 78 99 ff 48 8b 7d d0 4c 89 f6 89
RSP: 0018:ffffc900011ef8a0 EFLAGS: 00000246
RAX: 1ffffffff0c7265a RBX: 0000000000000001 RCX: dffffc0000000000
RDX: ffff8881228c8000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900011ef8d8 R08: ffff888101e5c3a0 R09: ffff888110f28880
R10: ffff888101e5c3a0 R11: ffff888110f28880 R12: 1ffff110223b0548
R13: ffffffff82106270 R14: ffff888111d82a40 R15: ffff888111d82a42
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:1440
do_sys_open fs/open.c:1455 [inline]
__do_sys_openat fs/open.c:1471 [inline]
__se_sys_openat fs/open.c:1466 [inline]
__x64_sys_openat+0x13a/0x170 fs/open.c:1466
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:0x7f26ab4a7407
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:00007ffdc79b1090 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f26abc7c880 RCX: 00007f26ab4a7407
RDX: 0000000000080000 RSI: 00007ffdc79b1210 RDI: ffffffffffffff9c
RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000563b16fe17f5
R13: 0000563b16fe17f5 R14: 0000000000000001 R15: 0000563b16ffc140
---[ end trace 0000000000000000 ]---
configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED!
----------------
Code disassembly (best guess):
0: 8b 6d 00 mov 0x0(%rbp),%ebp
3: 49 83 c5 10 add $0x10,%r13
7: 4c 89 e8 mov %r13,%rax
a: 48 c1 e8 03 shr $0x3,%rax
e: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
15: fc ff df
18: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1)
1c: 74 08 je 0x26
1e: 4c 89 ef mov %r13,%rdi
21: e8 2f 3d f2 ff call 0xfff23d55
26: 4d 8b 6d 00 mov 0x0(%r13),%r13
* 2a: 4d 85 ed test %r13,%r13 <-- trapping instruction
2d: 0f 84 dc 01 00 00 je 0x20f
33: e8 ad 78 99 ff call 0xff9978e5
38: 48 8b 7d d0 mov -0x30(%rbp),%rdi
3c: 4c 89 f6 mov %r14,%rsi
3f: 89 .byte 0x89