------------[ cut here ]------------ usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0 WARNING: CPU: 1 PID: 415 at drivers/usb/gadget/udc/core.c:134 usb_ep_enable+0x210/0x3c0 drivers/usb/gadget/udc/core.c:133 Modules linked in: CPU: 1 UID: 0 PID: 415 Comm: udevd Not tainted syzkaller #0 ca35313610c8ed713bced2230d6c22219bd85c1d 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: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:ffffc90000230878 EFLAGS: 00010046 RAX: 50726d0c1ef99f00 RBX: ffff8881053dc0b0 RCX: ffff888114cd0000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002 RBP: ffffc900002308a0 R08: ffff8881f6d29593 R09: 1ffff1103eda52b2 R10: dffffc0000000000 R11: ffffed103eda52b3 R12: dffffc0000000000 R13: ffff8881053dc0b8 R14: 0000000000000081 R15: ffff88810a719dba FS: 00007f4937080880(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcfd260b558 CR3: 000000010d3de000 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:__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: ce 87 e8 88 7b 38 fc 4c 89 f7 48 83 3d 6d 48 24 02 00 74 29 e8 d6 0d 00 00 90 f7 c3 00 02 00 00 74 01 fb 65 ff 0d 1d a8 5a 7a <74> 0a 5b 41 5e 5d c3 cc cc cc cc cc e8 54 b5 5f fb eb ef 0f 0b b8 RSP: 0018:ffffc9000c8bf640 EFLAGS: 00000286 RAX: 0000000000000001 RBX: 0000000000000202 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000202 RDI: ffffffff8942e7c4 RBP: ffffc9000c8bf650 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52001917ebc R12: 0000000000000202 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000001 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_perm_nonode+0xda/0x1d0 security/selinux/avc.c:1118 avc_has_perm_noaudit+0x21f/0x360 security/selinux/avc.c:1161 avc_has_perm+0xd3/0x240 security/selinux/avc.c:1196 inode_has_perm security/selinux/hooks.c:1690 [inline] path_has_perm security/selinux/hooks.c:1722 [inline] selinux_inode_getattr+0x2bf/0x3d0 security/selinux/hooks.c:3193 security_inode_getattr+0xe3/0x180 security/security.c:2378 vfs_getattr fs/stat.c:204 [inline] vfs_statx_path+0x3f/0x300 fs/stat.c:251 vfs_statx+0x138/0x210 fs/stat.c:315 vfs_fstatat+0xe5/0x1d0 fs/stat.c:341 __do_sys_newfstatat fs/stat.c:505 [inline] __se_sys_newfstatat+0x127/0x3c0 fs/stat.c:499 __x64_sys_newfstatat+0x9f/0xc0 fs/stat.c:499 x64_sys_call+0x1821/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:263 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:0x7f4936911b0a Code: 48 8b 15 f1 f2 0d 00 f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 07 31 c0 c3 0f 1f 40 00 48 8b 15 b9 f2 0d 00 f7 RSP: 002b:00007fff53f1d498 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007fff53f1d930 RCX: 00007f4936911b0a RDX: 00007fff53f1d4a0 RSI: 00007fff53f1d930 RDI: 00000000ffffff9c RBP: 0000560bed1a32c0 R08: 0000000000000000 R09: 0000000000000020 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff53f1d530 R13: 00007fff53f1dd65 R14: 0000560bc8bc8ca4 R15: 0000560bc8bc8bcc ---[ end trace 0000000000000000 ]--- configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED! ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 87 e8 xchg %ebp,%eax 2: 88 7b 38 mov %bh,0x38(%rbx) 5: fc cld 6: 4c 89 f7 mov %r14,%rdi 9: 48 83 3d 6d 48 24 02 cmpq $0x0,0x224486d(%rip) # 0x224487e 10: 00 11: 74 29 je 0x3c 13: e8 d6 0d 00 00 call 0xdee 18: 90 nop 19: f7 c3 00 02 00 00 test $0x200,%ebx 1f: 74 01 je 0x22 21: fb sti 22: 65 ff 0d 1d a8 5a 7a decl %gs:0x7a5aa81d(%rip) # 0x7a5aa846 * 29: 74 0a je 0x35 <-- trapping instruction 2b: 5b pop %rbx 2c: 41 5e pop %r14 2e: 5d pop %rbp 2f: c3 ret 30: cc int3 31: cc int3 32: cc int3 33: cc int3 34: cc int3 35: e8 54 b5 5f fb call 0xfb5fb58e 3a: eb ef jmp 0x2b 3c: 0f 0b ud2 3e: b8 .byte 0xb8