CVE Vulnerabilities

CVE-2016-1568

Use After Free

Published: Apr 12, 2016 | Modified: Apr 12, 2025
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS 2.x
6.9 MEDIUM
AV:L/AC:M/Au:N/C:C/I:C/A:C
RedHat/V2
4 LOW
AV:A/AC:H/Au:S/C:P/I:P/A:P
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

Use-after-free vulnerability in hw/ide/ahci.c in QEMU, when built with IDE AHCI Emulation support, allows guest OS users to cause a denial of service (instance crash) or possibly execute arbitrary code via an invalid AHCI Native Command Queuing (NCQ) AIO command.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
QemuQemu*2.5.1.1 (including)
Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7RedHatqemu-kvm-rhev-10:2.3.0-31.el7_2.7*
Red Hat Enterprise Linux OpenStack Platform 6.0 (Juno) for RHEL 7RedHatqemu-kvm-rhev-10:2.3.0-31.el7_2.7*
Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7RedHatqemu-kvm-rhev-10:2.3.0-31.el7_2.7*
RHEV 3.6 For IBM Power SystemsRedHatqemu-kvm-rhev-10:2.3.0-31.el7_2.7*
RHEV 3.X Hypervisor and Agents for RHEL-7RedHatqemu-kvm-rhev-10:2.3.0-31.el7_2.7*
QemuUbuntudevel*
QemuUbuntuesm-infra-legacy/trusty*
QemuUbuntutrusty*
QemuUbuntutrusty/esm*
QemuUbuntuvivid*
QemuUbuntuwily*
Qemu-kvmUbuntuprecise*

Potential Mitigations

References