Bug 1064490 (CVE-2014-1950) - CVE-2014-1950 xen: use-after-free in xc_cpupool_getinfo() under memory pressure (XSA-88)
Summary: CVE-2014-1950 xen: use-after-free in xc_cpupool_getinfo() under memory pressu...
Status: CLOSED NOTABUG
Alias: CVE-2014-1950
Product: Security Response
Classification: Other
Component: vulnerability   
(Show other bugs)
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=important,public=20140212,repo...
Keywords: Security
Depends On: 1064491
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-12 17:21 UTC by Vincent Danen
Modified: 2016-03-04 11:20 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-02-12 17:23:50 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Vincent Danen 2014-02-12 17:21:32 UTC
A flaw was reported [1] in Xen version 4.1 and later:


If xc_cpumap_alloc() fails then xc_cpupool_getinfo() will free and incorrectly
return the then-free pointer to the result structure.

An attacker may be able to cause a multi-threaded toolstack using this
function to race against itself leading to heap corruption and a
potential DoS.

Depending on the malloc implementation, privilege escalation cannot be
ruled out.

The flaw is present in Xen 4.1 onwards.  Only multithreaded toolstacks
are vulnerable.  Only systems where management functions (such as
domain creation) are exposed to untrusted users are vulnerable.

xl is not multithreaded, so is not vulnerable.  However, multithreaded
toolstacks using libxl as a library are vulnerable.  xend is
vulnerable.


[1] http://xenbits.xenproject.org/xsa/advisory-88.html


Acknowledgements:

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

Comment 1 Vincent Danen 2014-02-12 17:22:53 UTC
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1064491]

Comment 2 Vincent Danen 2014-02-12 17:23:50 UTC
Statement:

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 2 as we did not have support for Xen hypervisor.


Note You need to log in before you can comment on or make changes to this bug.