Skip to content
Info disclosure Advisory Advanced CVE-2022-0001

Intel: CVE-2022-0001 Branch History Injection

A hardware flaw in certain Intel processors, known as Branch History Injection, allows speculative execution attacks across privilege boundaries. Intel and Microsoft published mitigations, but they are disabled by default and require manual configuration, with some performance cost.

Cristiano Giuffrida Follow

Originally disclosed on Microsoft

High 4.7 View original

Description

This CVE was assigned by Intel. Please see CVE-2022-0001 on CVE.org for more information.

FAQ

Why is this Intel CVE included in the Security Update Guide? The vulnerability assigned to this CVE is in certain processor models offered by Intel and was initially disclosed March 8, 2022. Intel published updates April 9, 2024 and this CVE is being documented in the Security Update Guide to inform customers of the available mitigation and its potential performance impact. The mitigation for this vulnerability is disabled by default and manual action is required for customers to be protected. The following documentation was updated by Intel on April 9, 2024 and can be referenced for more information: CVE-2022-0001 https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/advisory-guidance/branch-history-injection.html https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/technical-documentation/branch-history-injection.html What steps are required to protect my system against the vulnerability? We are providing the following registry information to enable the mitigations for this CVE. Important : This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry see How to back up and restore the registry in Windows . To enable the mitigation for CVE-2022-0001 on Windows devices and clients using Intel Processors: reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v FeatureSettingsOverride /t REG_DWORD /d 0x00800000 /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v FeatureSettingsOverrideMask /t REG_DWORD /d 0x00000003 /f Customers who wish to implement the mitigation within their systems can also refer to the following for more information. Windows Server and Azure Stack HCI customers: See Microsoft Knowledge Base Article 4072698 Windows client guidance for IT Pros: See Microsoft Knowledge Base Article 4073119 Windows Device customers: See Microsoft Knowledge Base Article 4073757 To enable the mitigation for CVE-2022-0001 on Linux devices and clients using Intel Processors: Specify spectre_bhi=on on the kernel command line. For more information about kernel command-line parameters see https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html Can I expect any performance impact after I configure the registry keys? In some cases, installing these updates will have a performance impact. In testing Microsoft has seen some performance impact with this mitigation. Microsoft values the security of its software and services but made the decision to allow users and administrators to evaluate the performance impact and risk exposure before deciding to enable the mitigation.

FAQ

Are there any additional steps that I need to follow to be protected from this vulnerability? The changes to address this vulnerability updated Virtual Secure Mode components. The policy described in Guidance for blocking rollback of Virtualization-based Security (VBS) related security updates has been updated to account for the latest changes. If you deployed this policy, then you'll need to redeploy using the updated policy.

Intel

Intel

Intel Corporation

Intel Corporation

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Cristiano Giuffrida from the VUSec group at VU Amsterdam. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the processor's branch history buffer can be influenced across privilege boundaries, letting speculative execution leak data.

Impact

An attacker could potentially read sensitive data across security boundaries on affected Intel processors; the mitigation is off by default and may reduce performance when enabled.

What the attacker needed

Affected Intel processor; local code execution; manual mitigation enablement

The fix

The mitigation should be enabled manually through registry settings on Windows or a kernel command-line option on Linux, and any VBS rollback-blocking policy should be redeployed.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Modern processors guess ahead at what code will run next to save time, and this guessing can leak secret data from other programs. This flaw lets an attacker exploit that guessing behaviour on some Intel chips to read information they should not see. The fix is a setting that must be switched on by hand, and it can slow the machine down a little.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.