CVE-2017-5987: Medium severity Qemu Qemu vulnerability

Published Feb 14, 2017
·
Updated

Quick emulator(Qemu) built with the SDHCI device emulation support is vulnerable to an infinite loop issue. It could occur while doing a multi block SDMA transfer via 'sdhcisdmatransfermultiblocks' routine.

A privileged user inside guest could use this flaw to crash the Qemu process resulting in DoS.

Upstream patch: --------------- -> https://lists.gnu.org/archive/html/qemu-devel/2017-02/msg02776.html

Reference: ---------- -> http://www.openwall.com/lists/oss-security/2017/02/14/8

Other sources

The sdhcisdmatransfermultiblocks function in hw/sd/sdhci.c in QEMU (aka Quick Emulator) allows local OS guest privileged users to cause a denial of service (infinite loop and QEMU process crash) via vectors involving the transfer mode register during multi block transfer.

MITRE

Affected Software

7 affected components
Qemu Qemu<=2.8.1.1
Qemu Qemu=2.9.0-rc0
Qemu Qemu=2.9.0-rc1
Qemu Qemu=2.9.0-rc2
Qemu Qemu=2.9.0-rc3
Qemu Qemu=2.9.0-rc4
Debian Debian Linux=8.0

Event History

Feb 14, 2017
Data Sourced
via Red Hat·09:54 AM
DescriptionSeverityAffected Software
Mar 20, 2017
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Data Sourced
via NVD·04:59 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2017-5987?

CVE-2017-5987 is considered to have a high severity due to its potential to cause denial of service.

2

How do I fix CVE-2017-5987?

To fix CVE-2017-5987, users should upgrade to a version of QEMU that is patched for this vulnerability.

3

What causes the infinite loop in CVE-2017-5987?

The infinite loop in CVE-2017-5987 occurs during multi-block SDMA transfers in the sdhci_sdma_transfer_multi_blocks function.

4

Who is affected by CVE-2017-5987?

Privileged users within guest environments using vulnerable versions of QEMU are affected by CVE-2017-5987.

5

Can CVE-2017-5987 be exploited remotely?

CVE-2017-5987 requires privileged access to the guest, meaning it cannot be exploited remotely without such access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203