Bug 1399531

Summary: Qemu: net: mcf_fec: infinite loop issue while receiving data
Product: [Other] Security Response Reporter: Prasad Pandit <ppandit>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED DUPLICATE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: ailan, amit.shah, aortega, 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, rbalakri, 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: 2017-02-07 07:38:57 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: 1399533, 1400830    
Bug Blocks: 1326713    

Description Prasad Pandit 2016-11-29 09:22:48 UTC
Quick Emulator(Qemu) built with the ColdFire Fast Ethernet Controller emulator
support is vulnerable to an infinite loop issue. It could occur while receiving
packets in 'mcf_fec_receive', if receive buffer size was to be zero.

A privileged user/process inside guest could use this issue to crash the Qemu
process on the host leading to DoS.

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

Comment 1 Prasad Pandit 2016-11-29 09:23:25 UTC
Acknowledgments:

Name: Wjjzhang (Tencent.com)

Comment 2 Prasad Pandit 2016-11-29 09:24:25 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1399533]

Comment 3 Cole Robinson 2017-01-16 18:38:03 UTC
I think this is a dupe of https://bugzilla.redhat.com/show_bug.cgi?id=1400829 ?

Comment 4 Prasad Pandit 2017-02-07 07:38:57 UTC

*** This bug has been marked as a duplicate of bug 1400829 ***