Bug 1422438 (CVE-2017-5993)

Summary: CVE-2017-5993 Virglrenderer: host memory leakage when initialising blitter context
Product: [Other] Security Response Reporter: Prasad Pandit <ppandit>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: airlied, marcandre.lureau
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:41 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: 1422439    
Bug Blocks: 1409505    

Description Prasad Pandit 2017-02-15 10:52:31 UTC
Virgil 3d project, used by Quick Emulator(Qemu) to implement 3D GPU support
for the virtio GPU, is vulnerable to memory leakage issue. It could occur when
a guest tries to initialise blitter context via 'VIRGL_CCMD_BLIT' command.

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

Upstream patch:
---------------
  -> https://cgit.freedesktop.org/virglrenderer/commit/?id=6eb13f7a2dcf391ec9e19b4c2a79e68305f63c22

Reference:
----------
  -> http://www.openwall.com/lists/oss-security/2017/02/15/7

Comment 1 Prasad Pandit 2017-02-15 10:52:43 UTC
Acknowledgments:

Name: Li Qiang (360.cn Inc.)

Comment 2 Prasad Pandit 2017-02-15 10:53:26 UTC
Created virglrenderer tracking bugs for this issue:

Affects: fedora-all [bug 1422439]

Comment 3 Product Security DevOps Team 2019-06-08 03:07:41 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.