------------[ cut here ]------------ usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0 WARNING: drivers/usb/gadget/udc/core.c:124 at usb_ep_enable+0x3e6/0x490 drivers/usb/gadget/udc/core.c:124, CPU#0: syz-executor/12139 Modules linked in: CPU: 0 UID: 0 PID: 12139 Comm: syz-executor Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026 RIP: 0010:usb_ep_enable+0x3f8/0x490 drivers/usb/gadget/udc/core.c:124 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 93 00 00 00 48 8d 3d da 46 85 0a 48 8b 4b 08 40 0f b6 d5 4d 89 e0 48 c7 c6 80 be fb 8c <67> 48 0f b9 3a bd ea ff ff ff e9 8e fd ff ff 49 c7 c4 20 b1 fb 8c RSP: 0018:ffffc90000007a10 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff888020b900e0 RCX: ffffffff8cfbf580 RDX: 0000000000000081 RSI: ffffffff8cfbbe80 RDI: ffffffff92786ec0 RBP: 0000000000000081 R08: ffffffff8cfbb160 R09: 0000000000000000 R10: ffffffff926ae85f R11: 0000000000000000 R12: ffffffff8cfbb160 R13: 0000000000000000 R14: ffff888020b900e0 R15: ffff888075a32020 FS: 0000000000000000(0000) GS:ffff888122472000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056379e79ca58 CR3: 000000007e79e000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: hidg_set_alt+0x190/0xa10 drivers/usb/gadget/function/f_hid.c:1042 set_config drivers/usb/gadget/composite.c:1018 [inline] composite_setup+0x2ccf/0x9290 drivers/usb/gadget/composite.c:1901 configfs_composite_setup+0xfb/0x130 drivers/usb/gadget/configfs.c:1877 dummy_timer+0x20a0/0x3840 drivers/usb/gadget/udc/dummy_hcd.c:1983 __run_hrtimer kernel/time/hrtimer.c:2079 [inline] __hrtimer_run_queues+0x448/0x9a0 kernel/time/hrtimer.c:2136 hrtimer_run_softirq+0x1ca/0x360 kernel/time/hrtimer.c:2153 handle_softirqs+0x216/0xa20 kernel/softirq.c:669 __do_softirq kernel/softirq.c:703 [inline] invoke_softirq kernel/softirq.c:542 [inline] __irq_exit_rcu+0x178/0x220 kernel/softirq.c:786 irq_exit_rcu+0x9/0x30 kernel/softirq.c:809 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:lock_release+0x19e/0x310 kernel/locking/lockdep.c:5968 Code: ff 65 0f c1 05 db e0 d1 13 83 f8 01 0f 85 27 01 00 00 9c 58 f6 c4 02 0f 85 12 01 00 00 41 f7 c6 00 02 00 00 0f 85 c8 00 00 00 <48> 8b 44 24 10 65 48 2b 05 1d 97 d1 13 0f 85 4d 01 00 00 48 83 c4 RSP: 0018:ffffc9000312f840 EFLAGS: 00000206 RAX: 0000000000000046 RBX: ffffffff8ffeafe0 RCX: ffffc9000312f84c RDX: 0000000000000000 RSI: ffffffff8e600b10 RDI: ffffffff8c836180 RBP: ffffffff829067b7 R08: 00000000ef9d33e4 R09: 0000000000000007 R10: 0000000000000200 R11: 0000000000000000 R12: ffff88802f971f40 R13: 0000000000000024 R14: 0000000000000202 R15: 0000000000000001 rcu_lock_release include/linux/rcupdate.h:319 [inline] rcu_read_unlock+0x1c/0x60 include/linux/rcupdate.h:880 lruvec_stat_mod_folio+0x247/0x2e0 mm/memcontrol.c:1067 mod_lruvec_page_state include/linux/vmstat.h:543 [inline] vm_area_free_pages+0x1cb/0x2a0 mm/vmalloc.c:3496 vfree mm/vmalloc.c:3547 [inline] vfree+0xfc/0x850 mm/vmalloc.c:3521 kcov_put kernel/kcov.c:467 [inline] kcov_put kernel/kcov.c:463 [inline] kcov_close+0x34/0x60 kernel/kcov.c:574 __fput+0x3fb/0xb50 fs/file_table.c:512 fput_close_sync+0x118/0x250 fs/file_table.c:618 filp_close_sync+0x75/0xa0 fs/open.c:1574 close_files fs/file.c:572 [inline] put_files_struct fs/file.c:584 [inline] put_files_struct+0x1f7/0x390 fs/file.c:581 switch_files_struct fs/file.c:598 [inline] exit_files+0x85/0xb0 fs/file.c:604 do_exit+0x896/0x2a00 kernel/exit.c:977 do_group_exit+0xd5/0x2a0 kernel/exit.c:1123 get_signal+0x1f58/0x22e0 kernel/signal.c:3113 arch_do_signal_or_restart+0x91/0x7e0 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0x139/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1b39f6034e Code: Unable to access opcode bytes at 0x7f1b39f60324. RSP: 002b:00007ffe79114568 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: fffffffffffffe00 RBX: 000055558267b500 RCX: 00007f1b39f6034e RDX: 0000000040000000 RSI: 00007ffe7911460c RDI: ffffffffffffffff RBP: 00007ffe7911460c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000000aa R13: 000055558268ea00 R14: 0000000000106cee R15: 00007ffe79114660 ---------------- Code disassembly (best guess): 0: 48 89 fa mov %rdi,%rdx 3: 48 c1 ea 03 shr $0x3,%rdx 7: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) b: 0f 85 93 00 00 00 jne 0xa4 11: 48 8d 3d da 46 85 0a lea 0xa8546da(%rip),%rdi # 0xa8546f2 18: 48 8b 4b 08 mov 0x8(%rbx),%rcx 1c: 40 0f b6 d5 movzbl %bpl,%edx 20: 4d 89 e0 mov %r12,%r8 23: 48 c7 c6 80 be fb 8c mov $0xffffffff8cfbbe80,%rsi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: bd ea ff ff ff mov $0xffffffea,%ebp 34: e9 8e fd ff ff jmp 0xfffffdc7 39: 49 c7 c4 20 b1 fb 8c mov $0xffffffff8cfbb120,%r12