------------[ cut here ]------------ usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0 WARNING: CPU: 1 PID: 2648 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: 2648 Comm: syz.5.769 Not tainted syzkaller #0 4fd168c693dffba84a2a6c02a7ad874ce6c819a9 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:usb_ep_enable+0x210/0x3c0 drivers/usb/gadget/udc/core.c:133 Code: 4d 00 48 c7 c0 a0 bf 6d 86 49 c7 c0 c0 bf 6d 86 4c 0f 44 c0 48 c7 c7 60 bf 6d 86 48 c7 c6 e6 cd 1f 87 44 89 f2 e8 10 05 47 fd <0f> 0b e9 4c ff ff ff e8 44 0f cc fd 49 bc 00 00 00 00 00 fc ff df RSP: 0018:ffffc90000230878 EFLAGS: 00010046 RAX: caab7620f73b6800 RBX: ffff8881047dc0b0 RCX: ffff888139273b40 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002 RBP: ffffc900002308a0 R08: ffff8881f6d29593 R09: 1ffff1103eda52b2 R10: dffffc0000000000 R11: ffffed103eda52b3 R12: dffffc0000000000 R13: ffff8881047dc0b8 R14: 0000000000000081 R15: ffff88810bb115ba FS: 00007febbb63c6c0(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007febbb55d520 CR3: 000000012916c000 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:1930 configfs_composite_setup+0xc6/0x110 drivers/usb/gadget/configfs.c:1883 dummy_timer+0x2eeb/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:1935 __run_hrtimer kernel/time/hrtimer.c:1758 [inline] __hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1822 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1839 handle_softirqs+0x1ad/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:__sanitizer_cov_trace_pc+0x5/0x70 kernel/kcov.c:210 Code: e8 c0 73 55 00 5b 5d e9 c9 7c 23 04 cc cc cc cc cc cc cc cc cc b8 10 f4 8b 67 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 <48> 89 e5 48 8b 45 08 65 48 8b 0d bc 97 7b 7e 65 8b 15 bd 97 7b 7e RSP: 0018:ffffc90001dd7bd0 EFLAGS: 00000246 RAX: ffffffff82777c6f RBX: 0000000000000040 RCX: 0000000000000000 RDX: ffff888139273b40 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90001dd7c30 R08: 0000000072ffffff R09: 00000001ffdefb7f R10: ffdefb7f00000000 R11: 0000000000000001 R12: ffffc90001dd7c80 R13: 0000000000000087 R14: 0000000000000087 R15: 0000000000000000 avc_has_perm+0xd3/0x240 security/selinux/avc.c:1196 selinux_task_kill+0x185/0x1d0 security/selinux/hooks.c:4293 security_task_kill+0xa0/0x130 security/security.c:3664 check_kill_permission+0x2ee/0x4a0 kernel/signal.c:868 do_send_specific kernel/signal.c:4043 [inline] do_tkill kernel/signal.c:4070 [inline] __do_sys_tkill kernel/signal.c:4105 [inline] __se_sys_tkill+0x188/0x290 kernel/signal.c:4099 __x64_sys_tkill+0x5f/0x80 kernel/signal.c:4099 x64_sys_call+0x1162/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:201 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:0x7febba79fb19 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:00007febbb63c028 EFLAGS: 00000246 ORIG_RAX: 00000000000000c8 RAX: ffffffffffffffda RBX: 00007febbaa26180 RCX: 00007febba79fb19 RDX: 0000000000000000 RSI: 0000000000000012 RDI: 0000000000000160 RBP: 00007febba837af8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007febbaa26218 R14: 00007febbaa26180 R15: 00007fff1f863838 ---[ end trace 0000000000000000 ]--- configfs-gadget.g1 gadget.0: Enable IN endpoint FAILED! ---------------- Code disassembly (best guess): 0: e8 c0 73 55 00 call 0x5573c5 5: 5b pop %rbx 6: 5d pop %rbp 7: e9 c9 7c 23 04 jmp 0x4237cd5 c: cc int3 d: cc int3 e: cc int3 f: cc int3 10: cc int3 11: cc int3 12: cc int3 13: cc int3 14: cc int3 15: b8 10 f4 8b 67 mov $0x678bf410,%eax 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 90 nop 1f: 90 nop 20: 90 nop 21: 90 nop 22: 90 nop 23: 90 nop 24: 90 nop 25: f3 0f 1e fa endbr64 29: 55 push %rbp * 2a: 48 89 e5 mov %rsp,%rbp <-- trapping instruction 2d: 48 8b 45 08 mov 0x8(%rbp),%rax 31: 65 48 8b 0d bc 97 7b mov %gs:0x7e7b97bc(%rip),%rcx # 0x7e7b97f5 38: 7e 39: 65 8b 15 bd 97 7b 7e mov %gs:0x7e7b97bd(%rip),%edx # 0x7e7b97fd