Bug 1384909 (CVE-2016-8669)

Summary: CVE-2016-8669 Qemu: char: divide by zero error in serial_update_parameters
Product: [Other] Security Response Reporter: Prasad Pandit <ppandit>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA 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, jjoyce, 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   
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:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1384910, 1384911, 1476049, 1476068, 1476069, 1476072, 1476074, 1476077    
Bug Blocks: 1384776, 1476084    

Description Prasad Pandit 2016-10-14 11:01:30 UTC
Quick Emulator(Qemu) built with the 16550A UART emulation support is vulnerable
to a divide by zero issue. It could occur while updating serial device
parameters in 'serial_update_parameters'.

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/msg02461.html

Comment 1 Prasad Pandit 2016-10-14 11:02:06 UTC

Name: PSIRT  (Huawei Inc.)

Comment 2 Prasad Pandit 2016-10-14 11:03:22 UTC
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1384910]

Comment 3 Prasad Pandit 2016-10-14 11:03:46 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1384911]

Comment 4 Andrej Nemec 2016-10-17 07:48:50 UTC
CVE assignment:


Comment 5 Cole Robinson 2017-01-16 18:22:34 UTC
commit 3592fe0c919cf27a81d8e9f9b4f269553418bb01
Author: Prasad J Pandit <pjp>
Date:   Wed Oct 12 11:28:08 2016 +0530

    char: serial: check divider value against baud base

Comment 6 errata-xmlrpc 2017-08-02 00:57:25 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 10.0 (Newton)
  Red Hat OpenStack Platform 11.0 (Ocata)
  Red Hat Enterprise Linux OpenStack Platform 6.0 (Juno) for RHEL 7
  Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7
  Red Hat OpenStack Platform 8.0 (Liberty)
  Red Hat OpenStack Platform 9.0 (Mitaka)

Via RHSA-2017:2408 https://access.redhat.com/errata/RHSA-2017:2408

Comment 7 errata-xmlrpc 2017-08-02 04:46:14 UTC
This issue has been addressed in the following products:

  RHEV 4.X RHEV-H and Agents for RHEL-7

Via RHSA-2017:2392 https://access.redhat.com/errata/RHSA-2017:2392