============================================ WARNING: possible recursive locking detected syzkaller #0 Not tainted -------------------------------------------- syz.4.7065/27926 is trying to acquire lock: ffffffff8f84a1b0 (qp_broker_list.mutex){+.+.}-{4:4}, at: vmci_qp_broker_detach+0xe9/0xec0 drivers/misc/vmw_vmci/vmci_queue_pair.c:2095 but task is already holding lock: ffffffff8f84a1b0 (qp_broker_list.mutex){+.+.}-{4:4}, at: qp_broker_alloc+0x19f/0x2080 drivers/misc/vmw_vmci/vmci_queue_pair.c:1731 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.4.7065/27926: 1, last CPU#1: #0: ffffffff8f84a1b0 (qp_broker_list.mutex){+.+.}-{4:4}, at: qp_broker_alloc+0x19f/0x2080 drivers/misc/vmw_vmci/vmci_queue_pair.c:1731 stack backtrace: CPU: 1 UID: 0 PID: 27926 Comm: syz.4.7065 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/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+0x19d/0x1550 kernel/locking/mutex.c:821 vmci_qp_broker_detach+0xe9/0xec0 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+0x161/0x210 drivers/misc/vmw_vmci/vmci_queue_pair.c:1481 qp_broker_attach drivers/misc/vmw_vmci/vmci_queue_pair.c:1664 [inline] qp_broker_alloc+0x1901/0x2080 drivers/misc/vmw_vmci/vmci_queue_pair.c:1752 vmci_qp_broker_alloc+0x92/0xc0 drivers/misc/vmw_vmci/vmci_queue_pair.c:1942 vmci_host_do_alloc_queuepair drivers/misc/vmw_vmci/vmci_host.c:495 [inline] vmci_host_unlocked_ioctl+0x14bc/0x2850 drivers/misc/vmw_vmci/vmci_host.c:934 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f909079e159 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:00007f908e9f6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f9090a25fa0 RCX: 00007f909079e159 RDX: 0000200000000540 RSI: 00000000000007a8 RDI: 0000000000000004 RBP: 00007f909083506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9090a26038 R14: 00007f9090a25fa0 R15: 00007ffe7a032b68