Bug 1283722 (CVE-2015-8666) - CVE-2015-8666 Qemu: acpi: heap based buffer overrun during VM migration
Summary: CVE-2015-8666 Qemu: acpi: heap based buffer overrun during VM migration
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2015-8666
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=low,public=20151224,reported=2...
Depends On: 1294027 1294028
Blocks: 1283726
TreeView+ depends on / blocked
 
Reported: 2015-11-19 16:44 UTC by Adam Mariš
Modified: 2019-06-11 11:13 UTC (History)
25 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A heap-based buffer overflow flaw was discovered in the QEMU emulator built with the Q35-chipset-based PC system emulator. During VM-guest migration, more data (8 bytes) is moved than the allocated memory area. A privileged guest user could use this flaw to corrupt the VM guest image, which could potentially lead to a denial of service.
Clone Of:
Environment:
Last Closed: 2019-06-08 02:45:39 UTC


Attachments (Terms of Use)
Patch (852 bytes, patch)
2015-11-19 16:46 UTC, Adam Mariš
no flags Details | Diff

Description Adam Mariš 2015-11-19 16:44:03 UTC
Qemu emulator built with the Q35 chipset based pc system emulator is vulnerable to a heap based buffer overflow. It occurs during VM guest migration, as more(8 bytes) data is moved than allocated memory area.

A privileged guest user could use this issue to corrupt the VM guest image, potentially leading to a DoS. This issue affects q35 machine types.

Upstream fix:
-------------
  -> git.qemu.org/?p=qemu.git;a=commit;h=d9a3b33d2c9f996537b7f1d0246dee2d0120cefb

Reference:
----------
  -> http://www.openwall.com/lists/oss-security/2015/12/24/1

Comment 1 Adam Mariš 2015-11-19 16:46:45 UTC
Created attachment 1096797 [details]
Patch

Comment 2 Adam Mariš 2015-11-19 17:08:49 UTC
Acknowledgments:

This issue was discovered by David Alan Gilbert of Red Hat.

Comment 3 Prasad J Pandit 2015-12-24 06:09:30 UTC
Statement: 

This issue does not affect the versions of the kvm and xen packages as shipped with Red Hat Enterprise Linux 5.

This issue does not affect the versions of the qemu-kvm packages as shipped with Red Hat Enterprise Linux 6, and the Red Hat Enterprise Linux 6 based versions of qemu-kvm-rhev packages as shipped with Red Hat Enterprise Virtualization 3.

This issue does not affect the versions of the qemu-kvm packages as shipped with Red Hat Enterprise Linux 7.

This issue does not affect the Red Hat Enterprise Linux 7 based versions of the qemu-kvm-rhev packages as shipped with Red Hat Enterprise Virtualization 3.

Comment 4 Prasad J Pandit 2015-12-24 06:13:39 UTC
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1294028]

Comment 5 Prasad J Pandit 2015-12-24 06:13:52 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1294027]

Comment 6 Fedora Update System 2016-01-12 07:54:22 UTC
qemu-2.4.1-5.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2016-01-19 23:54:33 UTC
qemu-2.3.1-10.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2016-01-28 18:25:19 UTC
xen-4.5.2-7.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2016-02-01 06:30:19 UTC
xen-4.5.2-7.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.