Bug 1383291 (CVE-2016-8578)

Summary: CVE-2016-8578 Qemu: 9pfs: potential NULL dereferencein 9pfs routines
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 02:59:55 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: 1383292, 1383293    
Bug Blocks: 1382469    

Description Prasad Pandit 2016-10-10 11:20:37 UTC
Quick Emulator(Qemu) built with the virtio-9p back-end support is vulnerable
to a null pointer dereference issue. It could occur while doing an I/O vector
unmarshalling operation in v9fs_iov_vunmarshal() routine.

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

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

Comment 1 Prasad Pandit 2016-10-10 11:21:24 UTC
Acknowledgments:

Name: Li Qiang (360.cn Inc.)

Comment 2 Prasad Pandit 2016-10-10 11:22:41 UTC
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1383293]

Comment 3 Prasad Pandit 2016-10-10 11:23:00 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1383292]

Comment 4 Cole Robinson 2017-01-16 18:29:06 UTC
commit ba42ebb863ab7d40adc79298422ed9596df8f73a
Author: Li Qiang <liqiang6-s>
Date:   Mon Oct 17 14:13:58 2016 +0200

    9pfs: allocate space for guest originated empty strings