CVE Vulnerabilities

CVE-2017-5987

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Mar 20, 2017 | Modified: Nov 07, 2023
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
2.1 LOW
AV:L/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
2.3 LOW
AV:A/AC:M/Au:S/C:N/I:N/A:P
RedHat/V3
3 LOW
CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L
Ubuntu
LOW

The sdhci_sdma_transfer_multi_blocks 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.

Weakness

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Affected Software

Name Vendor Start Version End Version
Qemu Qemu * 2.8.1.1 (including)
Qemu Qemu 2.9.0-rc0 (including) 2.9.0-rc0 (including)
Qemu Qemu 2.9.0-rc1 (including) 2.9.0-rc1 (including)
Qemu Qemu 2.9.0-rc2 (including) 2.9.0-rc2 (including)
Qemu Qemu 2.9.0-rc3 (including) 2.9.0-rc3 (including)
Qemu Qemu 2.9.0-rc4 (including) 2.9.0-rc4 (including)
Qemu Ubuntu artful *
Qemu Ubuntu bionic *
Qemu Ubuntu cosmic *
Qemu Ubuntu devel *
Qemu Ubuntu disco *
Qemu Ubuntu eoan *
Qemu Ubuntu focal *
Qemu Ubuntu groovy *
Qemu Ubuntu hirsute *
Qemu Ubuntu trusty *
Qemu Ubuntu upstream *
Qemu Ubuntu xenial *
Qemu Ubuntu yakkety *
Qemu Ubuntu zesty *
Qemu-kvm Ubuntu precise *
Qemu-kvm Ubuntu precise/esm *
Qemu-kvm Ubuntu upstream *

References