gadgetfs: disconnected ------------[ cut here ]------------ !list_empty(&req->queue) WARNING: drivers/usb/gadget/udc/dummy_hcd.c:739 at dummy_free_request+0x7d/0x90 drivers/usb/gadget/udc/dummy_hcd.c:739, CPU#1: syz.0.1708/13938 Modules linked in: CPU: 1 UID: 0 PID: 13938 Comm: syz.0.1708 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP 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:739 Code: 7e 87 fa e8 e5 91 1a fa 5b 5d c3 cc cc cc cc e8 d9 91 1a fa 90 0f 0b 90 e8 d0 91 1a fa 5b 5d e9 89 3e fd 03 e8 c4 91 1a fa 90 <0f> 0b 90 eb c7 48 89 ef e8 b6 02 94 fa eb b4 0f 1f 40 00 90 90 90 RSP: 0000:ffffc90003fcfab8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880770df310 RCX: 0000000000000000 RDX: ffff888045ea0000 RSI: ffffffff87f34a5c RDI: ffff888023f8c068 RBP: ffff8880770df300 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff926aee5f R11: 0000000000000000 R12: ffffffff916be760 R13: ffff888023f8cc00 R14: ffff8880543da844 R15: ffff888023f8cc00 FS: 0000000000000000(0000) GS:ffff888095379000(0063) knlGS:00000000570ce480 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000004eaac000 CR4: 0000000000352ef0 Call Trace: gadgetfs_unbind+0x1e1/0x260 drivers/usb/gadget/legacy/inode.c:1792 gadget_unbind_driver+0x20c/0x4f0 drivers/usb/gadget/udc/core.c:1725 device_remove+0xcb/0x180 drivers/base/dd.c:617 __device_release_driver drivers/base/dd.c:1357 [inline] device_release_driver_internal+0x441/0x610 drivers/base/dd.c:1380 driver_detach+0xd8/0x1b0 drivers/base/dd.c:1443 bus_remove_driver+0x13b/0x2e0 drivers/base/bus.c:851 driver_unregister+0x76/0xb0 drivers/base/driver.c:202 usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1785 dev_release+0x132/0x1b0 drivers/usb/gadget/legacy/inode.c:1328 __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 __range_close+0x4a6/0x8b0 fs/file.c:919 __do_sys_close_range fs/file.c:1003 [inline] __se_sys_close_range fs/file.c:954 [inline] __ia32_sys_close_range+0x1f8/0x430 fs/file.c:954 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:79 [inline] __do_fast_syscall_32+0x14b/0x8c0 arch/x86/entry/syscall_32.c:282 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:307 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf73eefbc Code: d2 74 05 c1 e8 0c 89 02 8b 5d fc 31 c0 c9 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 2e 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 58 b8 RSP: 002b:00000000ffbc23ec EFLAGS: 00000202 ORIG_RAX: 00000000000001b4 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000000001e RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: d2 74 05 c1 shlb %cl,-0x3f(%rbp,%rax,1) 4: e8 0c 89 02 8b call 0x8b028915 9: 5d pop %rbp a: fc cld b: 31 c0 xor %eax,%eax d: c9 leave e: c3 ret f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 0f 1f 00 nopl (%rax) 21: 51 push %rcx 22: 52 push %rdx 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 ret 2e: 90 nop 2f: 2e 8d b4 26 00 00 00 cs lea 0x0(%rsi,%riz,1),%esi 36: 00 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 3e: 58 pop %rax 3f: b8 .byte 0xb8