============================================ WARNING: possible recursive locking detected syzkaller #0 Tainted: G L -------------------------------------------- syz.3.9076/27914 is trying to acquire lock: ffffffff8eba6708 (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: ffffffff8eba6708 (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 1 lock held by syz.3.9076/27914: #0: ffffffff8eba6708 (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: 27914 Comm: syz.3.9076 Tainted: G L syzkaller #0 PREEMPT_{RT,(full)} Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_deadlock_bug+0x279/0x290 kernel/locking/lockdep.c:3041 check_deadlock kernel/locking/lockdep.c:3093 [inline] validate_chain kernel/locking/lockdep.c:3895 [inline] __lock_acquire+0x24df/0x2ce0 kernel/locking/lockdep.c:5237 lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __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:318 [inline] do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9ee662de59 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:00007f9ee4865028 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f9ee68b6090 RCX: 00007f9ee662de59 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000007 RBP: 00007f9ee66c3e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9ee68b6128 R14: 00007f9ee68b6090 R15: 00007fffa220c248 ------------[ cut here ]------------ rtmutex deadlock detected WARNING: kernel/locking/rtmutex.c:1698 at rt_mutex_handle_deadlock+0x21/0xb0 kernel/locking/rtmutex.c:1698, CPU#1: syz.3.9076/27914 Modules linked in: CPU: 1 UID: 0 PID: 27914 Comm: syz.3.9076 Tainted: G L syzkaller #0 PREEMPT_{RT,(full)} Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 RIP: 0010:rt_mutex_handle_deadlock+0x21/0xb0 kernel/locking/rtmutex.c:1698 Code: 90 90 90 90 90 90 90 90 90 41 57 41 56 41 55 41 54 53 83 ff dd 0f 85 81 00 00 00 48 89 f7 e8 16 40 01 00 48 8d 3d 0f 9d 6e 04 <67> 48 0f b9 3a 4c 8d 3d 00 00 00 00 65 48 8b 1d 43 1d 59 07 4c 8d RSP: 0018:ffffc9000665f4f0 EFLAGS: 00010286 RAX: 0000000080000000 RBX: 00000000ffffffdd RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8bca6260 RDI: ffffffff8fb2efc0 RBP: ffffc9000665f6a0 R08: ffffffff8faf84f7 R09: 1ffffffff1f5f09e R10: dffffc0000000000 R11: fffffbfff1f5f09f R12: 1ffff92000ccbeac R13: ffffffff8b444cf2 R14: ffffffff8eba66b0 R15: dffffc0000000000 FS: 00007f9ee48656c0(0000) GS:ffff888125d49000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0e91377dac CR3: 000000006ba52000 CR4: 00000000003526f0 Call Trace: __rt_mutex_slowlock kernel/locking/rtmutex.c:1760 [inline] __rt_mutex_slowlock_locked kernel/locking/rtmutex.c:1787 [inline] rt_mutex_slowlock+0x73c/0x780 kernel/locking/rtmutex.c:1827 __rt_mutex_lock kernel/locking/rtmutex.c:1842 [inline] __mutex_lock_common kernel/locking/rtmutex_api.c:560 [inline] mutex_lock_nested+0x168/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:318 [inline] do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9ee662de59 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:00007f9ee4865028 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f9ee68b6090 RCX: 00007f9ee662de59 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000007 RBP: 00007f9ee66c3e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9ee68b6128 R14: 00007f9ee68b6090 R15: 00007fffa220c248 ---------------- Code disassembly (best guess): 0: 90 nop 1: 90 nop 2: 90 nop 3: 90 nop 4: 90 nop 5: 90 nop 6: 90 nop 7: 90 nop 8: 90 nop 9: 41 57 push %r15 b: 41 56 push %r14 d: 41 55 push %r13 f: 41 54 push %r12 11: 53 push %rbx 12: 83 ff dd cmp $0xffffffdd,%edi 15: 0f 85 81 00 00 00 jne 0x9c 1b: 48 89 f7 mov %rsi,%rdi 1e: e8 16 40 01 00 call 0x14039 23: 48 8d 3d 0f 9d 6e 04 lea 0x46e9d0f(%rip),%rdi # 0x46e9d39 * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 4c 8d 3d 00 00 00 00 lea 0x0(%rip),%r15 # 0x36 36: 65 48 8b 1d 43 1d 59 mov %gs:0x7591d43(%rip),%rbx # 0x7591d81 3d: 07 3e: 4c rex.WR 3f: 8d .byte 0x8d