Bug 1402276 (CVE-2016-9913, CVE-2016-9914, CVE-2016-9915, CVE-2016-9916) - CVE-2016-9913 CVE-2016-9914 CVE-2016-9915 CVE-2016-9916 Qemu: 9pfs: memory leakage via proxy/handle callbacks
Summary: CVE-2016-9913 CVE-2016-9914 CVE-2016-9915 CVE-2016-9916 Qemu: 9pfs: memory le...
Status: NEW
Alias: CVE-2016-9913, CVE-2016-9914, CVE-2016-9915, CVE-2016-9916
Product: Security Response
Classification: Other
Component: vulnerability   
(Show other bugs)
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=low,public=20161121,reported=2...
Keywords: Security
Depends On: 1402277 1402278
Blocks: 1395985
TreeView+ depends on / blocked
 
Reported: 2016-12-07 07:34 UTC by Prasad J Pandit
Modified: 2018-07-18 15:08 UTC (History)
36 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Prasad J Pandit 2016-12-07 07:34:59 UTC
Quick Emulator(Qemu) built with the VirtFS, host directory sharing via Plan 9
File System(9pfs) support, is vulnerable to memory leakage issue. It could
occur via its '9p-handle' or '9p-proxy' backend drivers as they do not free
their respective allocated data objects.

A privileged user inside guest could use this flaw to leak host memory, thus
affecting other services on the host and/or potentially crash the Qemu process
on the host.

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

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

Comment 1 Prasad J Pandit 2016-12-07 07:36:39 UTC
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1402278]

Comment 2 Prasad J Pandit 2016-12-07 07:37:03 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1402277]

Comment 4 Cole Robinson 2017-01-16 18:35:38 UTC
commit 4774718e5c194026ba5ee7a28d9be49be3080e42
Author: Li Qiang <liq3ea@gmail.com>
Date:   Wed Nov 23 13:53:34 2016 +0100

    9pfs: adjust the order of resource cleanup in device unrealize

commit 702dbcc274e2ca43be20ba64c758c0ca57dab91d
Author: Li Qiang <liq3ea@gmail.com>
Date:   Wed Nov 23 13:53:34 2016 +0100

    9pfs: add cleanup operation in FileOperations

commit 971f406b77a6eb84e0ad27dcc416b663765aee30
Author: Li Qiang <liq3ea@gmail.com>
Date:   Wed Nov 23 13:53:34 2016 +0100

    9pfs: add cleanup operation for handle backend driver

commit 898ae90a44551d25b8e956fd87372d303c82fe68
Author: Li Qiang <liq3ea@gmail.com>
Date:   Wed Nov 23 13:53:34 2016 +0100

    9pfs: add cleanup operation for proxy backend driver


And this fixes a bug in one of those commits:

commit f2b58c43758efc61e2a49b899f5e58848489d0dc
Author: Greg Kurz <groug@kaod.org>
Date:   Tue Jan 3 17:28:44 2017 +0100

    9pfs: fix crash when fsdev is missing


Note You need to log in before you can comment on or make changes to this bug.