------------[ cut here ]------------ usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0 WARNING: CPU: 0 PID: 437 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: 437 Comm: udevd Not tainted syzkaller #0 24d49bbd58fde8b05052ac524e35fadc70590708 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 20 50 6d 86 49 c7 c0 40 50 6d 86 4c 0f 44 c0 48 c7 c7 e0 4f 6d 86 48 c7 c6 ac 04 1d 87 44 89 f2 e8 e0 c5 4b fd <0f> 0b e9 4c ff ff ff e8 a4 ed ce fd 49 bc 00 00 00 00 00 fc ff df RSP: 0018:ffffc90000007878 EFLAGS: 00010046 RAX: 812fc70228bf2500 RBX: ffff888105ae80b0 RCX: ffff888114544c00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002 RBP: ffffc900000078a0 R08: ffff8881f6e294d3 R09: 1ffff1103edc529a R10: dffffc0000000000 R11: ffffed103edc529b R12: dffffc0000000000 R13: ffff888105ae80b8 R14: 0000000000000081 R15: ffff888113651fba FS: 00007f91b7815880(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f21dd158060 CR3: 0000000117a94000 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:avc_audit_required security/selinux/include/avc.h:92 [inline] RIP: 0010:selinux_inode_permission+0x3d8/0x5d0 security/selinux/hooks.c:3150 Code: 20 e8 dc e1 11 ff 48 8b 44 24 08 41 89 c5 89 c3 eb 1c 80 fb 01 75 2f e8 c6 e1 11 ff e9 14 ff ff ff e8 bc e1 11 ff 8b 5c 24 44 <23> 5c 24 08 31 ff 89 de e8 eb e5 11 ff 85 db 0f 85 dc 00 00 00 e8 RSP: 0018:ffffc9000c897780 EFLAGS: 00000293 RAX: ffffffff82759004 RBX: 0000000000000000 RCX: ffff888114544c00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000c897860 R08: 000000003ffdffff R09: 00000001effbffef R10: effbffef00000000 R11: 0000000000000001 R12: dffffc0000000000 R13: 0000000000000000 R14: 1ffff92001912ef4 R15: 0000000000000000 security_inode_permission+0xb0/0x150 security/security.c:2325 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: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:0x7f91b70a7407 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:00007ffc4dd90580 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f91b7815880 RCX: 00007f91b70a7407 RDX: 0000000000080000 RSI: 00007ffc4dd90700 RDI: ffffffffffffff9c RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000557ef30cf7f5 R13: 0000557ef30cf7f5 R14: 0000000000000001 R15: 0000557ef30ea140 ---[ end trace 0000000000000000 ]--- configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED! ---------------- Code disassembly (best guess): 0: 20 e8 and %ch,%al 2: dc e1 fsub %st,%st(1) 4: 11 ff adc %edi,%edi 6: 48 8b 44 24 08 mov 0x8(%rsp),%rax b: 41 89 c5 mov %eax,%r13d e: 89 c3 mov %eax,%ebx 10: eb 1c jmp 0x2e 12: 80 fb 01 cmp $0x1,%bl 15: 75 2f jne 0x46 17: e8 c6 e1 11 ff call 0xff11e1e2 1c: e9 14 ff ff ff jmp 0xffffff35 21: e8 bc e1 11 ff call 0xff11e1e2 26: 8b 5c 24 44 mov 0x44(%rsp),%ebx * 2a: 23 5c 24 08 and 0x8(%rsp),%ebx <-- trapping instruction 2e: 31 ff xor %edi,%edi 30: 89 de mov %ebx,%esi 32: e8 eb e5 11 ff call 0xff11e622 37: 85 db test %ebx,%ebx 39: 0f 85 dc 00 00 00 jne 0x11b 3f: e8 .byte 0xe8