Bug 1389538 (CVE-2016-9101)

Summary: CVE-2016-9101 Qemu: net: eepro100 memory leakage at device unplug
Product: [Other] Security Response Reporter: Prasad Pandit <ppandit>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX 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:01:28 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: 1389539    
Bug Blocks: 1389512    

Description Prasad Pandit 2016-10-27 20:18:22 UTC
Quick Emulator(Qemu) built with the i8255x (PRO100) NIC emulation support
is vulnerable to a memory leakage issue. It could occur while unplugging the
device, and doing so repeatedly would result in leaking host memory affecting,
other services on the host.

A privileged user inside guest could use this flaw to cause a DoS on the host
and/or potentially crash the Qemu process on the host.

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

Reference:
----------
  -> http://www.openwall.com/lists/oss-security/2016/10/27/14

Comment 1 Prasad Pandit 2016-10-27 20:18:55 UTC
Acknowledgments:

Name: Li Qiang (360.cn Inc.)

Comment 2 Prasad Pandit 2016-10-27 20:19:56 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1389539]

Comment 3 Andrej Nemec 2016-10-31 14:41:59 UTC
CVE assignment:

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

Comment 4 Cole Robinson 2017-01-16 18:25:49 UTC
Not the referenced qemu-devel patch, but I think this was the fix:

commit 2634ab7fe29b3f75d0865b719caf8f310d634aae
Author: Li Qiang <liqiang6-s>
Date:   Sat Oct 8 05:07:25 2016 -0700

    net: eepro100: fix memory leak in device uninit