Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E824E429810 for ; Wed, 6 May 2026 11:32:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067169; cv=none; b=OJ3nwBxRvQ91XB91y9oylEwh2Sy6Ks91RowVikR/cQhVfWrIgebyKEE02/mJJ6CpeURMmhTi1wDbIX2rLstWboodntogQXfe0XZYYOpI+a3vPbBhe3RbokzA8yVtwx8Tg/g7LaQyxLthrhkEgvOEe4U7idpuY4/dnbqxHQizk5c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067169; c=relaxed/simple; bh=WdujySB7cIaBQ/kRXmB4vELsz7CJq3e3lFH9PpSoutg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UWExjHLMfN8Pn+qrZQWmuiXZn+EHQLwZPse7zobpQPig6FKhQfVCZGOp9JSFJtOr9ED7dLBoTXDTDDfK7RneiDahZuiegmLgQkmy0u/Usd17h0j9mpxXCWoMuJ8DatZe99eX9d8TxYG3zHwGRfy6LzHGJXOqAN1lKQ7BSg+PM1s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Fy7ftmak; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Fy7ftmak" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F6DBC2BCC4; Wed, 6 May 2026 11:32:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067168; bh=WdujySB7cIaBQ/kRXmB4vELsz7CJq3e3lFH9PpSoutg=; h=From:To:Cc:Subject:Date:Reply-To:From; b=Fy7ftmakEKBUyk1HHspnjWAADT9Rdsqd08jHhVkm6d6hEdWQqfqDT/LJ8ucCb13mq Bl1FFC3+O0FRcDr1DMDvwuGKXXIGRbqHtdYcThMO7xd9ZGFJh38c5tVPKhcsJDUmf4 o4cY5TB4mfjGWaWEJ9K2IWKstQ5qqqaeAYmoCT94= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43214: KVM: x86: Add SRCU protection for reading PDPTRs in __get_sregs2() Date: Wed, 6 May 2026 13:28:50 +0200 Message-ID: <2026050650-CVE-2026-43214-37cb@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4758; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cOWB+O2FnGgcxi9We5LEMcuZMozd8ZprbEf3fBEmAio=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/Vbexm/sbuU9Mj0vyM4zyM/0gtH16ofLx4DLV+ud1F u/OMWd2xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwES67zLMd9Hpuven8WvQ7I1+ DJvyHMIFTjRfZFiwVyslNDMvUUd70spvRWFKc6Yu1zQCAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Add SRCU protection for reading PDPTRs in __get_sregs2() Add SRCU read-side protection when reading PDPTR registers in __get_sregs2(). Reading PDPTRs may trigger access to guest memory: kvm_pdptr_read() -> svm_cache_reg() -> load_pdptrs() -> kvm_vcpu_read_guest_page() -> kvm_vcpu_gfn_to_memslot() kvm_vcpu_gfn_to_memslot() dereferences memslots via __kvm_memslots(), which uses srcu_dereference_check() and requires either kvm->srcu or kvm->slots_lock to be held. Currently only vcpu->mutex is held, triggering lockdep warning: ============================= WARNING: suspicious RCU usage in kvm_vcpu_gfn_to_memslot 6.12.59+ #3 Not tainted include/linux/kvm_host.h:1062 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 1 lock held by syz.5.1717/15100: #0: ff1100002f4b00b0 (&vcpu->mutex){+.+.}-{3:3}, at: kvm_vcpu_ioctl+0x1d5/0x1590 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xf0/0x120 lib/dump_stack.c:120 lockdep_rcu_suspicious+0x1e3/0x270 kernel/locking/lockdep.c:6824 __kvm_memslots include/linux/kvm_host.h:1062 [inline] __kvm_memslots include/linux/kvm_host.h:1059 [inline] kvm_vcpu_memslots include/linux/kvm_host.h:1076 [inline] kvm_vcpu_gfn_to_memslot+0x518/0x5e0 virt/kvm/kvm_main.c:2617 kvm_vcpu_read_guest_page+0x27/0x50 virt/kvm/kvm_main.c:3302 load_pdptrs+0xff/0x4b0 arch/x86/kvm/x86.c:1065 svm_cache_reg+0x1c9/0x230 arch/x86/kvm/svm/svm.c:1688 kvm_pdptr_read arch/x86/kvm/kvm_cache_regs.h:141 [inline] __get_sregs2 arch/x86/kvm/x86.c:11784 [inline] kvm_arch_vcpu_ioctl+0x3e20/0x4aa0 arch/x86/kvm/x86.c:6279 kvm_vcpu_ioctl+0x856/0x1590 virt/kvm/kvm_main.c:4663 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x18b/0x210 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xbd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Found by Linux Verification Center (linuxtesting.org) with Syzkaller. The Linux kernel CVE team has assigned CVE-2026-43214 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit 6dba940352038b56db9b591b172fb2ec76a5fd5e and fixed in 6.1.165 with commit f621ca24f9f489e226e22560761b04884984133b Issue introduced in 5.14 with commit 6dba940352038b56db9b591b172fb2ec76a5fd5e and fixed in 6.6.128 with commit 708e20c66b2761d878a2bc3c7534e7f814e4dec5 Issue introduced in 5.14 with commit 6dba940352038b56db9b591b172fb2ec76a5fd5e and fixed in 6.12.75 with commit 9f2bfea51151dfbb24b52f452eb3d5f5fe0e506e Issue introduced in 5.14 with commit 6dba940352038b56db9b591b172fb2ec76a5fd5e and fixed in 6.18.16 with commit 57536ff0a6bd69a5808d682925202babdb5ddc13 Issue introduced in 5.14 with commit 6dba940352038b56db9b591b172fb2ec76a5fd5e and fixed in 6.19.6 with commit b33f8d816950b10e7879cd8ffd7ae4b649ada4db Issue introduced in 5.14 with commit 6dba940352038b56db9b591b172fb2ec76a5fd5e and fixed in 7.0 with commit 95d848dc7e639988dbb385a8cba9b484607cf98c Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-43214 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: arch/x86/kvm/x86.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/f621ca24f9f489e226e22560761b04884984133b https://git.kernel.org/stable/c/708e20c66b2761d878a2bc3c7534e7f814e4dec5 https://git.kernel.org/stable/c/9f2bfea51151dfbb24b52f452eb3d5f5fe0e506e https://git.kernel.org/stable/c/57536ff0a6bd69a5808d682925202babdb5ddc13 https://git.kernel.org/stable/c/b33f8d816950b10e7879cd8ffd7ae4b649ada4db https://git.kernel.org/stable/c/95d848dc7e639988dbb385a8cba9b484607cf98c