Bug 1483534 (CVE-2017-12809)

Summary: CVE-2017-12809 Qemu: ide: flushing of empty CDROM drives leads to NULL dereference
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, apevec, areis, ayoung, berrange, cfergeau, chrisw, cvsbot-xmlrpc, ddepaula, drjones, dwmw2, imammedo, itamar, jen, jjoyce, jschluet, kbasil, knoel, lhh, lpeer, markmc, m.a.young, mkenneth, mrezanin, mst, pbonzini, rbryant, rjones, rkrcmar, robinlee.sysu, 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:21:24 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: 1483536    
Bug Blocks: 1455462    

Description Prasad Pandit 2017-08-21 11:15:24 UTC
Quick emulator built with the IDE disk and CD/DVD-ROM Emulator support is
vulnerable to a null pointer dereference issue. It could occur while
flushing an empty CDROM device drive.

A privileged user inside guest could use this flaw to crash the Qemu process
resulting in DoS.

Upstream patch:
---------------
  -> https://lists.gnu.org/archive/html/qemu-devel/2017-08/msg01850.html

Reference:
----------
  -> http://www.openwall.com/lists/oss-security/2017/08/21/2

Comment 1 Prasad Pandit 2017-08-21 11:16:05 UTC
Acknowledgments:

Name: Ryan Salsamendi (Palo Alto Networks PSIRT)

Comment 2 Prasad Pandit 2017-08-21 11:17:37 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1483536]

Comment 3 Fedora Update System 2017-11-07 22:14:06 UTC
qemu-2.9.1-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.