Bug 1009553 (CVE-2013-4356)

Summary: CVE-2013-4356 Kernel: Xen: Xsa-64: memory leak by 64bit PV guests under live migration
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: drjones, imammedo, mrezanin, pbonzini, rkrcmar, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-30 17:07:21 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: 1013748    
Bug Blocks: 1009004    

Description Prasad Pandit 2013-09-18 15:32:26 UTC
On some hardware, during live migration of 64-bit PV guests, some
parts of the guest's shadow pagetables are mistakenly filled in with
hypervisor mappings. This causes Xen to crash when those mappings are
later cleared. Before the crash, a malicious guest could use
hypercalls to cause Xen to read and write the parts of memory pointed
to by the stray mappings.

A malicious 64-bit PV guest, on a vulnerable host system, that can arrange for
itself to be live migrated could use this flaw to read or write memory at the
high physical addresses on the host.

Acknowledgements:

Red Hat would like to thank the Xen project for reporting this issue.

Comment 1 Prasad Pandit 2013-09-18 15:37:02 UTC
Statement:

This issue does not affect the versions of the kernel-xen package as shipped with Red Hat Enterprise Linux 5.

This issue does not affect the versions of the Linux kernel package as shipped with Red Hat Enterprise Linux 6 and Red Hat Enterprise MRG as it does not have support for Xen hypervisor.

Comment 4 Vincent Danen 2013-09-30 17:07:21 UTC
This is now public:

http://www.openwall.com/lists/oss-security/2013/09/30/2

Comment 5 Vincent Danen 2013-09-30 17:13:28 UTC
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1013748]