Bug 1445621 (CVE-2017-8112)

Summary: CVE-2017-8112 Qemu: scsi: vmw_pvscsi: infinite loop in pvscsi_log2
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, aortega, apevec, areis, ayoung, berrange, cfergeau, chrisw, cvsbot-xmlrpc, ddepaula, drjones, dwmw2, imammedo, itamar, jen, jjoyce, jschluet, kbasil, knoel, lhh, lpeer, markmc, m.a.young, mkenneth, mrezanin, mst, pbonzini, rbalakri, rbryant, rjones, rkrcmar, robinlee.sysu, 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: 2018-01-16 10:25:52 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: 1445622    
Bug Blocks: 1326713    

Description Prasad Pandit 2017-04-26 07:13:45 UTC
Quick Emulator(Qemu) built with the VMWARE PVSCSI paravirtual SCSI bus
emulation support is vulnerable to an infinite loop issue.
It could occur while initialising SCSI message ring buffer in pvscsi_log2().

A privileged user inside guest could use this flaw to consume host cpu cycles
or crash the Qemu process resulting in DoS.

Upstream patch:
---------------
  -> https://lists.gnu.org/archive/html/qemu-devel/2017-04/msg04578.html

Reference:
----------
  -> http://www.openwall.com/lists/oss-security/2017/04/26/5

Comment 1 Prasad Pandit 2017-04-26 07:14:29 UTC
Acknowledgments:

Name: Li Qiang (Qihoo 360 Gear Team) YY Z(Researcher)

Comment 2 Prasad Pandit 2017-04-26 07:15:53 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1445622]

Comment 3 Fedora Update System 2017-07-25 21:25:07 UTC
qemu-2.7.1-7.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.