Bug 1406390 (CVE-2016-10029)

Summary: CVE-2016-10029 Qemu: display: virtio-gpu: out of bounds read in virtio_gpu_set_scanout
Product: [Other] Security Response Reporter: Prasad Pandit <ppandit>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ailan, amit.shah, apevec, areis, ayoung, berrange, cfergeau, chrisw, cvsbot-xmlrpc, drjones, dwmw2, imammedo, itamar, jen, jjoyce, 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:04:47 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: 1406392    
Bug Blocks: 1375214    

Description Prasad Pandit 2016-12-20 12:42:46 UTC
Quick Emulator(Qemu) built with the Virtio GPU Device emulator support is
vulnerable to an OOB read issue. It could occur while processing
'VIRTIO_GPU_CMD_SET_SCANOUT:' command.

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

Upstream patch:
---------------
  -> http://git.qemu.org/?p=qemu.git;a=commit;h=acfc4846508a02cc4c83aa27799fd7
  -> http://git.qemu.org/?p=qemu.git;a=commit;h=2fe760554eb3769d70f608a158474f

Reference:
----------
  -> http://www.openwall.com/lists/oss-security/2016/12/20/2

Comment 1 Prasad Pandit 2016-12-20 12:43:21 UTC
Acknowledgments:

Name: Hongzhenhao Marvel Team (360.cn Inc.)

Comment 2 Prasad Pandit 2016-12-20 12:44:29 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1406392]