gadgetfs: disconnected ------------[ cut here ]------------ !list_empty(&req->queue) WARNING: drivers/usb/gadget/udc/dummy_hcd.c:710 at dummy_free_request+0x7d/0x90 drivers/usb/gadget/udc/dummy_hcd.c:710, CPU#1: syz.0.146/6559 Modules linked in: CPU: 1 UID: 0 PID: 6559 Comm: syz.0.146 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:dummy_free_request+0x7d/0x90 drivers/usb/gadget/udc/dummy_hcd.c:710 Code: 92 9e fa e8 05 1e 3b fa 5b 5d c3 cc cc cc cc e8 f9 1d 3b fa 90 0f 0b 90 e8 f0 1d 3b fa 5b 5d e9 c9 c2 ed 03 e8 e4 1d 3b fa 90 <0f> 0b 90 eb c7 48 89 ef e8 d6 ad aa fa eb b4 0f 1f 40 00 90 90 90 RSP: 0000:ffffc900274efbc8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888071291f10 RCX: ffffffff87cdccb1 RDX: ffff888029150000 RSI: ffffffff87ce901c RDI: ffff888021cd8068 RBP: ffff888071291f00 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff90259240 R13: ffff888021cd8c00 R14: ffff888013fb3844 R15: ffff888021cd8c00 FS: 0000000000000000(0000) GS:ffff888096cdf000(0063) knlGS:00000000581d1480 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000033e15ff8 CR3: 0000000070768000 CR4: 0000000000352ef0 Call Trace: gadgetfs_unbind+0x1e1/0x260 drivers/usb/gadget/legacy/inode.c:1661 gadget_unbind_driver+0x20c/0x4f0 drivers/usb/gadget/udc/core.c:1724 device_remove+0xcb/0x180 drivers/base/dd.c:616 __device_release_driver drivers/base/dd.c:1349 [inline] device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372 driver_detach+0xd8/0x1b0 drivers/base/dd.c:1435 bus_remove_driver+0x13b/0x2e0 drivers/base/bus.c:832 driver_unregister+0x76/0xb0 drivers/base/driver.c:202 usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1784 dev_release+0x132/0x1b0 drivers/usb/gadget/legacy/inode.c:1198 __fput+0x3ff/0xb50 fs/file_table.c:512 task_work_run+0x150/0x240 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1d8/0x6f0 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:318 [inline] __do_fast_syscall_32+0x701/0x970 arch/x86/entry/syscall_32.c:310 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:332 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf708efec Code: Unable to access opcode bytes at 0xf708efc2. RSP: 002b:00000000ffbdb79c EFLAGS: 00000202 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 000000000000001e RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000