Bug 1384874 (CVE-2016-8667)

Summary: CVE-2016-8667 Qemu: hw: dma: divide by zero error in set_next_tick
Product: [Other] Security Response Reporter: Prasad J Pandit <ppandit>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: ailan, amit.shah, apevec, areis, ayoung, berrange, cfergeau, chrisw, crobinso, cvsbot-xmlrpc, drjones, dwmw2, imammedo, itamar, jen, jschluet, kbasil, knoel, lhh, lpeer, markmc, m.a.young, mkenneth, mrezanin, mst, pbonzini, rbryant, rjones, rkrcmar, sclewis, srevivo, tdecacqu, virt-maint, virt-maint, vkuznets, xen-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20161012,reported=20160926,source=researcher,cvss2=2.3/AV:A/AC:M/Au:S/C:N/I:N/A:P,cvss3=3.0/CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L,cwe=CWE-369,rhel-5/kvm=notaffected,rhel-5/xen=notaffected,rhel-6/qemu-kvm=notaffected,rhel-7/qemu-kvm=notaffected,rhel-7/qemu-kvm-rhev=notaffected,openstack-5/qemu-kvm-rhev=notaffected,openstack-6/qemu-kvm-rhev=notaffected,openstack-7/qemu-kvm-rhev=notaffected,openstack-8/qemu-kvm-rhev=notaffected,openstack-9/qemu-kvm-rhev=notaffected,openstack-10/qemu-kvm-rhev=notaffected,fedora-all/xen=notaffected,fedora-all/qemu=affected
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:00:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 1384876    
Bug Blocks: 1384776    

Description Prasad J Pandit 2016-10-14 10:37:06 UTC
Quick Emulator(Qemu) built with the JAZZ RC4030 chipset emulation support is
vulnerable to a divide by zero issue. It could occur while computing its
periodic timer's next tick value.

A privileged guest user could use this flaw to crash the Qemu process instance
on the host resulting in DoS.

Upstream patch:
---------------
  -> https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg02577.html

Comment 1 Prasad J Pandit 2016-10-14 10:37:42 UTC
Acknowledgments:

Name: PSIRT (Huawei Inc.)

Comment 2 Prasad J Pandit 2016-10-14 10:38:43 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1384876]

Comment 3 Andrej Nemec 2016-10-17 07:18:06 UTC
CVE assignment:

http://seclists.org/oss-sec/2016/q4/136

Comment 4 Cole Robinson 2017-01-16 18:56:33 UTC
Still not applied. Maybe ping the patch and CC hpoussin@reactos.org who looks to be the last person to do actual work on that file

Comment 5 Cole Robinson 2017-03-14 19:18:26 UTC
Still not upstream, but I pinged the thread