------------[ cut here ]------------ usb_ep_enable: ep133 (ep5in-int) has maxpacket 0 WARNING: CPU: 1 PID: 5154 at drivers/usb/gadget/udc/core.c:125 usb_ep_enable+0x263/0x440 drivers/usb/gadget/udc/core.c:124 Modules linked in: CPU: 1 PID: 5154 Comm: udevd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:usb_ep_enable+0x263/0x440 drivers/usb/gadget/udc/core.c:124 Code: 49 8b 0e 48 c7 c0 e0 47 9a 8b 49 c7 c0 00 48 9a 8b 4c 0f 44 c0 48 c7 c7 a0 47 9a 8b 48 c7 c6 db 26 c9 8c 89 ea e8 bd 85 99 fa <0f> 0b e9 e1 fe ff ff e8 01 e1 cf fa 49 bc 00 00 00 00 00 fc ff df RSP: 0018:ffffc900001f0790 EFLAGS: 00010046 RAX: 0f4ea122097ce900 RBX: ffff88814135c1d0 RCX: ffff88807df85a00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002 RBP: 0000000000000085 R08: ffff8880b8d28c53 R09: 1ffff110171a518a R10: dffffc0000000000 R11: ffffed10171a518b R12: dffffc0000000000 R13: ffff88814135c1fd R14: ffff88814135c1d8 R15: ffff88806375773a FS: 00007fb92d761880(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc0bc2ef008 CR3: 000000001aecd000 CR4: 00000000003506e0 DR0: 0000000000000008 DR1: 0000000000000007 DR2: 0000000000000004 DR3: 0000000000000008 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: hidg_set_alt+0x12a/0xa10 drivers/usb/gadget/function/f_hid.c:827 set_config+0x735/0xff0 drivers/usb/gadget/composite.c:1018 composite_setup+0x1df4/0x33a0 drivers/usb/gadget/composite.c:1925 configfs_composite_setup+0xc7/0x100 drivers/usb/gadget/configfs.c:1875 dummy_timer+0x130c/0x35d0 drivers/usb/gadget/udc/dummy_hcd.c:1953 __run_hrtimer kernel/time/hrtimer.c:1754 [inline] __hrtimer_run_queues+0x525/0xc10 kernel/time/hrtimer.c:1818 hrtimer_run_softirq+0x177/0x290 kernel/time/hrtimer.c:1835 handle_softirqs+0x27d/0x820 kernel/softirq.c:578 __do_softirq kernel/softirq.c:612 [inline] invoke_softirq kernel/softirq.c:452 [inline] __irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661 irq_exit_rcu+0x9/0x20 kernel/softirq.c:673 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687 RIP: 0010:___slab_alloc+0x3d0/0x12f0 mm/slub.c:3228 Code: 00 00 00 00 9c 8f 44 24 60 f7 44 24 60 00 02 00 00 8b 6c 24 10 0f 85 ed 02 00 00 41 f7 c6 00 02 00 00 74 01 fb 49 83 7d 18 00 <0f> 84 91 05 00 00 48 c7 44 24 60 00 00 00 00 9c 8f 44 24 60 4c 8b RSP: 0018:ffffc9000304f440 EFLAGS: 00000246 RAX: 0f4ea122097ce900 RBX: ffff8880b8d40440 RCX: 0f4ea122097ce900 RDX: dffffc0000000000 RSI: ffffffff8aead140 RDI: ffffffff8b3c5260 RBP: 00000000ffffffff R08: ffffffff9222353f R09: 1ffffffff24446a7 R10: dffffc0000000000 R11: fffffbfff24446a8 R12: 0000000000000001 R13: ffff8880b8d40420 R14: 0000000000000246 R15: ffff88807df85a00 __slab_alloc mm/slub.c:3361 [inline] __slab_alloc_node mm/slub.c:3414 [inline] slab_alloc_node mm/slub.c:3508 [inline] __kmem_cache_alloc_node+0x122/0x260 mm/slub.c:3557 __do_kmalloc_node mm/slab_common.c:1006 [inline] __kmalloc+0xa7/0x240 mm/slab_common.c:1020 kmalloc include/linux/slab.h:604 [inline] tomoyo_realpath_from_path+0xe6/0x5c0 security/tomoyo/realpath.c:251 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_number_perm+0x248/0x5e0 security/tomoyo/file.c:723 tomoyo_path_mknod+0x14b/0x1a0 security/tomoyo/tomoyo.c:251 security_path_mknod+0xf0/0x150 security/security.c:1752 may_o_create fs/namei.c:3373 [inline] lookup_open fs/namei.c:3514 [inline] open_last_lookups fs/namei.c:3619 [inline] path_openat+0xb72/0x3270 fs/namei.c:3853 do_filp_open+0x1f2/0x430 fs/namei.c:3883 do_sys_openat2+0x134/0x1d0 fs/open.c:1422 do_sys_open fs/open.c:1437 [inline] __do_sys_openat fs/open.c:1453 [inline] __se_sys_openat fs/open.c:1448 [inline] __x64_sys_openat+0x139/0x160 fs/open.c:1448 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fb92d0a7407 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:00007ffe324629b0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fb92d761880 RCX: 00007fb92d0a7407 RDX: 0000000000080141 RSI: 0000561636a5602e RDI: ffffffffffffff9c RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000001a4 R11: 0000000000000202 R12: 00000000ffffffff R13: 00000000ffffffff R14: ffffffffffffffff R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 00 add %al,(%rax) 4: 9c pushf 5: 8f 44 24 60 pop 0x60(%rsp) 9: f7 44 24 60 00 02 00 testl $0x200,0x60(%rsp) 10: 00 11: 8b 6c 24 10 mov 0x10(%rsp),%ebp 15: 0f 85 ed 02 00 00 jne 0x308 1b: 41 f7 c6 00 02 00 00 test $0x200,%r14d 22: 74 01 je 0x25 24: fb sti 25: 49 83 7d 18 00 cmpq $0x0,0x18(%r13) * 2a: 0f 84 91 05 00 00 je 0x5c1 <-- trapping instruction 30: 48 c7 44 24 60 00 00 movq $0x0,0x60(%rsp) 37: 00 00 39: 9c pushf 3a: 8f 44 24 60 pop 0x60(%rsp) 3e: 4c rex.WR 3f: 8b .byte 0x8b