------------[ cut here ]------------ usb_ep_enable: ep129 (ep1in-bulk) has maxpacket 0 WARNING: CPU: 0 PID: 14994 at drivers/usb/gadget/udc/core.c:125 usb_ep_enable+0x263/0x440 drivers/usb/gadget/udc/core.c:124 Modules linked in: CPU: 0 PID: 14994 Comm: syz-executor 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 20 45 9a 8b 49 c7 c0 40 45 9a 8b 4c 0f 44 c0 48 c7 c7 e0 44 9a 8b 48 c7 c6 b2 21 c9 8c 89 ea e8 bd 05 9a fa <0f> 0b e9 e1 fe ff ff e8 91 57 d0 fa 49 bc 00 00 00 00 00 fc ff df RSP: 0018:ffffc90000007790 EFLAGS: 00010046 RAX: fbe48f2351237d00 RBX: ffff8880262c00e0 RCX: ffff88807e931e00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002 RBP: 0000000000000081 R08: ffff8880b8c28c53 R09: 1ffff1101718518a R10: dffffc0000000000 R11: ffffed101718518b R12: dffffc0000000000 R13: ffff8880262c010d R14: ffff8880262c00e8 R15: ffff8880233da3ba FS: 000055556b2df500(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556d4829f8 CR3: 0000000061b79000 CR4: 00000000003506f0 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:unwind_next_frame+0x16c2/0x2990 arch/x86/kernel/unwind_orc.c:641 Code: 0f b6 04 38 84 c0 0f 85 58 0e 00 00 43 0f b6 04 3e 84 c0 0f 85 6f 0e 00 00 48 8b 44 24 38 44 0f b7 30 41 c1 ee 04 41 83 e6 0f <4c> 89 f7 48 c7 c6 00 0b fa 8d e8 ff dd 4b 00 41 83 fe 04 0f 84 b8 RSP: 0018:ffffc9000476f378 EFLAGS: 00000202 RAX: ffffffff901598fa RBX: ffffffff901598f6 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc9000476f4a8 RBP: ffffc9000476f498 R08: ffffc9000476f4a7 R09: 0000000000000000 R10: ffffc9000476f498 R11: fffff520008ede95 R12: ffffc9000476f4e0 R13: ffffc9000476f448 R14: 0000000000000001 R15: dffffc0000000000 arch_stack_walk+0x144/0x190 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122 save_stack+0x125/0x230 mm/page_owner.c:128 __reset_page_owner+0x4e/0x190 mm/page_owner.c:149 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1182 [inline] free_unref_page_prepare+0x7d7/0x8f0 mm/page_alloc.c:2366 free_unref_page_list+0xbe/0x860 mm/page_alloc.c:2505 release_pages+0x208a/0x2300 mm/swap.c:1022 __folio_batch_release+0x71/0xe0 mm/swap.c:1042 folio_batch_release include/linux/pagevec.h:83 [inline] shmem_undo_range+0x5ff/0x1a80 mm/shmem.c:1026 shmem_truncate_range mm/shmem.c:1135 [inline] shmem_evict_inode+0x285/0xa70 mm/shmem.c:1264 evict+0x4b3/0x9d0 fs/inode.c:702 do_unlinkat+0x38c/0x590 fs/namei.c:4465 __do_sys_unlink fs/namei.c:4506 [inline] __se_sys_unlink fs/namei.c:4504 [inline] __x64_sys_unlink+0x49/0x50 fs/namei.c:4504 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:0x7f3e4179e647 Code: 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffd0a3b3e08 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3e4179e647 RDX: 00007ffd0a3b3e30 RSI: 00007ffd0a3b3ec0 RDI: 00007ffd0a3b3ec0 RBP: 00007ffd0a3b3ec0 R08: 00007ffd0a3b4ec0 R09: 00000000ffffffff R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffd0a3b4f50 R13: 00007f3e41835f63 R14: 00000000001177d3 R15: 00007ffd0a3b4f90 ---------------- Code disassembly (best guess): 0: 0f b6 04 38 movzbl (%rax,%rdi,1),%eax 4: 84 c0 test %al,%al 6: 0f 85 58 0e 00 00 jne 0xe64 c: 43 0f b6 04 3e movzbl (%r14,%r15,1),%eax 11: 84 c0 test %al,%al 13: 0f 85 6f 0e 00 00 jne 0xe88 19: 48 8b 44 24 38 mov 0x38(%rsp),%rax 1e: 44 0f b7 30 movzwl (%rax),%r14d 22: 41 c1 ee 04 shr $0x4,%r14d 26: 41 83 e6 0f and $0xf,%r14d * 2a: 4c 89 f7 mov %r14,%rdi <-- trapping instruction 2d: 48 c7 c6 00 0b fa 8d mov $0xffffffff8dfa0b00,%rsi 34: e8 ff dd 4b 00 call 0x4bde38 39: 41 83 fe 04 cmp $0x4,%r14d 3d: 0f .byte 0xf 3e: 84 .byte 0x84 3f: b8 .byte 0xb8