This update for qemu fixes the following issues:
This update has the next round of Spectre v2 related patches, which now
integrate with corresponding changes in libvirt. (CVE-2017-5715
bsc#1068032)
The January 2018 release of qemu initially addressed the Spectre v2
vulnerability for KVM guests by exposing the spec-ctrl feature for all x86
vcpu types, which was the quick and dirty approach, but not the proper
solution.
We replaced our initial patch by the patches from upstream.
This update defines spec_ctrl and ibpb cpu feature flags as well as new
cpu models which are clones of existing models with either -IBRS or -IBPB
added to the end of the model name. These new vcpu models explicitly
include the new feature(s), whereas the feature flags can be added to the
cpu parameter as with other features. In short, for continued Spectre v2
protection, ensure that either the appropriate cpu feature flag is added
to the QEMU command-line, or one of the new cpu models is used.
Although migration from older versions is supported, the new cpu features
won’t be properly exposed to the guest until it is restarted with the cpu
features explicitly added. A reboot is insufficient.
A warning patch is added which attempts to detect a migration from a qemu
version which had the quick and dirty fix (it only detects certain cases,
but hopefully is helpful.) For additional information on Spectre v2 as it
relates to QEMU, see:
<a href=“https://www.qemu.org/2018/02/14/qemu-2-11-1-and-spectre-update/”>https://www.qemu.org/2018/02/14/qemu-2-11-1-and-spectre-update/</a>
A patch is added to continue to detect Spectre v2 mitigation features (as
shown by cpuid), and if found provide that feature to guests, even if
running on older KVM (kernel) versions which do not yet expose that
feature to QEMU. (bsc#1082276)
These two patches will be removed when we can reasonably assume everyone
is running with the appropriate updates.
Spectre fixes for IBM Z Series were included by providing more hw features
to guests (bsc#1076813)
Also security fixes for the following CVE issues are included:
Additional bugs fixed:
bugzilla.suse.com/1040202
bugzilla.suse.com/1068032
bugzilla.suse.com/1068613
bugzilla.suse.com/1070144
bugzilla.suse.com/1071228
bugzilla.suse.com/1073489
bugzilla.suse.com/1074572
bugzilla.suse.com/1076114
bugzilla.suse.com/1076775
bugzilla.suse.com/1076813
bugzilla.suse.com/1082276
bugzilla.suse.com/1083291