============================================ WARNING: possible recursive locking detected syzkaller #0 Tainted: G L -------------------------------------------- syz.3.3186/17298 is trying to acquire lock: ffffffff90c6da10 (qp_broker_list.mutex){+.+.}-{4:4}, at: vmci_qp_broker_detach+0xe9/0xec0 drivers/misc/vmw_vmci/vmci_queue_pair.c:2093 but task is already holding lock: ffffffff90c6da10 (qp_broker_list.mutex){+.+.}-{4:4}, at: qp_broker_alloc+0x19f/0x2080 drivers/misc/vmw_vmci/vmci_queue_pair.c:1729 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.3.3186/17298: 1, on CPU#0: #0: ffffffff90c6da10 (qp_broker_list.mutex){+.+.}-{4:4}, at: qp_broker_alloc+0x19f/0x2080 drivers/misc/vmw_vmci/vmci_queue_pair.c:1729 stack backtrace: CPU: 0 UID: 0 PID: 17298 Comm: syz.3.3186 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_deadlock_bug+0x27a/0x290 kernel/locking/lockdep.c:3085 check_deadlock kernel/locking/lockdep.c:3137 [inline] validate_chain kernel/locking/lockdep.c:3939 [inline] __lock_acquire+0x25db/0x2de0 kernel/locking/lockdep.c:5288 lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5942 __mutex_lock_common kernel/locking/mutex.c:646 [inline] __mutex_lock+0x197/0x15a0 kernel/locking/mutex.c:821 vmci_qp_broker_detach+0xe9/0xec0 drivers/misc/vmw_vmci/vmci_queue_pair.c:2093 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+0x161/0x210 drivers/misc/vmw_vmci/vmci_queue_pair.c:1479 qp_broker_attach drivers/misc/vmw_vmci/vmci_queue_pair.c:1662 [inline] qp_broker_alloc+0x1906/0x2080 drivers/misc/vmw_vmci/vmci_queue_pair.c:1750 vmci_qp_broker_alloc+0x92/0xc0 drivers/misc/vmw_vmci/vmci_queue_pair.c:1940 vmci_host_do_alloc_queuepair drivers/misc/vmw_vmci/vmci_host.c:495 [inline] vmci_host_unlocked_ioctl+0x14b7/0x2840 drivers/misc/vmw_vmci/vmci_host.c:934 vfs_ioctl fs/ioctl.c:52 [inline] __do_sys_ioctl fs/ioctl.c:604 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:590 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x00007f72233a9559 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:00007f7224249028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f7223626090 RCX: 00007f72233a9559 RDX: 0000200000000800 RSI: 00000000000007a8 RDI: 0000000000000004 RBP: 00007f7223438136 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7223626128 R14: 00007f7223626090 R15: 00007ffdeddee348