{"id":"CVE-2026-99745","aliases":[],"title":"x86/bugs: Select the BHI mitigation based on the attack vector properly","originalDescription":"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. ]","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.00166,"percentile":0.06176},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=6.17.0, <6.18.64","fixed":"6.18.64"},{"ecosystem":"Linux","name":"Kernel","range":">=6.19.0, <7.3.5","fixed":"7.3.5"},{"ecosystem":"vendor","name":"Linux","range":">=ddcd4d3cb37c8ad60cdbaaffe93f85e15e2babb5, <3457b3bcd344005af894876cab4e634cabdcbb62","fixed":"3457b3bcd344005af894876cab4e634cabdcbb62"},{"ecosystem":"vendor","name":"Linux","range":">=ddcd4d3cb37c8ad60cdbaaffe93f85e15e2babb5, <5bc572befb2990cb2ad83ca447f64e6654a9889f","fixed":"5bc572befb2990cb2ad83ca447f64e6654a9889f"},{"ecosystem":"vendor","name":"Linux","range":">=ddcd4d3cb37c8ad60cdbaaffe93f85e15e2babb5, <f9f2a155078cf7b10dd8b1ffdacf0a3aeb8baeb5","fixed":"f9f2a155078cf7b10dd8b1ffdacf0a3aeb8baeb5"}],"references":[{"url":"https://git.kernel.org/stable/c/f9f2a155078cf7b10dd8b1ffdacf0a3aeb8baeb5","type":"other"},{"url":"https://git.kernel.org/stable/c/5bc572befb2990cb2ad83ca447f64e6654a9889f","type":"other"},{"url":"https://git.kernel.org/stable/c/3457b3bcd344005af894876cab4e634cabdcbb62","type":"other"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"},{"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","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-20T06:30:46.327Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99745","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:46.327Z"},{"name":"osv","at":"2026-11-20T07:37:08.222Z","url":"https://osv.dev/vulnerability/CVE-2026-99745","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T07:04:04.587Z"},{"name":"cvelistV5","at":"2026-11-23T21:31:55.615Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99745","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:16.490Z"}],"firstSeenAt":"2026-11-20T06:28:16.490Z","publishedAt":"2026-11-20T05:51:16.811Z","modifiedAt":"2026-11-20T07:01:15.030Z"}