Bug 1373504 (CVE-2016-7157)

Summary: CVE-2016-7157 Qemu: scsi: mptsas: invalid memory access while building configuration pages
Product: [Other] Security Response Reporter: Prasad Pandit <ppandit>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: ailan, amit.shah, aortega, apevec, areis, ayoung, berrange, cfergeau, chrisw, 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: 2016-11-24 10:17:53 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: 1373505    
Bug Blocks: 1370223    

Description Prasad Pandit 2016-09-06 12:39:22 UTC
Quick emulator(Qemu) built with the LSI SAS1068 Host Bus emulation support,
is vulnerable to an invalid memory access issue. It could occur while building
configuration page headers in 'mptsas_config_manufacturing_1'.

A privileged user inside guest 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-08/msg04295.html
  -> https://lists.gnu.org/archive/html/qemu-devel/2016-08/msg04296.html

Reference:
----------
  -> http://www.openwall.com/lists/oss-security/2016/09/06/4

Comment 1 Prasad Pandit 2016-09-06 12:39:56 UTC
Acknowledgments:

Name: Victor V (360.cn Marvel Team)

Comment 2 Prasad Pandit 2016-09-06 12:40:58 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1373505]