Bug 1379297 (CVE-2016-7161)

Summary: CVE-2016-7161 Qemu: net: xilinx_ethlite: heap buffer overflow in eth_rx
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ailan, amit.shah, aortega, apevec, areis, ayoung, berrange, bmcclain, cfergeau, chrisw, cvsbot-xmlrpc, dblechte, drjones, dwmw2, eedri, gklein, imammedo, itamar, jen, jschluet, kbasil, knoel, lhh, lpeer, markmc, m.a.young, mgoldboi, michal.skrivanek, mkenneth, mrezanin, mst, pbonzini, ppandit, rbalakri, rbryant, rjones, rkrcmar, sclewis, sherold, srevivo, tdecacqu, virt-maint, virt-maint, vkuznets, xen-maint, ykaul, ylavi
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: 2016-10-26 09:13:37 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: 1379298, 1379299    
Bug Blocks: 1379308    

Description Adam Mariš 2016-09-26 10:20:49 UTC
The .receive callback of xlnx.xps-ethernetlite doesn't check the length of data before calling memcpy. As a result, the NetClientState object in heap will be overflowed. All versions of qemu with xlnx.xps-ethernetlite are affected.

Upstream patch:

http://git.qemu.org/?p=qemu.git;a=commit;h=a0d1cbdacff5df4ded16b753b38fdd9da6092968

CVE assignment:

http://seclists.org/oss-sec/2016/q3/603

Comment 1 Adam Mariš 2016-09-26 10:22:18 UTC
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1379299]

Comment 2 Adam Mariš 2016-09-26 10:22:45 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1379298]