CVE-2017-5856
published 2017-03-16CVE-2017-5856: Memory leak in 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…
PriorityP422medium6.5CVSS 3.1
AVLACLPRLUINSCCNINAH
EPSS
0.39%
31.9th percentile
Memory leak in 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.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | qemu | < qemu 1:2.8+dfsg-3 (bookworm) | qemu 1:2.8+dfsg-3 (bookworm) |
| qemu | qemu | <= 2.8.1.1 | — |
| qemu | qemu | >= 0 < 1:2.8+dfsg-3 | 1:2.8+dfsg-3 |
| qemu | qemu | >= 0 < 1:2.8+dfsg-3 | 1:2.8+dfsg-3 |
| qemu | qemu | >= 0 < 1:2.8+dfsg-3 | 1:2.8+dfsg-3 |
| qemu | qemu | >= 0 < 1:2.8+dfsg-3 | 1:2.8+dfsg-3 |
| qemu | qemu | >= 0 < 2.0.0+dfsg-2ubuntu1.33 | 2.0.0+dfsg-2ubuntu1.33 |
| qemu | qemu | >= 0 < 1:2.5+dfsg-5ubuntu10.11 | 1:2.5+dfsg-5ubuntu10.11 |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
nvdv2.04.9MEDIUMAV:L/AC:L/Au:N/C:N/I:N/A:C
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
vendor_ubuntu5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
QEMU vulnerabilities
vendor_ubuntu·2017-04-20·CVSS 5.5
CVE-2016-10028 [MEDIUM] QEMU vulnerabilities
Title: QEMU vulnerabilities
Summary: Several security issues were fixed in QEMU.
Zhenhao Hong discovered that QEMU incorrectly handled the Virtio GPU
device. An attacker inside the guest could use this issue to cause QEMU to
crash, resulting in a denial of service. This issue only affected Ubuntu
16.04 LTS and Ubuntu 16.10. (CVE-2016-10028, CVE-2016-10029)
Li Qiang discovered that QEMU incorrectly handled the 6300esb watchdog. A
privileged attacker inside the guest could use this issue to cause QEMU to
crash, resulting in a denial of service. (CVE-2016-10155)
Li Qiang discovered that QEMU incorrectly handled the i.MX Fast Ethernet
Controller. A privileged attacker inside the guest could use this issue to
cause QEMU to crash, resulting in a denial of service. This issue only
affected Ub
Red Hat
Qemu: scsi: megasas: host memory leakage in megasas_handle_dcmd
vendor_redhat·2017-01-02·CVSS 6.5
CVE-2017-5856 [MEDIUM] CWE-772 Qemu: scsi: megasas: host memory leakage in megasas_handle_dcmd
Qemu: scsi: megasas: host memory leakage in megasas_handle_dcmd
Memory leak in 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.
Package: kvm (Red Hat Enterprise Linux 5) - Not affected
Package: xen (Red Hat Enterprise Linux 5) - Not affected
Package: qemu-kvm (Red Hat Enterprise Linux 6) - Not affected
Package: qemu-kvm (Red Hat Enterprise Linux 7) - Not affected
Package: qemu-kvm-rhev (Red Hat Enterprise Linux 7) - Not affected
Package: qemu-kvm-rhev (Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse)) - Not affected
Package: qemu-kvm-rhev (Red Hat Enterpri
Debian
CVE-2017-5856: qemu - Memory leak in the megasas_handle_dcmd function in hw/scsi/megasas.c in QEMU (ak...
vendor_debian·2017·CVSS 6.5
CVE-2017-5856 [MEDIUM] CVE-2017-5856: qemu - Memory leak in the megasas_handle_dcmd function in hw/scsi/megasas.c in QEMU (ak...
Memory leak in 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.
Scope: local
bookworm: resolved (fixed in 1:2.8+dfsg-3)
bullseye: resolved (fixed in 1:2.8+dfsg-3)
forky: resolved (fixed in 1:2.8+dfsg-3)
sid: resolved (fixed in 1:2.8+dfsg-3)
trixie: resolved (fixed in 1:2.8+dfsg-3)
GHSA
GHSA-3x3m-4c79-cmv9: Memory leak in the megasas_handle_dcmd function in hw/scsi/megasas
ghsa_unreviewed·2022-05-13
CVE-2017-5856 [MEDIUM] CWE-401 GHSA-3x3m-4c79-cmv9: Memory leak in the megasas_handle_dcmd function in hw/scsi/megasas
Memory leak in 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.
OSV
qemu vulnerabilities
osv·2017-04-20·CVSS 5.5
CVE-2016-10028 [MEDIUM] qemu vulnerabilities
qemu vulnerabilities
Zhenhao Hong discovered that QEMU incorrectly handled the Virtio GPU
device. An attacker inside the guest could use this issue to cause QEMU to
crash, resulting in a denial of service. This issue only affected Ubuntu
16.04 LTS and Ubuntu 16.10. (CVE-2016-10028, CVE-2016-10029)
Li Qiang discovered that QEMU incorrectly handled the 6300esb watchdog. A
privileged attacker inside the guest could use this issue to cause QEMU to
crash, resulting in a denial of service. (CVE-2016-10155)
Li Qiang discovered that QEMU incorrectly handled the i.MX Fast Ethernet
Controller. A privileged attacker inside the guest could use this issue to
cause QEMU to crash, resulting in a denial of service. This issue only
affected Ubuntu 16.04 LTS and Ubuntu 16.10. (CVE-2016-7907)
It was disc
OSV
CVE-2017-5856: Memory leak in the megasas_handle_dcmd function in hw/scsi/megasas
osv·2017-03-16·CVSS 6.5
CVE-2017-5856 [MEDIUM] CVE-2017-5856: Memory leak in the megasas_handle_dcmd function in hw/scsi/megasas
Memory leak in 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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-5856 Qemu: scsi: megasas: host memory leakage in megasas_handle_dcmd [fedora-all]
bugzilla·2017-02-01·CVSS 6.5
CVE-2017-5856 [MEDIUM] CVE-2017-5856 Qemu: scsi: megasas: host memory leakage in megasas_handle_dcmd [fedora-all]
CVE-2017-5856 Qemu: scsi: megasas: host memory leakage in megasas_handle_dcmd [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported
Bugzilla
CVE-2017-5856 Qemu: scsi: megasas: host memory leakage in megasas_handle_dcmd
bugzilla·2017-02-01·CVSS 6.5
CVE-2017-5856 [MEDIUM] CVE-2017-5856 Qemu: scsi: megasas: host memory leakage in megasas_handle_dcmd
CVE-2017-5856 Qemu: scsi: megasas: host memory leakage in megasas_handle_dcmd
Quick Emulator(Qemu) built with the MegaRAID SAS 8708EM2 Host Bus Adapter
emulation support is vulnerable to a memory leakage issue. It could occur
while processing MegaRAID Firmware Interface(MFI) command in
'megasas_handle_dcmd' routine.
A privileged user inside guest could use this flaw to leak host memory
resulting DoS issue.
Upstream patch:
-> http://git.qemu.org/?p=qemu.git;a=commit;h=765a707000e838c30b18d712fe6cb3dd8e0435f3
Reference:
-> http://www.openwall.com/lists/oss-security/2017/02/01/19
Discussion:
Acknowledgments:
Name: Li Qiang (360.cn Inc.)
---
Created qemu tracking bugs for this issue:
Affects: fedora-all [bug 1418344]
http://git.qemu-project.org/?p=qemu.git%3Ba=commit%3Bh=765a707000e838c30b18d712fe6cb3dd8e0435f3http://www.openwall.com/lists/oss-security/2017/02/01/19http://www.openwall.com/lists/oss-security/2017/02/02/14http://www.securityfocus.com/bid/95999https://bugzilla.redhat.com/show_bug.cgi?id=1418342https://lists.debian.org/debian-lts-announce/2018/09/msg00007.htmlhttps://security.gentoo.org/glsa/201702-28http://git.qemu-project.org/?p=qemu.git%3Ba=commit%3Bh=765a707000e838c30b18d712fe6cb3dd8e0435f3http://www.openwall.com/lists/oss-security/2017/02/01/19http://www.openwall.com/lists/oss-security/2017/02/02/14http://www.securityfocus.com/bid/95999https://bugzilla.redhat.com/show_bug.cgi?id=1418342https://lists.debian.org/debian-lts-announce/2018/09/msg00007.htmlhttps://security.gentoo.org/glsa/201702-28
2017-03-16
Published