Bug 1373478 (CVE-2016-7156)

Summary: CVE-2016-7156 Qemu: scsi: pvscsi: infintie loop when building SG list
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.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   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 02:58:17 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: 1373480    
Bug Blocks: 1365912    

Description Prasad Pandit 2016-09-06 11:44:27 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 processing an IO request descriptor, building SG list.

A privileged user inside guest could use this flaw to crash the Qemu process
resulting in DoS.

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

Comment 1 Prasad Pandit 2016-09-06 11:44:33 UTC

Name: Li Qiang (360.cn Inc.)

Comment 2 Prasad Pandit 2016-09-06 11:46:08 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1373480]

Comment 3 Cole Robinson 2016-10-15 23:48:58 UTC
I think this ended up as

commit 49adc5d3f8c6bb75e55ebfeab109c5c37dea65e8
Author: Prasad J Pandit <pjp>
Date:   Tue Sep 6 02:20:43 2016 +0530

    scsi: pvscsi: limit loop to fetch SG list