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 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:
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: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1384876    
Bug Blocks: 1384776    

Description Prasad 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 Pandit 2016-10-14 10:37:42 UTC
Acknowledgments:

Name: PSIRT (Huawei Inc.)

Comment 2 Prasad 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 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