Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
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...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2016-9913, CVE-2016-9914, CVE-2016-9915, CVE-2016-9916
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1402277 1402278
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-07 07:34 UTC by Prasad Pandit
Modified: 2019-09-29 14:02 UTC (History)
36 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:03:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Prasad 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 Pandit 2016-12-07 07:36:39 UTC
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1402278]

Comment 2 Prasad 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>
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>
Date:   Wed Nov 23 13:53:34 2016 +0100

    9pfs: add cleanup operation in FileOperations

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

    9pfs: add cleanup operation for handle backend driver

commit 898ae90a44551d25b8e956fd87372d303c82fe68
Author: Li Qiang <liq3ea>
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>
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.