------------[ cut here ]------------
usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0
WARNING: CPU: 0 PID: 4490 at drivers/usb/gadget/udc/core.c:108 usb_ep_enable+0x25f/0x440 drivers/usb/gadget/udc/core.c:107
Modules linked in:
CPU: 0 PID: 4490 Comm: syz.4.30 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:usb_ep_enable+0x25f/0x440 drivers/usb/gadget/udc/core.c:107
Code: 49 8b 0e 48 c7 c0 e0 2d d5 8a 49 c7 c0 00 2e d5 8a 4c 0f 44 c0 48 c7 c7 a0 2d d5 8a 48 c7 c6 e7 0e e2 8b 89 ea e8 41 ee 80 03 <0f> 0b e9 e1 fe ff ff e8 c5 e7 42 fb 49 bc 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000007688 EFLAGS: 00010046
RAX: 0a60e71cbdf42e00 RBX: ffff888020ac40e0 RCX: ffff888021453b80
RDX: 0000000000000100 RSI: 0000000080000103 RDI: 0000000000000000
RBP: 0000000000000081 R08: ffff8880b8e2795b R09: 1ffff110171c4f2b
R10: dffffc0000000000 R11: ffffed10171c4f2c R12: dffffc0000000000
R13: ffff888020ac410d R14: ffff888020ac40e8 R15: ffff888058a5dc3a
FS: 00007f91bbec76c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005605cd9d49c8 CR3: 0000000056881000 CR4: 00000000003506f0
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_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xbc/0x120 kernel/locking/spinlock.c:194
Code: c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f7 44 24 20 00 02 00 00 41 c6 04 07 f8 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 5f ce 86 f7 65 8b 05 e0 e4 36 76 85 c0 74 3c 48 c7 04 24 0e 36
RSP: 0018:ffffc9000338eca0 EFLAGS: 00000206
RAX: dffffc0000000004 RBX: 0000000000000a02 RCX: 0a60e71cbdf42e00
RDX: dffffc0000000000 RSI: ffffffff8a2b2b60 RDI: 0000000000000001
RBP: ffffc9000338ed30 R08: ffff888145ed7283 R09: 1ffff11028bdae50
R10: dffffc0000000000 R11: ffffed1028bdae51 R12: dffffc0000000000
R13: 1ffff92000671db4 R14: ffff888145ed7280 R15: 1ffff92000671d94
spin_unlock_irqrestore include/linux/spinlock.h:419 [inline]
__test_set_page_writeback+0x80b/0xec0 mm/page-writeback.c:2881
set_page_writeback include/linux/page-flags.h:582 [inline]
__block_write_full_page+0x838/0x1180 fs/buffer.c:1806
__writepage+0x63/0x130 mm/page-writeback.c:2342
write_cache_pages+0x997/0xfb0 mm/page-writeback.c:2277
generic_writepages+0x104/0x170 mm/page-writeback.c:2368
do_writepages+0x493/0x700 mm/page-writeback.c:2386
filemap_fdatawrite_wbc+0x1eb/0x240 mm/filemap.c:400
__filemap_fdatawrite_range mm/filemap.c:433 [inline]
file_write_and_wait_range+0x14d/0x220 mm/filemap.c:810
blkdev_fsync+0x73/0xc0 block/fops.c:430
generic_write_sync include/linux/fs.h:3001 [inline]
blkdev_write_iter+0x418/0x560 block/fops.c:539
do_iter_readv_writev+0x47d/0x5f0 fs/read_write.c:-1
do_iter_write+0x1f8/0x7a0 fs/read_write.c:855
iter_file_splice_write+0x6be/0xcf0 fs/splice.c:689
do_splice_from fs/splice.c:767 [inline]
direct_splice_actor+0xe1/0x130 fs/splice.c:956
splice_direct_to_actor+0x4e8/0xc00 fs/splice.c:902
do_splice_direct+0x1d4/0x2f0 fs/splice.c:1008
do_sendfile+0x524/0xe30 fs/read_write.c:1249
__do_sys_sendfile64 fs/read_write.c:1317 [inline]
__se_sys_sendfile64+0x141/0x1a0 fs/read_write.c:1303
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f91bdc6f559
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:00007f91bbec7028 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f91bdef6fa0 RCX: 00007f91bdc6f559
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004
RBP: 00007f91bdd06ab8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000020000005 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f91bdef7038 R14: 00007f91bdef6fa0 R15: 00007fff3256f3f8
----------------
Code disassembly (best guess):
0: c7 44 24 20 00 00 00 movl $0x0,0x20(%rsp)
7: 00
8: 9c pushf
9: 8f 44 24 20 pop 0x20(%rsp)
d: f7 44 24 20 00 02 00 testl $0x200,0x20(%rsp)
14: 00
15: 41 c6 04 07 f8 movb $0xf8,(%r15,%rax,1)
1a: 75 4b jne 0x67
1c: f7 c3 00 02 00 00 test $0x200,%ebx
22: 74 01 je 0x25
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 5f ce 86 f7 call 0xf786ce8e <-- trapping instruction
2f: 65 8b 05 e0 e4 36 76 mov %gs:0x7636e4e0(%rip),%eax # 0x7636e516
36: 85 c0 test %eax,%eax
38: 74 3c je 0x76
3a: 48 rex.W
3b: c7 .byte 0xc7
3c: 04 24 add $0x24,%al
3e: 0e (bad)
3f: 36 ss