CVE-2017-5857Missing 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 virgl_cmd_resource_unref function in hw/display/virtio-gpu-3d.c in QEMU (aka Quick Emulator) allows local guest OS users to cause a denial of service (host memory consumption) via a large number of VIRTIO_GPU_CMD_RESOURCE_UNREF commands sent without detaching the backing storage beforehand.

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

Patches

🔴Vulnerability Details

3
GHSA
GHSA-p7q6-69w3-ppv9: Memory leak in the virgl_cmd_resource_unref function in hw/display/virtio-gpu-3d2022-05-13
OSV
qemu vulnerabilities2017-04-20
OSV
CVE-2017-5857: Memory leak in the virgl_cmd_resource_unref function in hw/display/virtio-gpu-3d2017-03-16

📋Vendor Advisories

3
Ubuntu
QEMU vulnerabilities2017-04-20
Red Hat
Qemu: display: virtio-gpu-3d: host memory leakage in virgl_cmd_resource_unref2017-01-23
Debian
CVE-2017-5857: qemu - Memory leak in the virgl_cmd_resource_unref function in hw/display/virtio-gpu-3d...2017

💬Community

2
Bugzilla
CVE-2017-5857 Qemu: display: virtio-gpu-3d: host memory leakage in virgl_cmd_resource_unref [fedora-all]2017-02-01
Bugzilla
CVE-2017-5857 Qemu: display: virtio-gpu-3d: host memory leakage in virgl_cmd_resource_unref2017-02-01