============================================ WARNING: possible recursive locking detected syzkaller #0 Tainted: G L -------------------------------------------- syz.7.4736/23209 is trying to acquire lock: ffffffff8edb7e28 (qp_broker_list.mutex){+.+.}-{4:4}, at: vmci_qp_broker_detach+0xe9/0xeb0 drivers/misc/vmw_vmci/vmci_queue_pair.c:2095 but task is already holding lock: ffffffff8edb7e28 (qp_broker_list.mutex){+.+.}-{4:4}, at: vmci_qp_broker_detach+0xe9/0xeb0 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 locks held by syz.7.4736/23209: 1, last CPU#1: #0: ffffffff8edb7e28 (qp_broker_list.mutex){+.+.}-{4:4}, at: vmci_qp_broker_detach+0xe9/0xeb0 drivers/misc/vmw_vmci/vmci_queue_pair.c:2095 stack backtrace: CPU: 1 UID: 0 PID: 23209 Comm: syz.7.4736 Tainted: G L syzkaller #0 PREEMPT_{RT,(full)} Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_deadlock_bug+0x27a/0x290 kernel/locking/lockdep.c:3057 check_deadlock kernel/locking/lockdep.c:3109 [inline] validate_chain kernel/locking/lockdep.c:3911 [inline] __lock_acquire+0x261c/0x2e40 kernel/locking/lockdep.c:5254 lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5906 __mutex_lock_common kernel/locking/rtmutex_api.c:559 [inline] mutex_lock_nested+0x5a/0x1d0 kernel/locking/rtmutex_api.c:578 vmci_qp_broker_detach+0xe9/0xeb0 drivers/misc/vmw_vmci/vmci_queue_pair.c:2095 ctx_free_ctx drivers/misc/vmw_vmci/vmci_context.c:424 [inline] kref_put include/linux/kref.h:65 [inline] vmci_ctx_put+0x619/0xc00 drivers/misc/vmw_vmci/vmci_context.c:477 vmci_ctx_enqueue_datagram+0x3c3/0x440 drivers/misc/vmw_vmci/vmci_context.c:340 dg_dispatch_as_host drivers/misc/vmw_vmci/vmci_datagram.c:276 [inline] vmci_datagram_dispatch+0x450/0xc80 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+0x87e/0xeb0 drivers/misc/vmw_vmci/vmci_queue_pair.c:2188 ctx_free_ctx drivers/misc/vmw_vmci/vmci_context.c:424 [inline] kref_put include/linux/kref.h:65 [inline] vmci_ctx_put+0x619/0xc00 drivers/misc/vmw_vmci/vmci_context.c:477 vmci_host_close+0x91/0x140 drivers/misc/vmw_vmci/vmci_host.c:143 __fput+0x42a/0xa80 fs/file_table.c:512 task_work_run+0x1d9/0x270 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+0x1fa/0x730 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:339 [inline] do_syscall_64+0x33d/0x530 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0dd997de99 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffddf429518 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f0dd9c07da0 RCX: 00007f0dd997de99 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f0dd9c07da0 R08: 0000000000000006 R09: 0000000000000000 R10: 00007f0dd9c07cb0 R11: 0000000000000246 R12: 0000000000180571 R13: 00007f0dd9c0609c R14: 000000000018032a R15: 00007f0dd9c06090