Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 D5749408008 for ; Wed, 27 May 2026 13:04:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779887079; cv=none; b=GInqU1BR1yptF2/wG68wvWLjd2GCbxJEozqkdnOp0SZ8C7Ejsew0H9SW1fNPYIEdVlV/muiELk+lTOA4gafTceAy3friAK0T/mTqOiGfkiPhyOA0zIDw0qYwqfvIDqGJv23YOjP/GrF1Pi18N8zIwFFuNC+ZgJiSEvgjaT8QTp4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779887079; c=relaxed/simple; bh=3B5e3XajeqSN0lulx3+o5KXA9JRKMo0Ccuh4XVYyEWQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pPTdypI0M5jcbYgCCPuvmH69jEFKATMMw7S8Qs3VEeX1BfL4W4/QLK0dLcf4PPjJdY7sJeVKe5DZ0vHxK8QfBnaBFBD294KHd70tLBvb5Lz9xGkcVbZJQ9Tc/cxOhd+o+mRB6NkiilR2+DJL3t+Txtlqywt+Z3i2/rIfYoajZTg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OsPRCC/W; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="OsPRCC/W" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13E901F00A3A; Wed, 27 May 2026 13:04:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779887077; bh=Eon335eJbljdGQjgf16qKDUhOGG2h6QRJR6kQPImYZk=; h=From:To:Cc:Subject:Date:Reply-To; b=OsPRCC/W0qXzJxyxd/YPoTzl15EGqQ9kIDfy5JUW9HFEq8jCRI/QGHh2kbN/hqAY2 ZCsxzjv24M67E/M4DUlGue9eJsc03M6+EIqX5fGq9HmX7hjm5xgJfS3iNCwvWUwe2E csHt5MeIdMPni2J//hc6jClABTGQjW0bzlQ4QsxE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46071: KVM: nSVM: Avoid clearing VMCB_LBR in vmcb12 Date: Wed, 27 May 2026 15:00:02 +0200 Message-ID: <2026052758-CVE-2026-46071-d16a@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=2369; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ce5PHa75qBU0+5FI1NJEz78V+IgpUr/0/71piXsTLWA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFliryYd8w1YWdz9toN19YarZzeat1kIFadN81p7riKBq 8U87cCajlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIyE+G+eEux+Jm3qrUbPom JN11ZqlSteyr5QzzrC6e8SkK3he9oymO2foJq8fvrXxzAA== 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: nSVM: Avoid clearing VMCB_LBR in vmcb12 svm_copy_lbrs() always marks VMCB_LBR dirty in the destination VMCB. However, nested_svm_vmexit() uses it to copy LBRs to vmcb12, and clearing clean bits in vmcb12 is not architecturally defined. Move vmcb_mark_dirty() to callers and drop it for vmcb12. This also facilitates incoming refactoring that does not pass the entire VMCB to svm_copy_lbrs(). The Linux kernel CVE team has assigned CVE-2026-46071 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit d20c796ca3709801f8a7fa36e8770a3dd8ebd34e and fixed in 6.18.27 with commit a3f0981a5a0e0bd51ad74cc7d9eed32294b24002 Issue introduced in 5.19 with commit d20c796ca3709801f8a7fa36e8770a3dd8ebd34e and fixed in 7.0.4 with commit 9efe23568806d1cd06f7d146f9b3037b8d585a9f Issue introduced in 5.19 with commit d20c796ca3709801f8a7fa36e8770a3dd8ebd34e and fixed in 7.1-rc1 with commit b53ab5167a81537777ac780bbd93d32613aa3bda 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-46071 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/svm/nested.c arch/x86/kvm/svm/svm.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/a3f0981a5a0e0bd51ad74cc7d9eed32294b24002 https://git.kernel.org/stable/c/9efe23568806d1cd06f7d146f9b3037b8d585a9f https://git.kernel.org/stable/c/b53ab5167a81537777ac780bbd93d32613aa3bda