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 7D98C409617 for ; Wed, 27 May 2026 13:06:22 +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=1779887183; cv=none; b=s9bggURrhrLU/cYtNjwZKTGBDCbaCUxsVdusT/LJocnXShvCTfj5oGJFOE5r4vW6W0E2xFrNhi1wglttbjZdj0ueqiU3GlBzQnKdFvGV5xsl0vyPsYSZe+Y1Cv6gVYvHxZVwXpA/1jjRincK4YjobjOmzfQSTrmi4ZcU3qQnXVY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779887183; c=relaxed/simple; bh=ov+uIq5KAnuNx60HCFXKvi02Gwv0VbaozIHEMCP+Nm0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fnj7A5axomzCD0p15JqCUSVRnn5mxWW4YXO+J4q1J7aiODmeAW2TlTyj3hZkcjmnlXiuM8CAG97qQhg7W5cSg+8nxM508XgmXgS4CQSQOW+E/Nv+giX1IL7RYqaf5LJ9ZI7RozC2NcZtI+FUB5Zzbk85PgUn+8qTm/QnJI2zZwM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rDw1c8O0; 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="rDw1c8O0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B57A51F000E9; Wed, 27 May 2026 13:06:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779887182; bh=byfXkeJ7A5OKNgkzICzsPSDCG8xiDvZ2NZOAcWkXSW0=; h=From:To:Cc:Subject:Date:Reply-To; b=rDw1c8O0nWMrQtjY7TjPpQEeizsTMvYFrPYA4A0A3XGRSr3B/Aaq21Lk6KC4Osx76 FyDmo971mjIT0997KYwkzq8sezGwQUTm7tuw+1w4RUpObXzSjs7VNZdq5IHkkduKU2 CQHiXQfpgktjChYGryMZlufi4qYQHcy6zZXUysnY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46076: KVM: nSVM: Raise #UD if unhandled VMMCALL isn't intercepted by L1 Date: Wed, 27 May 2026 15:00:07 +0200 Message-ID: <2026052759-CVE-2026-46076-699a@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=3085; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=m8LE1d617rKuSID/cRkQ6H8xL1L8wMK9t08zbR16EWI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFliryaf/d51PTK0L7RJfd2XVskFbOliVRMlPc3ObLYUC Xv9qkqoI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACayp5dhnq7+1q6e/TIu7xxZ E4WE69dsmVr9i2GeyV4Fmy++Msq70ht6DtSe1lhr+rkOAA== 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: Raise #UD if unhandled VMMCALL isn't intercepted by L1 Explicitly synthesize a #UD for VMMCALL if L2 is active, L1 does NOT want to intercept VMMCALL, nested_svm_l2_tlb_flush_enabled() is true, and the hypercall is something other than one of the supported Hyper-V hypercalls. When all of the above conditions are met, KVM will intercept VMMCALL but never forward it to L1, i.e. will let L2 make hypercalls as if it were L1. The TLFS says a whole lot of nothing about this scenario, so go with the architectural behavior, which says that VMMCALL #UDs if it's not intercepted. Opportunistically do a 2-for-1 stub trade by stub-ifying the new API instead of the helpers it uses. The last remaining "single" stub will soon be dropped as well. [sean: rewrite changelog and comment, tag for stable, remove defunct stubs] The Linux kernel CVE team has assigned CVE-2026-46076 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 3f4a812edf5cb0a50e65fbdfafdb3e688da18f16 and fixed in 6.12.86 with commit 924d721fae95687acedbaf624a094ed0e8b67104 Issue introduced in 6.2 with commit 3f4a812edf5cb0a50e65fbdfafdb3e688da18f16 and fixed in 6.18.27 with commit 009c0f726abeaa67aad1d96b883bdce01d405ce2 Issue introduced in 6.2 with commit 3f4a812edf5cb0a50e65fbdfafdb3e688da18f16 and fixed in 7.0.4 with commit 5fb4a5f361565f5b629d8a8fe5288ce8463c5727 Issue introduced in 6.2 with commit 3f4a812edf5cb0a50e65fbdfafdb3e688da18f16 and fixed in 7.1-rc1 with commit c36991c6f8d2ab56ee67aff04e3c357f45cfc76c 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-46076 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/hyperv.h arch/x86/kvm/svm/hyperv.h 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/924d721fae95687acedbaf624a094ed0e8b67104 https://git.kernel.org/stable/c/009c0f726abeaa67aad1d96b883bdce01d405ce2 https://git.kernel.org/stable/c/5fb4a5f361565f5b629d8a8fe5288ce8463c5727 https://git.kernel.org/stable/c/c36991c6f8d2ab56ee67aff04e3c357f45cfc76c