{"id":"CVE-2026-99745","summary":"x86/bugs: Select the BHI mitigation based on the attack vector properly","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/bugs: Select the BHI mitigation based on the attack vector properly\n\nThe BHI mitigation selection is inconsistent with the documentation\n(attack_vector_controls.rst), which lists BHI under both the\nuser-\u003ekernel and guest-\u003ehost attack vectors. bhi_select_mitigation()\nonly enables it when CPU_MITIGATE_GUEST_HOST is set; otherwise it\nselects BHI_MITIGATION_OFF, even if CPU_MITIGATE_USER_KERNEL is set.\n\nAs a result, a kernel compiled with KVM disabled gets BHI automatically\ndisabled, since CPU_MITIGATE_GUEST_HOST defaults to off without KVM.\nThis is a bug, given that CPU_MITIGATE_USER_KERNEL still needs it: on\naffected Intel CPUs these kernels lose BHI_DIS_S or the BHB clearing\nloop by default. Booting with mitigations=auto,no_guest_host has the\nsame effect.\n\nSelect BHI_MITIGATION_ON whenever user-\u003ekernel is mitigated, and keep\nBHI_MITIGATION_VMEXIT_ONLY for the guest-\u003ehost-only case.\n\n  [ bp: Clarify commit title. ]","modified":"2026-11-20T07:01:15.030447774Z","published":"2026-11-20T05:51:16.811Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99745.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3457b3bcd344005af894876cab4e634cabdcbb62"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5bc572befb2990cb2ad83ca447f64e6654a9889f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f9f2a155078cf7b10dd8b1ffdacf0a3aeb8baeb5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99745.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99745"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ddcd4d3cb37c8ad60cdbaaffe93f85e15e2babb5"},{"fixed":"f9f2a155078cf7b10dd8b1ffdacf0a3aeb8baeb5"},{"fixed":"5bc572befb2990cb2ad83ca447f64e6654a9889f"},{"fixed":"3457b3bcd344005af894876cab4e634cabdcbb62"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99745.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.17.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99745.json"}}],"schema_version":"1.9.2"}