Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

Refresh

My Subscriptions

Loading

Knowledge Base

Hypervisor-Assisted Guest Mitigation for CVE-2018-3639 (Speculative Store Bypass) (55111)

Last Updated: 2/27/2024Categories: SecurityTotal Views: 15113Language:
Chinese (Simplified)English

3 like this article

Subscribe to get an email
newsletter with new updates

3 people found this helpful Please provide article feedback:

Purpose

Mitigation of  CVE-2018-3639 within a VM or native OS is greatly assisted by a new speculative-execution control bit known as Speculative-Store-Bypass-Disable (SSBD).  In order to use this hardware feature within virtual machines, new Hypervisor-Assisted Guest Mitigations must be enabled to pass this control bit to the Guest OSes.

Because there will be multiple documents necessary to explain the mitigation process for CVE-2018-3639, KB54951 was created to provide an overview of VMware’s response - review it prior to continuing.

This document will focus on the technical implementation and requirements of the Hypervisor-Assisted Guest Mitigations for CVE-2018-3639

Resolution

To enable hardware support for SSBD in vCenter Server and ESXi, the following steps should be followed:

Note: Ensure vCenter Server is updated first, for more information, see the vMotion and EVC Information section.

Upgrade to the versions of vCenter Server listed in VMSA-2018-0012.1.

Apply the ESXi patches listed in VMSA-2018-0012.1. Note that per ESXi version two patches are listed and that both of them are required. These patches can both be applied at once so that only one reboot of the host is required.

To enable hardware support for SSBD in Workstation/Fusion, the following steps should be followed:

Deploy and/or update Workstation/Fusion to the versions listed in VMSA-2018-0012.

Apply the Microcode/BIOS updates for CVE-2018-3639 from your platform vendor.

After enabling hardware support for SSBD, for each virtual machine enable SSBD mitigation via the following steps:

Apply the applicable SSBD security patches for your Guest OS which have been made available from the OS vendor.

Note: Most OS vendors leave the SSBD mitigation off by default. Consult your OS vendor’s documentation on how to switch on the SSBD mitigation after applying the vendor’s security patches for your Guest OS.

Ensure that your VMs are using Virtual Hardware Version 9 or higher. See KB1010675 for details on Virtual Hardware versions and requirements. For best performance, Virtual Hardware Version 11 or higher is recommended. Virtual Hardware Version 11 enables PCID/INVPCID.

Power Off and then Power On the virtual machine (Restart is insufficient).

vMotion and EVC Information

An ESXi host that is running a patched vSphere hypervisor with updated microcode will see new CPU features that were not previously available.

These new features will be exposed to all Virtual Hardware Version 9+ VMs that are powered-on by that host. Because these virtual machines now see additional CPU features, vMotion to an ESXi host lacking the microcode or hypervisor patches applied will be prevented.

The vCenter patches enable vMotion compatibility to be retained within an EVC cluster.

In order to maintain this compatibility the new features are hidden from guests within the cluster until all hosts in the cluster are properly updated.  At that time, the cluster will automatically upgrade its capabilities to expose the new features. Unpatched ESXi hosts will no longer be admitted into the EVC cluster.

After vSphere has been patched for CVE-2018-3639, customers utilizing the per-VM EVC feature, introduced in Hardware Version 14 and newer, will also need to refresh the EVC mode of the VM. This refresh will allow the per-VM EVC mode of the VM to recognize the new CPU features introduced from the patches. Not performing this step may result in the VM running less securely than desired.

Note: for additional advice on managing the per-VM EVC feature, see the vCenter Server 6.7.0b Release Notes.

From the UI: to refresh the per-VM EVC feature of the VM, navigate to the virtual machine. Under the Configure tab, select VMware EVC. Click Edit to bring up the current EVC selection, then click OK.

From the API: Call applyEvcModeVMTask with the list of masks that would be updated post-Spectre patch. A sample code snippet can be found here.

Confirmation of Correct Operation

To confirm a host has both VMware hypervisor and updated microcode, use the following steps:

Power on a Virtual Machine which is configured to use Virtual Hardware Version 9 or later.

Examine the vmware.log file for that VM and look for the following entry:

“Capability Found: cpuid.SSBD”

Any of the above log entries indicate that both the CPU microcode and hypervisor are properly updated.

To confirm end to end operation including guest OS enablement of hardware support for SSBD mitigation, check with your OS vendor.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)English

Attachments

Additional Resources

KB
•
vCenter Server 6.7 にアップグレードした後、認証情報を入力すると vSphere Web Client がハングする (54751)

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
ESXi ホストがスタンバイから起動すると、「ホストの接続とパワー状態」アラームがトリガされる (2030249)

Results 1-3 of 3

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

Datacenter

Related Versions:

Take Our Survey

Support Assistant

Cookie Preference Center

General Information on cookies

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Please confirm your settings by refreshing the page.

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Please confirm your settings by refreshing the page.

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All