Bug 1421995 (CVE-2017-5987)

Summary: CVE-2017-5987 Qemu: sd: infinite loop issue in multi block transfers
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   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:07:35 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: 1422001    
Bug Blocks: 1401579    

Description Prasad Pandit 2017-02-14 09:54:18 UTC
Quick emulator(Qemu) built with the SDHCI device emulation support is vulnerable
to an infinite loop issue. It could occur while doing a multi block SDMA
transfer via 'sdhci_sdma_transfer_multi_blocks' routine.

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/2017-02/msg02776.html

Reference:
----------
  -> http://www.openwall.com/lists/oss-security/2017/02/14/8

Comment 2 Prasad Pandit 2017-02-14 09:57:43 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1422001]

Comment 3 Adam Mariš 2017-09-11 08:35:55 UTC
Acknowledgments:

Name: Jiang Xin (Huawei), Wjjzhang (Tencent)