============================================ WARNING: possible recursive locking detected 6.15.0-rc5-syzkaller-g92a09c47464d #0 Not tainted -------------------------------------------- syz-executor.5/6300 is trying to acquire lock: ffffffff8e929758 (qp_broker_list.mutex){+.+.}-{4:4}, at: vmci_qp_broker_detach+0x113/0xf10 drivers/misc/vmw_vmci/vmci_queue_pair.c:2095 but task is already holding lock: ffffffff8e929758 (qp_broker_list.mutex){+.+.}-{4:4}, at: vmci_qp_broker_detach+0x113/0xf10 drivers/misc/vmw_vmci/vmci_queue_pair.c:2095 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.5/6300: #0: ffffffff8e929758 (qp_broker_list.mutex){+.+.}-{4:4}, at: vmci_qp_broker_detach+0x113/0xf10 drivers/misc/vmw_vmci/vmci_queue_pair.c:2095 stack backtrace: CPU: 1 UID: 0 PID: 6300 Comm: syz-executor.5 Not tainted 6.15.0-rc5-syzkaller-g92a09c47464d #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 print_deadlock_bug+0x28b/0x2a0 kernel/locking/lockdep.c:3042 check_deadlock kernel/locking/lockdep.c:3094 [inline] validate_chain+0x1a3f/0x2140 kernel/locking/lockdep.c:3896 __lock_acquire+0xaac/0xd20 kernel/locking/lockdep.c:5235 lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5866 __mutex_lock_common kernel/locking/mutex.c:601 [inline] __mutex_lock+0x182/0xe80 kernel/locking/mutex.c:746 vmci_qp_broker_detach+0x113/0xf10 drivers/misc/vmw_vmci/vmci_queue_pair.c:2095 ctx_free_ctx drivers/misc/vmw_vmci/vmci_context.c:444 [inline] kref_put include/linux/kref.h:65 [inline] vmci_ctx_put+0x5ef/0xbe0 drivers/misc/vmw_vmci/vmci_context.c:497 vmci_ctx_enqueue_datagram+0x3ab/0x420 drivers/misc/vmw_vmci/vmci_context.c:360 dg_dispatch_as_host drivers/misc/vmw_vmci/vmci_datagram.c:276 [inline] vmci_datagram_dispatch+0x43f/0xc10 drivers/misc/vmw_vmci/vmci_datagram.c:340 qp_notify_peer drivers/misc/vmw_vmci/vmci_queue_pair.c:1481 [inline] vmci_qp_broker_detach+0x8c8/0xf10 drivers/misc/vmw_vmci/vmci_queue_pair.c:2188 ctx_free_ctx drivers/misc/vmw_vmci/vmci_context.c:444 [inline] kref_put include/linux/kref.h:65 [inline] vmci_ctx_put+0x5ef/0xbe0 drivers/misc/vmw_vmci/vmci_context.c:497 vmci_host_close+0x98/0x160 drivers/misc/vmw_vmci/vmci_host.c:143 __fput+0x449/0xa70 fs/file_table.c:465 task_work_run+0x1d1/0x260 kernel/task_work.c:227 resume_user_mode_work+0x5e/0x80 include/linux/resume_user_mode.h:50 exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x9a/0x120 kernel/entry/common.c:218 do_syscall_64+0x103/0x210 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x456c29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 b4 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5b7d7590d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000124 RAX: 0000000000000003 RBX: 000000000055bf60 RCX: 0000000000456c29 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000004 RBP: 00000000004b09d6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004affcd R13: 000000000000000b R14: 000000000055bf60 R15: 0000000000a8fa68