From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795154446; b=WvWHiZk1iUyZYXh4jyZxphvaKFA7bt7sN7EpJ8JaZTfTUnmm14n6cVuVCACX80q7jK7o HM2SuNdvYxWXfgprzg3MUDlyU8cBr9t1JUIoFTUZ9K5q300jW19g96COnfKYaKDlRh1pD riqNM13Y3h/SmNK+75N4Xv4F8Jq/g5rHcPfWUY+ipaVKsK6Z3xg3DmUzpcR1xWgUhTcYY xTTHYEuOrz6mTSWFy2UsKLOepzL1d3qj33SFkeqqI/NOBr9lvFv2vqHR5c3IiUacP62Co ktODQJ3rpjcQowVWuOye5eV/g+mJBHV9m5nHjddPj/9h1F4gWxiSVkzpwzto9g04lPw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154446; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=eGQrw1HNIqTLpILlk6CWmKTx3gNDTm+8MqWWIBxACuU=; b=jtXnQ+mdGMxz/kpWkpx2c2+czMpT+9NFSDz9fYfwgmeDKxWMkYrQ6mDLV7zzkvu3i3cu W0HpvsVLOuFfEusIJqkkAPggoZ4iX6hYo9cGoya8TweA8q20gIkrqtUGBXhhLSQNDWkhG KTPR/PWN1KxvvV5k9ao+vKkUvTkxuU3T3IS3GD1vNip89g4BxiGB9ZE9BpGmzclI/7ppM AtZobvhY2XpB3GnrQTIXRMPNSQ6B9OV7jAAVqnpxThVtJi+Bsm5jrRya8AUnOx9INHikj Q6UcZRuaWnX1QWl7MhTNbh049noiz3X3T6jeUTkWK4eolIUVNGRRbIzoWf3JQCNwYyQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=w83CdZ9w; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1979D606A527 for ; Fri, 20 Nov 2026 06:00:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=w83CdZ9w Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6674A1F000CA; Fri, 20 Nov 2026 06:00:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154446; bh=eGQrw1HNIqTLpILlk6CWmKTx3gNDTm+8MqWWIBxACuU=; h=From:To:Cc:Subject:Date:Reply-To; b=w83CdZ9w2Ovv46uFdY6fKmgL4Hz8tWEZqTyDg0187XsUZqj9RJiGtjdyHnjaZnZZW ej3wanctLDxvUdMIoUSiKf81jKioskAFrplME8xp8WJka4PR5MkiSdMAuASvhiMH6E Wvxw/OBtK+v9vSZTqBl59qSxLY47MNKXIEIDLdSQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99745: x86/bugs: Select the BHI mitigation based on the attack vector properly Date: Fri, 20 Nov 2026 06:52:11 +0100 Message-ID: <2026112019-CVE-2026-99745-dfcf@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2885; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wj9aH3f4+Vq4xl+ii8vMJt4lY0IZK3rp/GF676kDOq0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/788+sHT2xKsCXhozdk4U7mnaESN9t4NB117xp5/Dk kRunaAjHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRh/8Y5ln+Da+pCS9aL/Px 3bffa2+FNsw7vYZhnmJTY/KTGEU5tWlKTKXiMozyXSceAwA= 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: x86/bugs: Select the BHI mitigation based on the attack vector properly The BHI mitigation selection is inconsistent with the documentation (attack_vector_controls.rst), which lists BHI under both the user->kernel and guest->host attack vectors. bhi_select_mitigation() only enables it when CPU_MITIGATE_GUEST_HOST is set; otherwise it selects BHI_MITIGATION_OFF, even if CPU_MITIGATE_USER_KERNEL is set. As a result, a kernel compiled with KVM disabled gets BHI automatically disabled, since CPU_MITIGATE_GUEST_HOST defaults to off without KVM. This is a bug, given that CPU_MITIGATE_USER_KERNEL still needs it: on affected Intel CPUs these kernels lose BHI_DIS_S or the BHB clearing loop by default. Booting with mitigations=auto,no_guest_host has the same effect. Select BHI_MITIGATION_ON whenever user->kernel is mitigated, and keep BHI_MITIGATION_VMEXIT_ONLY for the guest->host-only case. [ bp: Clarify commit title. ] The Linux kernel CVE team has assigned CVE-2026-99745 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit ddcd4d3cb37c8ad60cdbaaffe93f85e15e2babb5 and fixed in 6.18.64 with commit f9f2a155078cf7b10dd8b1ffdacf0a3aeb8baeb5 Issue introduced in 6.17 with commit ddcd4d3cb37c8ad60cdbaaffe93f85e15e2babb5 and fixed in 7.3.5 with commit 5bc572befb2990cb2ad83ca447f64e6654a9889f Issue introduced in 6.17 with commit ddcd4d3cb37c8ad60cdbaaffe93f85e15e2babb5 and fixed in 7.4-rc2 with commit 3457b3bcd344005af894876cab4e634cabdcbb62 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-99745 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/kernel/cpu/bugs.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/f9f2a155078cf7b10dd8b1ffdacf0a3aeb8baeb5 https://git.kernel.org/stable/c/5bc572befb2990cb2ad83ca447f64e6654a9889f https://git.kernel.org/stable/c/3457b3bcd344005af894876cab4e634cabdcbb62