SUSE-SU-2018:1363-1

See a problem?
Import Source
https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2018:1363-1.json
JSON Data
https://api.osv.dev/v1/vulns/SUSE-SU-2018:1363-1
Related
Published
2018-05-22T08:44:39Z
Modified
2018-05-22T08:44:39Z
Summary
Security update for qemu
Details

This update for qemu fixes several issues.

This security issue was fixed:

  • CVE-2018-3639: Spectre v4 vulnerability mitigation support for KVM guests (bsc#1092885).

    Systems with microprocessors utilizing speculative execution and speculative execution of memory reads before the addresses of all prior memory writes are known may allow unauthorized disclosure of information to an attacker with local user access via a side-channel analysis.

    This patch permits the new x86 cpu feature flag named 'ssbd' to be presented to the guest, given that the host has this feature, and KVM exposes it to the guest as well.

    For this feature to be enabled please use the qemu commandline -cpu $MODEL,+spec-ctrl,+ssbd so the guest OS can take advantage of the feature.

    spec-ctrl and ssbd support is also required in the host.

  • CVE-2017-5715: This update has the next round of Spectre v2 related patches, which now integrates with corresponding changes in libvirt. A 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. We remove that initial patch and now rely on patches from upstream (bsc#1068032).

    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 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)
References

Affected packages

SUSE:Linux Enterprise Server for SAP Applications 12 SP1 / qemu

Package

Name
qemu
Purl
purl:rpm/suse/qemu&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.1-33.9.4

Ecosystem specific

{
    "binaries": [
        {
            "qemu-tools": "2.3.1-33.9.4",
            "qemu": "2.3.1-33.9.4",
            "qemu-guest-agent": "2.3.1-33.9.4",
            "qemu-block-curl": "2.3.1-33.9.4",
            "qemu-lang": "2.3.1-33.9.4",
            "qemu-ipxe": "1.0.0-33.9.4",
            "qemu-kvm": "2.3.1-33.9.4",
            "qemu-seabios": "1.8.1-33.9.4",
            "qemu-sgabios": "8-33.9.4",
            "qemu-vgabios": "1.8.1-33.9.4",
            "qemu-ppc": "2.3.1-33.9.4",
            "qemu-x86": "2.3.1-33.9.4",
            "qemu-block-rbd": "2.3.1-33.9.4"
        }
    ]
}

SUSE:Linux Enterprise Server 12 SP1-LTSS / qemu

Package

Name
qemu
Purl
purl:rpm/suse/qemu&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1-LTSS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.1-33.9.4

Ecosystem specific

{
    "binaries": [
        {
            "qemu-tools": "2.3.1-33.9.4",
            "qemu-block-curl": "2.3.1-33.9.4",
            "qemu-guest-agent": "2.3.1-33.9.4",
            "qemu-lang": "2.3.1-33.9.4",
            "qemu-seabios": "1.8.1-33.9.4",
            "qemu-kvm": "2.3.1-33.9.4",
            "qemu-vgabios": "1.8.1-33.9.4",
            "qemu-x86": "2.3.1-33.9.4",
            "qemu-s390": "2.3.1-33.9.4",
            "qemu": "2.3.1-33.9.4",
            "qemu-sgabios": "8-33.9.4",
            "qemu-ipxe": "1.0.0-33.9.4",
            "qemu-ppc": "2.3.1-33.9.4",
            "qemu-block-rbd": "2.3.1-33.9.4"
        }
    ]
}