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
Created xen tracking bugs for this issue: Affects: fedora-all [bug 1402278]
Created qemu tracking bugs for this issue: Affects: fedora-all [bug 1402277]
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