Bug 1418342 (CVE-2017-5856)

Summary: CVE-2017-5856 Qemu: scsi: megasas: host memory leakage in megasas_handle_dcmd
Product: [Other] Security Response Reporter: Prasad Pandit <ppandit>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: ailan, amit, apevec, areis, ayoung, berrange, cfergeau, chrisw, cvsbot-xmlrpc, drjones, dwmw2, imammedo, itamar, jen, jjoyce, 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   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:06:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1418344    
Bug Blocks: 1364375    

Description Prasad Pandit 2017-02-01 15:29:49 UTC
Quick Emulator(Qemu) built with the MegaRAID SAS 8708EM2 Host Bus Adapter
emulation support is vulnerable to a memory leakage issue. It could occur
while processing MegaRAID Firmware Interface(MFI) command in
'megasas_handle_dcmd' routine.

A privileged user inside guest could use this flaw to leak host memory
resulting DoS issue.

Upstream patch:
  -> http://git.qemu.org/?p=qemu.git;a=commit;h=765a707000e838c30b18d712fe6cb3dd8e0435f3

  -> http://www.openwall.com/lists/oss-security/2017/02/01/19

Comment 1 Prasad Pandit 2017-02-01 15:30:24 UTC

Name: Li Qiang (360.cn Inc.)

Comment 2 Prasad Pandit 2017-02-01 15:32:26 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1418344]