------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 0 PID: 2139 at drivers/usb/gadget/udc/core.c:123 usb_ep_enable+0x210/0x3c0 drivers/usb/gadget/udc/core.c:122
Modules linked in:
CPU: 0 UID: 0 PID: 2139 Comm: syz.3.628 Not tainted syzkaller #0 0b31bef96cff8e44f9e14c4f768eb06c85e3b290
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:122
Code: 4d 00 48 c7 c0 e0 52 6d 86 49 c7 c0 00 53 6d 86 4c 0f 44 c0 48 c7 c7 a0 52 6d 86 48 c7 c6 46 ec 1c 87 44 89 f2 e8 20 c8 4b fd <0f> 0b e9 4c ff ff ff e8 e4 ef ce fd 49 bc 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000007878 EFLAGS: 00010046
RAX: 9c1b70da1ebe9d00 RBX: ffff888105b800b0 RCX: ffff888133955f00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc900000078a0 R08: ffff8881f6e294d3 R09: 1ffff1103edc529a
R10: dffffc0000000000 R11: ffffed103edc529b R12: dffffc0000000000
R13: ffff888105b800b8 R14: 0000000000000081 R15: ffff88810fa422ba
FS: 00007fcbd4f0e6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00002000000000c0 CR3: 0000000114fbc000 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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x5b/0x70 kernel/locking/spinlock.c:194
Code: 4e 87 e8 f8 63 3a fc 4c 89 f7 48 83 3d fd be a8 01 00 74 29 e8 d6 0d 00 00 90 f7 c3 00 02 00 00 74 01 fb 65 ff 0d ed 1a 5f 7a <74> 0a 5b 41 5e 5d c3 cc cc cc cc cc e8 24 2b 64 fb eb ef 0f 0b b8
RSP: 0018:ffffc9001163f780 EFLAGS: 00000286
RAX: 0000000000000001 RBX: 0000000000000202 RCX: dffffc0000000000
RDX: ffffc90002254000 RSI: 0000000000000202 RDI: ffffffff88c18200
RBP: ffffc9001163f790 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520022c7ee4 R12: 0000000000000202
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
avc_reclaim_node security/selinux/avc.c:487 [inline]
avc_alloc_node+0x3ea/0x520 security/selinux/avc.c:506
avc_insert security/selinux/avc.c:619 [inline]
avc_compute_av+0xeb/0x760 security/selinux/avc.c:995
avc_has_extended_perms+0x368/0xe60 security/selinux/avc.c:1045
ioctl_has_perm+0x39a/0x500 security/selinux/hooks.c:3720
selinux_file_ioctl+0x732/0x1480 security/selinux/hooks.c:-1
security_file_ioctl+0x87/0x110 security/security.c:2915
__do_sys_ioctl fs/ioctl.c:901 [inline]
__se_sys_ioctl+0x53/0x1b0 fs/ioctl.c:893
__x64_sys_ioctl+0x7f/0xa0 fs/ioctl.c:893
x64_sys_call+0x1878/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:17
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:0x7fcbd3f9e019
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fcbd4f0e028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fcbd4225fa0 RCX: 00007fcbd3f9e019
RDX: 00002000000000c0 RSI: 00000000c018aa3f RDI: 0000000000000003
RBP: 00007fcbd403500c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fcbd4226038 R14: 00007fcbd4225fa0 R15: 00007ffd7efd1da8
---[ end trace 0000000000000000 ]---
configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED!
----------------
Code disassembly (best guess):
0: 4e 87 e8 rex.WRX xchg %r13,%rax
3: f8 clc
4: 63 3a movsxd (%rdx),%edi
6: fc cld
7: 4c 89 f7 mov %r14,%rdi
a: 48 83 3d fd be a8 01 cmpq $0x0,0x1a8befd(%rip) # 0x1a8bf0f
11: 00
12: 74 29 je 0x3d
14: e8 d6 0d 00 00 call 0xdef
19: 90 nop
1a: f7 c3 00 02 00 00 test $0x200,%ebx
20: 74 01 je 0x23
22: fb sti
23: 65 ff 0d ed 1a 5f 7a decl %gs:0x7a5f1aed(%rip) # 0x7a5f1b17
* 2a: 74 0a je 0x36 <-- trapping instruction
2c: 5b pop %rbx
2d: 41 5e pop %r14
2f: 5d pop %rbp
30: c3 ret
31: cc int3
32: cc int3
33: cc int3
34: cc int3
35: cc int3
36: e8 24 2b 64 fb call 0xfb642b5f
3b: eb ef jmp 0x2c
3d: 0f 0b ud2
3f: b8 .byte 0xb8