Bug 1422452 (CVE-2017-5994)

Summary: CVE-2017-5994 Virglrenderer: out-of-bounds access in vrend_create_vertex_elements_state
Product: [Other] Security Response Reporter: Prasad Pandit <ppandit>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
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:42 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: 1422453    
Bug Blocks: 1409507    

Description Prasad Pandit 2017-02-15 11:27:25 UTC
Virgil 3d project, used by Quick Emulator(Qemu) to implement 3D GPU support
for the virtio GPU, is vulnerable to an OOB array access issue. It could occur
when creating vertex elements array in vrend_create_vertex_elements_state().

A guest user/process could use this flaw to crash the Qemu process instance
resulting DoS.

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

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

Comment 1 Prasad Pandit 2017-02-15 11:27:37 UTC
Acknowledgments:

Name: Li Qiang (360.cn Inc.)

Comment 2 Prasad Pandit 2017-02-15 11:28:01 UTC
Created virglrenderer tracking bugs for this issue:

Affects: fedora-all [bug 1422453]

Comment 3 Product Security DevOps Team 2019-06-08 03:07:42 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.