============================================ WARNING: possible recursive locking detected syzkaller #0 Tainted: G L -------------------------------------------- syz.4.507/7830 is trying to acquire lock: ffffffff90e81c50 (qp_broker_list.mutex){+.+.}-{4:4}, at: vmci_qp_broker_detach+0x14c/0x11e0 drivers/misc/vmw_vmci/vmci_queue_pair.c:2095 but task is already holding lock: ffffffff90e81c50 (qp_broker_list.mutex){+.+.}-{4:4}, at: vmci_qp_broker_detach+0x14c/0x11e0 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.4.507/7830: 1, last CPU#1: #0: ffffffff90e81c50 (qp_broker_list.mutex){+.+.}-{4:4}, at: vmci_qp_broker_detach+0x14c/0x11e0 drivers/misc/vmw_vmci/vmci_queue_pair.c:2095 stack backtrace: CPU: 1 UID: 0 PID: 7830 Comm: syz.4.507 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/05/2026 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 print_deadlock_bug.cold+0xbd/0xca kernel/locking/lockdep.c:3085 check_deadlock kernel/locking/lockdep.c:3137 [inline] validate_chain kernel/locking/lockdep.c:3939 [inline] __lock_acquire+0x13f4/0x1f40 kernel/locking/lockdep.c:5288 lock_acquire kernel/locking/lockdep.c:5942 [inline] lock_acquire+0x1d1/0x380 kernel/locking/lockdep.c:5899 __mutex_lock_common kernel/locking/mutex.c:646 [inline] __mutex_lock+0x19f/0x1c10 kernel/locking/mutex.c:821 vmci_qp_broker_detach+0x14c/0x11e0 drivers/misc/vmw_vmci/vmci_queue_pair.c:2095 ctx_free_ctx+0x517/0xda0 drivers/misc/vmw_vmci/vmci_context.c:424 kref_put include/linux/kref.h:65 [inline] vmci_ctx_put drivers/misc/vmw_vmci/vmci_context.c:477 [inline] vmci_ctx_enqueue_datagram+0x4be/0x5f0 drivers/misc/vmw_vmci/vmci_context.c:340 dg_dispatch_as_host drivers/misc/vmw_vmci/vmci_datagram.c:276 [inline] vmci_datagram_dispatch+0x3db/0xc60 drivers/misc/vmw_vmci/vmci_datagram.c:340 qp_notify_peer+0x1a6/0x230 drivers/misc/vmw_vmci/vmci_queue_pair.c:1481 vmci_qp_broker_detach+0xa20/0x11e0 drivers/misc/vmw_vmci/vmci_queue_pair.c:2188 ctx_free_ctx+0x517/0xda0 drivers/misc/vmw_vmci/vmci_context.c:424 kref_put include/linux/kref.h:65 [inline] vmci_ctx_put drivers/misc/vmw_vmci/vmci_context.c:477 [inline] vmci_ctx_destroy+0x150/0x1c0 drivers/misc/vmw_vmci/vmci_context.c:195 vmci_host_close+0x115/0x1a0 drivers/misc/vmw_vmci/vmci_host.c:143 __fput+0x3fb/0xb50 fs/file_table.c:512 fput_close_sync+0x118/0x250 fs/file_table.c:618 filp_close_sync+0x75/0xa0 fs/open.c:1573 __do_sys_close fs/open.c:1596 [inline] __se_sys_close fs/open.c:1583 [inline] __x64_sys_close+0x81/0x110 fs/open.c:1583 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f235439f559 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:00007f2355181028 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 00007f2354625fa0 RCX: 00007f235439f559 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f2354436b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2354626038 R14: 00007f2354625fa0 R15: 00007ffd6f7c6fa8