Bug 1388046 (CVE-2016-8910)

Summary: CVE-2016-8910 Qemu: net: rtl8139: infinite loop while transmit in C+ mode
Product: [Other] Security Response Reporter: Prasad J Pandit <ppandit>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: ailan, amit.shah, apevec, areis, 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, ppandit, 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=20161021,reported=20160609,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-835,rhel-5/kvm=wontfix,rhel-5/xen=wontfix,rhel-6/qemu-kvm=wontfix,rhel-7/qemu-kvm=wontfix,rhel-7/qemu-kvm-rhev=wontfix,openstack-5/qemu-kvm-rhev=wontfix,openstack-6/qemu-kvm-rhev=affected,openstack-7/qemu-kvm-rhev=affected,openstack-8/qemu-kvm-rhev=affected,openstack-9/qemu-kvm-rhev=affected,openstack-10/qemu-kvm-rhev=affected,fedora-all/qemu=affected,fedora-all/xen=affected,openstack-11/qemu-kvm-rhev=affected
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 1388047, 1388048, 1476049, 1476068, 1476069, 1476072, 1476074, 1476077    
Bug Blocks: 1388028, 1476084    

Description Prasad J Pandit 2016-10-24 10:07:28 UTC
Quick Emulator(Qemu) built with the RTL8139 ethernet controller emulation
support is vulnerable to an infinite loop issue. It could occur while
transmitting packets in C+ mode of operation.

A privileged user inside guest could use this flaw to consume excessive CPU
cycles on the host, resulting in DoS situation.

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

Reference:
----------
  -> http://www.openwall.com/lists/oss-security/2016/10/24/5

Comment 1 Prasad J Pandit 2016-10-24 10:09:22 UTC
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1388048]

Comment 2 Prasad J Pandit 2016-10-24 10:09:42 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1388047]

Comment 3 Prasad J Pandit 2016-10-24 19:13:39 UTC
Acknowledgments:

Name: Andrew Henderson (Intelligent Automation Inc.)

Comment 4 Cole Robinson 2017-01-16 18:22:08 UTC
commit c7c35916692fe010fef25ac338443d3fe40be225
Author: Prasad J Pandit <pjp@fedoraproject.org>
Date:   Fri Oct 21 17:39:29 2016 +0530

    net: rtl8139: limit processing of ring descriptors

Comment 7 errata-xmlrpc 2017-08-02 00:57:45 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 8 errata-xmlrpc 2017-08-02 04:46:34 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