CVE Vulnerabilities

CVE-2017-5987

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Mar 20, 2017 | Modified: Apr 20, 2025
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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
QemuQemu*2.8.1.1 (including)
QemuQemu2.9.0-rc0 (including)2.9.0-rc0 (including)
QemuQemu2.9.0-rc1 (including)2.9.0-rc1 (including)
QemuQemu2.9.0-rc2 (including)2.9.0-rc2 (including)
QemuQemu2.9.0-rc3 (including)2.9.0-rc3 (including)
QemuQemu2.9.0-rc4 (including)2.9.0-rc4 (including)
QemuUbuntuartful*
QemuUbuntubionic*
QemuUbuntucosmic*
QemuUbuntudevel*
QemuUbuntudisco*
QemuUbuntueoan*
QemuUbuntuesm-infra-legacy/trusty*
QemuUbuntuesm-infra/bionic*
QemuUbuntuesm-infra/focal*
QemuUbuntuesm-infra/xenial*
QemuUbuntufocal*
QemuUbuntugroovy*
QemuUbuntuhirsute*
QemuUbuntutrusty*
QemuUbuntutrusty/esm*
QemuUbuntuupstream*
QemuUbuntuxenial*
QemuUbuntuyakkety*
QemuUbuntuzesty*
Qemu-kvmUbuntuprecise*
Qemu-kvmUbuntuprecise/esm*
Qemu-kvmUbuntuupstream*

References