------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 1 PID: 4372 at drivers/usb/gadget/udc/core.c:108 usb_ep_enable+0x25f/0x440 drivers/usb/gadget/udc/core.c:107
Modules linked in:
CPU: 1 PID: 4372 Comm: syz.3.16 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
RIP: 0010:usb_ep_enable+0x25f/0x440 drivers/usb/gadget/udc/core.c:107
Code: 49 8b 0e 48 c7 c0 e0 e8 d5 8a 49 c7 c0 00 e9 d5 8a 4c 0f 44 c0 48 c7 c7 a0 e8 d5 8a 48 c7 c6 b8 ee e3 8b 89 ea e8 41 a7 82 03 <0f> 0b e9 e1 fe ff ff e8 c5 00 3e fb 49 bc 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000dd0688 EFLAGS: 00010046
RAX: 6a9a50791bade100 RBX: ffff888147c2c0e0 RCX: ffff88807bfd3b80
RDX: 0000000000000100 RSI: 0000000000000103 RDI: 0000000000000000
RBP: 0000000000000081 R08: ffff8880b8f2795b R09: 1ffff110171e4f2b
R10: dffffc0000000000 R11: ffffed10171e4f2c R12: dffffc0000000000
R13: ffff888147c2c10d R14: ffff888147c2c0e8 R15: ffff88805c60643a
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f88d10ada08 CR3: 0000000075497000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
hidg_set_alt+0x126/0xa00 drivers/usb/gadget/function/f_hid.c:822
set_config+0x734/0xfa0 drivers/usb/gadget/composite.c:972
composite_setup+0x1999/0x2b60 drivers/usb/gadget/composite.c:1878
configfs_composite_setup+0xc3/0x100 drivers/usb/gadget/configfs.c:1492
dummy_timer+0x1338/0x34a0 drivers/usb/gadget/udc/dummy_hcd.c:1944
call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648
expire_timers kernel/time/timer.c:1699 [inline]
__run_timers+0x56c/0x810 kernel/time/timer.c:1970
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983
handle_softirqs+0x336/0x830 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202
Code: 00 00 00 66 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 de 2e 8b f7 48 89 df e8 e6 10 8c f7 e8 21 0d ad f7 fb bf 01 00 00 00 26 17 80 f7 65 8b 05 a7 2d 30 76 85 c0 74 02 5b c3 e8 e4 3a 2e
RSP: 0018:ffffc900033aed30 EFLAGS: 00000286
RAX: 6a9a50791bade100 RBX: ffff88807b8560a0 RCX: 6a9a50791bade100
RDX: dffffc0000000000 RSI: ffffffff8a2b2b60 RDI: 0000000000000001
RBP: ffffc900033aeea0 R08: ffffffff9104615f R09: 1ffffffff2208c2b
R10: dffffc0000000000 R11: fffffbfff2208c2c R12: ffffc900033aede0
R13: 0000000000000001 R14: 0000000000000cc0 R15: ffffea000142c380
spin_unlock_irq include/linux/spinlock.h:414 [inline]
shmem_add_to_page_cache+0x1002/0x14d0 mm/shmem.c:752
shmem_getpage_gfp+0x1735/0x2c10 mm/shmem.c:1940
shmem_getpage mm/shmem.c:151 [inline]
shmem_write_begin+0xcd/0x1a0 mm/shmem.c:2474
generic_perform_write+0x2b6/0x550 mm/filemap.c:3785
__generic_file_write_iter+0x261/0x4e0 mm/filemap.c:3912
generic_file_write_iter+0xa6/0x1b0 mm/filemap.c:3944
__kernel_write+0x522/0x980 fs/read_write.c:539
__dump_emit+0x258/0x380 fs/coredump.c:943
dump_user_range+0x84/0x340 fs/coredump.c:1017
elf_core_dump+0x2fe0/0x3530 fs/binfmt_elf.c:2285
do_coredump+0x14e8/0x2a40 fs/coredump.c:894
get_signal+0x531/0x12e0 kernel/signal.c:2899
arch_do_signal_or_restart+0xe6/0x12a0 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:157 [inline]
exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:181
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:217
irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:323
exc_page_fault+0x88/0x100 arch/x86/mm/fault.c:1499
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606
RIP: 0033:0x7fe4f7400cb7
Code: e8 fe f9 ff ff 89 f2 48 8d 3d ad 4e 1b 00 48 8d 35 d2 14 1e 00 31 c0 e8 37 f8 ff ff 0f 1f 80 00 00 00 00 53 89 fb 48 83 ec 10 <64> 8b 04 25 a4 ff ff ff 85 c0 74 2a 89 fe 31 c0 bf 3c 00 00 00 e8
RSP: 002b:00007fe4f5783120 EFLAGS: 00010202
RAX: 0000000000000000 RBX: 000000000000000b RCX: 00007fe4f754b559
RDX: 00007fe4f5783140 RSI: 00007fe4f5783270 RDI: 000000000000000b
RBP: 00007fe4f75e2b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007fe4f77d2038 R14: 00007fe4f77d1fa0 R15: 00007fff6ae59f18
----------------
Code disassembly (best guess):
0: 00 00 add %al,(%rax)
2: 00 66 90 add %ah,-0x70(%rsi)
5: 53 push %rbx
6: 48 89 fb mov %rdi,%rbx
9: 48 83 c7 18 add $0x18,%rdi
d: 48 8b 74 24 08 mov 0x8(%rsp),%rsi
12: e8 de 2e 8b f7 call 0xf78b2ef5
17: 48 89 df mov %rbx,%rdi
1a: e8 e6 10 8c f7 call 0xf78c1105
1f: e8 21 0d ad f7 call 0xf7ad0d45
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 26 17 80 f7 call 0xf7801755 <-- trapping instruction
2f: 65 8b 05 a7 2d 30 76 mov %gs:0x76302da7(%rip),%eax # 0x76302ddd
36: 85 c0 test %eax,%eax
38: 74 02 je 0x3c
3a: 5b pop %rbx
3b: c3 ret
3c: e8 .byte 0xe8
3d: e4 3a in $0x3a,%al
3f: 2e cs