Bug 1402245 (CVE-2016-9845)

Summary: CVE-2016-9845 Qemu: display: virtio-gpu-3d: information leakage in virgl_cmd_get_capset_info
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   
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:03:25 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: 1402247    
Bug Blocks: 1395985    

Description Prasad Pandit 2016-12-07 06:34:52 UTC
Quick Emulator(Qemu) built with the Virtio GPU Device emulator support is
vulnerable to an information leakage issue. It could occur while processing
'VIRTIO_GPU_CMD_GET_CAPSET_INFO' command.

A guest user/process could use this flaw to leak contents of the host memory
bytes.

Upstream patch:
---------------
  -> https://lists.nongnu.org/archive/html/qemu-devel/2016-11/msg00019.html

Reference:
----------
  -> http://www.openwall.com/lists/oss-security/2016/12/05/22

Comment 1 Prasad Pandit 2016-12-07 06:42:13 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1402247]

Comment 3 Cole Robinson 2017-01-16 18:50:08 UTC
commit 42a8dadc74f8982fc269e54e3c5627b54d9f83d8
Author: Li Qiang <liqiang6-s>
Date:   Tue Nov 1 02:53:11 2016 -0700

    virtio-gpu: fix information leak in getting capset info dispatch