Bug 1402967 (CVE-2016-9923)

Summary: CVE-2016-9923 Qemu: char: use-after-free issue during hotplug and unplugging device
Product: [Other] Security Response Reporter: Prasad Pandit <ppandit>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: ailan, amit.shah, apevec, areis, ayoung, berrange, cfergeau, chrisw, 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:04:01 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: 1402968, 1402972    
Bug Blocks: 1395985    

Description Prasad Pandit 2016-12-08 19:10:38 UTC
Quick Emulator(Qemu) built with the 'chardev' backend support is vulnerable
to a use after free issue. It could occur while repeatedly hot-plugging and
unplugging 'chardev' device in the guest.

A guest user/process could use this flaw to crash a Qemu process on the host
resulting in DoS.

Upstream patch:
---------------
  -> https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg05597.html
  -> http://git.qemu.org/?p=qemu.git;a=commitdiff;h=a4afa548fc6dd9842ed86639b4d37d4d1c4ad480

Reference:
----------
  -> http://www.openwall.com/lists/oss-security/2016/12/08/11

Comment 1 Prasad Pandit 2016-12-08 19:12:00 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1402968]

Comment 2 Prasad Pandit 2016-12-08 19:16:59 UTC
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1402972]

Comment 3 Prasad Pandit 2016-12-08 19:19:06 UTC
Acknowledgments:

Name: Li Qiang (360.cn Inc.)