Bug 1660751 (CVE-2018-20126)

Summary: CVE-2018-20126 QEMU: pvrdma: memory leakage when creating cq/qp
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: unspecifiedKeywords: Security
Target Milestone: ---   
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-12-20 05:19:27 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: 1660752    
Bug Blocks: 1649132    

Description Prasad Pandit 2018-12-19 06:59:40 UTC
A memory leakage issue was found in QEMU's implementation of
VMWare's paravirtual RDMA device. It could occur while creating CQ/QP
ring objects in create_cq/qp() routines, as it did not free ring objects'
memory in case of an error.

A guest user/process could use this flaw to leak host memory resulting in DoS.

Upstream patch:
---------------
  -> https://lists.gnu.org/archive/html/qemu-devel/2018-12/msg02824.html

Reference:
----------
  -> https://www.openwall.com/lists/oss-security/2018/12/19/4

Comment 1 Prasad Pandit 2018-12-19 06:59:43 UTC
Acknowledgments:

Name: Li Qiang

Comment 2 Prasad Pandit 2018-12-19 06:59:54 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1660752]