============================================
WARNING: possible recursive locking detected
4.14.291-syzkaller #0 Not tainted
--------------------------------------------
syz-executor.1/9929 is trying to acquire lock:
 (qp_broker_list.mutex){+.+.}, at: [<ffffffff8391349b>] vmci_qp_broker_detach+0x11b/0x1000 drivers/misc/vmw_vmci/vmci_queue_pair.c:2186

but task is already holding lock:
 (qp_broker_list.mutex){+.+.}, at: [<ffffffff8391349b>] vmci_qp_broker_detach+0x11b/0x1000 drivers/misc/vmw_vmci/vmci_queue_pair.c:2186

other info that might help us debug this:
 Possible unsafe locking scenario:

       CPU0
       ----
  lock(qp_broker_list.mutex);
  lock(qp_broker_list.mutex);

 *** DEADLOCK ***

 May be due to missing lock nesting notation

1 lock held by syz-executor.1/9929:
 #0:  (qp_broker_list.mutex){+.+.}, at: [<ffffffff8391349b>] vmci_qp_broker_detach+0x11b/0x1000 drivers/misc/vmw_vmci/vmci_queue_pair.c:2186

stack backtrace:
CPU: 0 PID: 9929 Comm: syz-executor.1 Not tainted 4.14.291-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 print_deadlock_bug kernel/locking/lockdep.c:1800 [inline]
 check_deadlock kernel/locking/lockdep.c:1847 [inline]
 validate_chain kernel/locking/lockdep.c:2448 [inline]
 __lock_acquire.cold+0x180/0x97c kernel/locking/lockdep.c:3491
 lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998
 __mutex_lock_common kernel/locking/mutex.c:756 [inline]
 __mutex_lock+0xc4/0x1310 kernel/locking/mutex.c:893
 vmci_qp_broker_detach+0x11b/0x1000 drivers/misc/vmw_vmci/vmci_queue_pair.c:2186
 ctx_free_ctx drivers/misc/vmw_vmci/vmci_context.c:452 [inline]
 kref_put include/linux/kref.h:70 [inline]
 vmci_ctx_put+0x487/0xbf0 drivers/misc/vmw_vmci/vmci_context.c:505
 vmci_ctx_enqueue_datagram+0x3b1/0x4b0 drivers/misc/vmw_vmci/vmci_context.c:368
 dg_dispatch_as_host drivers/misc/vmw_vmci/vmci_datagram.c:283 [inline]
 vmci_datagram_dispatch+0x2b8/0x970 drivers/misc/vmw_vmci/vmci_datagram.c:347
 qp_notify_peer+0x13b/0x1e0 drivers/misc/vmw_vmci/vmci_queue_pair.c:1575
 vmci_qp_broker_detach+0x8c2/0x1000 drivers/misc/vmw_vmci/vmci_queue_pair.c:2279
 ctx_free_ctx drivers/misc/vmw_vmci/vmci_context.c:452 [inline]
 kref_put include/linux/kref.h:70 [inline]
 vmci_ctx_put+0x487/0xbf0 drivers/misc/vmw_vmci/vmci_context.c:505
 vmci_host_close+0xf9/0x170 drivers/misc/vmw_vmci/vmci_host.c:147
 __fput+0x25f/0x7a0 fs/file_table.c:210
 task_work_run+0x11f/0x190 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:191 [inline]
 exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164
 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:270 [inline]
 do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7fd71dd7b279
RSP: 002b:00007fd71c6f0168 EFLAGS: 00000246 ORIG_RAX: 0000000000000124
RAX: 0000000000000004 RBX: 00007fd71de8df80 RCX: 00007fd71dd7b279
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000005
RBP: 00007fd71ddd52e9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffda5fc6b2f R14: 00007fd71c6f0300 R15: 0000000000022000