Bug 1643252 (CVE-2018-19364)

Summary: CVE-2018-19364 Qemu: 9pfs: Use-after-free due to race condition while updating fid path
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: amit, apevec, areis, berrange, cfergeau, chrisw, dwmw2, itamar, jen, jforbes, jjoyce, jschluet, kbasil, knoel, lhh, lpeer, markmc, m.a.young, mburns, mkenneth, mrezanin, mst, pbonzini, ppandit, rbalakri, rbryant, rjones, robinlee.sysu, sclewis, security-response-team, slinaber, tdecacqu, virt-maint, virt-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-10 10:41:07 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: 1651359, 1651360    
Bug Blocks: 1643253    

Description Pedro Sampaio 2018-10-25 18:16:58 UTC
A use-after-free flaw was found in the VirtFS, host directory sharing via Plan 9
File System(9pfs) support in QEMU. It could occur due to a race condition while accessing files on a shared host directory.

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

Upstream patch:
---------------
  -> https://lists.gnu.org/archive/html/qemu-devel/2018-11/msg01139.html
  -> https://lists.gnu.org/archive/html/qemu-devel/2018-11/msg02795.html

Reference:
----------
  -> https://www.openwall.com/lists/oss-security/2018/11/20/1

Comment 1 Prasad Pandit 2018-11-05 19:35:38 UTC
Acknowledgments:

Name: Zhibin Hu

Comment 2 Prasad Pandit 2018-11-19 19:32:17 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1651359]