Memory leak in QEMU - CVE-2017-5856
Published: March 16, 2017 / Updated: July 28, 2020
QEMU
Detailed vulnerability description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to memory leak within the megasas_handle_dcmd function in hw/scsi/megasas.c in QEMU (aka Quick Emulator) allows local guest OS privileged users to cause a denial of service (host memory consumption) via MegaRAID Firmware Interface (MFI) commands with the sglist size set to a value over 2 Gb. A remote attacker can perform a denial of service attack.
How to mitigate CVE-2017-5856
Sources
- http://git.qemu-project.org/?p=qemu.git;a=commit;h=765a707000e838c30b18d712fe6cb3dd8e0435f3
- http://www.openwall.com/lists/oss-security/2017/02/01/19
- http://www.openwall.com/lists/oss-security/2017/02/02/14
- http://www.securityfocus.com/bid/95999
- https://bugzilla.redhat.com/show_bug.cgi?id=1418342
- https://lists.debian.org/debian-lts-announce/2018/09/msg00007.html
- https://security.gentoo.org/glsa/201702-28