Bug 893144 (CVE-2013-0151, CVE-2013-0152)

Summary: CVE-2013-0151 CVE-2013-0152: kernel: xen: nested HVM host crash / OOM condition
Product: [Other] Security Response Reporter: Petr Matousek <pmatouse>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: drjones, jlieskov, lersek, pbonzini, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:59:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 902792    
Bug Blocks: 893147    

Description Petr Matousek 2013-01-08 17:40:10 UTC
CVE-2013-0151: nested virtualization on 32-bit exposes host crash

When performing nested virtualisation Xen would incorrectly map guest
pages for extended periods using an interface which is only intended
for transient mappings. In some configurations there are a limited
number of slots available for these transient mappings and exhausting
them leads to a host crash and therefore a Denial of Service attack.

A malicious guest administrator can, by enabling nested virtualisation
from within the guest, trigger the issue.

CVE-2013-0152: nested HVM exposes host to being driven out of memory by guest

Guests are currently permitted to enable nested virtualization on
themselves. Missing error handling cleanup in the handling code makes
it possible for a guest, particularly a multi-vCPU one, to repeatedly
invoke this operation, thus causing a leak of - over time - unbounded
amounts of memory.

A malicious domain can mount a denial of service attack affecting the
whole system.


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

Comment 2 Petr Matousek 2013-01-08 17:41:31 UTC

Not vulnerable.

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

This issue did not affect Red Hat Enterprise Linux 6 and Red Hat Enterprise MRG as we did not have support for Xen hypervisor.

Comment 4 Petr Matousek 2013-01-22 12:11:40 UTC
Created xen tracking bugs for this issue

Affects: fedora-all [bug 902792]

Comment 5 Fedora Update System 2013-02-02 04:32:11 UTC
xen-4.2.1-5.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Jan Lieskovsky 2013-03-07 11:18:54 UTC
Upstream patch for XSA-34 / CVE-2013-0151: