{"id":"CVE-2026-99745","aliases":["CVE-2026-99745"],"related":[],"kind":"vulnerability","state":"published","title":"x86/bugs: Select the BHI mitigation based on the attack vector properly","summary":"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->kernel and guest->host 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->kernel is mitigated, and keep\nBHI_MITIGATION_VMEXIT_ONLY for the guest->host-only case.\n\n  [ bp: Clarify commit title. ]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->kernel and guest->host 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->kernel is mitigated, and keep\nBHI_MITIGATION_VMEXIT_ONLY for the guest->host-only case.\n\n  [ bp: Clarify commit title. ]","source":"cvelist"}],"published":"2026-11-20T05:51:16.811Z","modified":"2026-11-20T06:18:12.373Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ddcd4d3cb37c8ad60cdbaaffe93f85e15e2babb5","fixed":"f9f2a155078cf7b10dd8b1ffdacf0a3aeb8baeb5","status":"affected"},{"type":"git","introduced":"ddcd4d3cb37c8ad60cdbaaffe93f85e15e2babb5","fixed":"5bc572befb2990cb2ad83ca447f64e6654a9889f","status":"affected"},{"type":"git","introduced":"ddcd4d3cb37c8ad60cdbaaffe93f85e15e2babb5","fixed":"3457b3bcd344005af894876cab4e634cabdcbb62","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.17","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/f9f2a155078cf7b10dd8b1ffdacf0a3aeb8baeb5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5bc572befb2990cb2ad83ca447f64e6654a9889f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3457b3bcd344005af894876cab4e634cabdcbb62","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99745","url":"https://www.cve.org/CVERecord?id=CVE-2026-99745","licence":"CVE Terms of Use","modified":"2026-11-20T05:51:16.811Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99745","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99745","licence":"Public domain","modified":"2026-11-20T06:18:12.373Z"}],"updatedAt":"2026-11-25T22:59:52.329Z","epss":{"score":0.00166,"percentile":0.06176,"date":"2026-12-02T12:00:21.000Z"}}