Bug 1402255 (CVE-2016-9846)

Summary: CVE-2016-9846 Qemu: display: virtio-gpu: memory leakage while updating cursor data
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: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: 1402258    
Bug Blocks: 1395985    

Description Prasad Pandit 2016-12-07 06:53:30 UTC
Quick Emulator(Qemu) built with the Virtio GPU Device emulator support is
vulnerable to a memory leakage issue. It could occur while updating the cursor
data in update_cursor_data_virgl.

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

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

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

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

Affects: fedora-all [bug 1402258]

Comment 3 Cole Robinson 2017-01-16 18:49:55 UTC
commit 2d1cd6c7a91a4beb99a0c3a21be529222a708545
Author: Li Qiang <liqiang6-s>
Date:   Tue Nov 1 04:06:58 2016 -0700

    virtio-gpu: fix memory leak in update_cursor_data_virgl