CVE-2017-5856Missing Release of Memory after Effective Lifetime in Qemu

Severity
6.5MEDIUMNVD
OSV5.5
EPSS
0.1%
top 65.49%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMar 16
Latest updateMay 13

Description

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:HExploitability: 2.0 | Impact: 4.0

Affected Packages4 packages

debiandebian/qemu< qemu 1:2.8+dfsg-3 (bookworm)
Debianqemu/qemu< 1:2.8+dfsg-3+3
Ubuntuqemu/qemu< 2.0.0+dfsg-2ubuntu1.33+1
NVDqemu/qemu2.8.1.1

Also affects: Debian Linux 8.0

Patches

🔴Vulnerability Details

3
GHSA
GHSA-3x3m-4c79-cmv9: Memory leak in the megasas_handle_dcmd function in hw/scsi/megasas2022-05-13
OSV
qemu vulnerabilities2017-04-20
OSV
CVE-2017-5856: Memory leak in the megasas_handle_dcmd function in hw/scsi/megasas2017-03-16

📋Vendor Advisories

3
Ubuntu
QEMU vulnerabilities2017-04-20
Red Hat
Qemu: scsi: megasas: host memory leakage in megasas_handle_dcmd2017-01-02
Debian
CVE-2017-5856: qemu - Memory leak in the megasas_handle_dcmd function in hw/scsi/megasas.c in QEMU (ak...2017

💬Community

2
Bugzilla
CVE-2017-5856 Qemu: scsi: megasas: host memory leakage in megasas_handle_dcmd [fedora-all]2017-02-01
Bugzilla
CVE-2017-5856 Qemu: scsi: megasas: host memory leakage in megasas_handle_dcmd2017-02-01