VMCH-70-000018 - Shared salt values must be disabled on the virtual machine (VM).

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

When salting is enabled (Mem.ShareForceSalting=1 or 2) to share a page between two virtual machines, both salt and the content of the page must be same. A salt value is a configurable advanced option for each virtual machine. The salt values can be specified manually in the virtual machine's advanced settings with the new option 'sched.mem.pshare.salt'.

If this option is not present in the virtual machine's advanced settings, the value of the 'vc.uuid' option is taken as the default value. Because the 'vc.uuid' is unique to each virtual machine, by default Transparent Page Sharing (TPS) happens only among the pages belonging to a particular virtual machine (Intra-VM).

Solution

From the vSphere Client, right-click the Virtual Machine and go to Edit Settings >> VM Options >> Advanced >> Configuration Parameters >> Edit Configuration.

Delete the 'sched.mem.pshare.salt' setting.

Note: The VM must be powered off to configure the advanced settings through the vSphere Client. Therefore, it is recommended to configure these settings with PowerCLI as this can be done while the VM is powered on. Settings do not take effect via either method until the virtual machine is cold started, not rebooted.

or

From a PowerCLI command prompt while connected to the ESXi host or vCenter server, run the following command:

Get-VM 'VM Name' | Get-AdvancedSetting -Name sched.mem.pshare.salt | Remove-AdvancedSetting

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_7-0_Y23M07_STIG.zip

Item Details

References: CAT|III, CCI|CCI-000366, Rule-ID|SV-256466r886441_rule, STIG-ID|VMCH-70-000018, Vuln-ID|V-256466

Plugin: VMware

Control ID: f0e89ad96c31e42717cc838e622896523f810ac01ea16515354a04eaf672f9a2