Last change
on this file was 109090, checked in by vboxsync, 12 days ago |
Docs: bugref:10705. The following commits from doc's team git repo has been applied:
ae80a681fb1658b2e20ff12a36588811c14dfe67 Updated description of network types
4779d5f23ada981651803eb1ab029ae19f3394db Added - Shared Folders can't be used on Arm VMs running Windows
42ff285f84faa143fc53a3678b1a28a0cae68705 Started minor updates to security section
5bb1fe545161ec7211b842952221dee2021a6645 Fixed spacing
86c3d9a9eb8c807907fe3977b100712d8717a0bb Included Vadim's feedback
4117e15a9d3304ed6f011a45ad3d85b1783248bc Minor updates to security guide
67f46d035bca90c2bd0dc518456b5f4734a8f1da Updates from Vadim
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
2.3 KB
|
Line | |
---|
1 | <?xml version='1.0' encoding='UTF-8'?>
|
---|
2 | <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
|
---|
3 | <topic xml:lang="en-us" id="buffer-overwriting-mitigation">
|
---|
4 | <title>Buffer Overwriting and Disabling Hyper-Threading</title>
|
---|
5 |
|
---|
6 | <body>
|
---|
7 | <p>First, up-to-date CPU microcode is a prerequisite for the buffer overwriting (clearing) mitigations. Some host OSes may install these automatically, though it has traditionally been a task best performed by the system firmware. Please check with your system or mainboard manufacturer for the latest firmware update.</p>
|
---|
8 | <p>This mitigation aims at removing potentially sensitive data from the affected buffers before running guest code. Since this means additional work each time the guest is scheduled, there might be some performance side effects.</p>
|
---|
9 | <p>We recommend disabling hyper-threading (HT) on hosts affected by CVE-2018-12126 and CVE-2018-12127, because the affected sets of buffers are normally shared between thread pairs and therefore cause leaks between the threads. This is traditionally done from the firmware setup, but some OSes also offers ways disable HT. In some cases it may be disabled by default, but please verify as the effectiveness of the mitigation depends on it.</p>
|
---|
10 | <p>The default action taken by <ph conkeyref="vbox-conkeyref-phrases/product-name"/> is to clear the affected buffers when a thread is scheduled to execute guest code, rather than on each VM entry. This reduces the performance impact, while making the assumption that the host OS will not handle security sensitive data from interrupt handlers and similar without taking precautions.</p>
|
---|
11 | <p>The <userinput>VBoxManage modifyvm</userinput> command provides a more aggressive flushing option is provided by means of the <codeph>--mds-clear-on-vm-entry</codeph> option. When enabled the affected buffers will be cleared on every VM entry. The performance impact is greater than with the default option, though this of course depends on the workload. Workloads producing a lot of VM exits (like networking, VGA access, and similiar) will probably be most impacted.</p>
|
---|
12 | <p>For users not concerned by this security issue, the default mitigation can be disabled using the <userinput>VBoxManage modifyvm name --mds-clear-on-sched off</userinput> command.</p>
|
---|
13 | </body>
|
---|
14 |
|
---|
15 | </topic>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.