# CVE-2026-99745: x86/bugs: Select the BHI mitigation based on the attack vector properly

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-02)
- Published: 2026-11-20T05:51:16.811Z
- Modified: 2026-11-20T06:18:12.373Z
- Assigned by: Linux

## 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. ]

(As written by CVE List.)

## Affected

- Linux Linux: from ddcd4d3cb37c8ad60cdbaaffe93f85e15e2babb5 before f9f2a155078cf7b10dd8b1ffdacf0a3aeb8baeb5; from ddcd4d3cb37c8ad60cdbaaffe93f85e15e2babb5 before 5bc572befb2990cb2ad83ca447f64e6654a9889f; from ddcd4d3cb37c8ad60cdbaaffe93f85e15e2babb5 before 3457b3bcd344005af894876cab4e634cabdcbb62; 6.17 (not affected: before 6.17; from 6.18.64 up to 6.18.*; from 7.3.5 up to 7.3.*; from 7.4-rc2 up to *)

## References

- <https://git.kernel.org/stable/c/f9f2a155078cf7b10dd8b1ffdacf0a3aeb8baeb5>
- <https://git.kernel.org/stable/c/5bc572befb2990cb2ad83ca447f64e6654a9889f>
- <https://git.kernel.org/stable/c/3457b3bcd344005af894876cab4e634cabdcbb62>

## Sources

- CVE List: [CVE-2026-99745](https://www.cve.org/CVERecord?id=CVE-2026-99745), CVE Terms of Use, modified 2026-11-20
- NVD: [CVE-2026-99745](https://nvd.nist.gov/vuln/detail/CVE-2026-99745), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-99745 · Whole record: https://cve.day/CVE-2026-99745.json · Rebuilt by cve.day 2026-11-25T22:59:52.329Z
