Bug 1012582 (CVE-2013-4371) - CVE-2013-4371 xen: use-after-free in libxl_list_cpupool under memory pressure (XSA-70)
Summary: CVE-2013-4371 xen: use-after-free in libxl_list_cpupool under memory pressure...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2013-4371
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1017843
Blocks: 1012558
TreeView+ depends on / blocked
 
Reported: 2013-09-26 16:38 UTC by Vincent Danen
Modified: 2019-09-29 13:08 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-26 16:39:09 UTC


Attachments (Terms of Use)

Description Vincent Danen 2013-09-26 16:38:35 UTC
If realloc(3) fails then libxl_list_cpupool will incorrectly return
the now-free original pointer.

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

Depending on the malloc implementation code execution cannot be ruled
out.


Acknowledgements:

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

Comment 1 Vincent Danen 2013-09-26 16:39:09 UTC
Statement:

Not vulnerable.

This issue does not affect the versions of the xen package as shipped with Red Hat Enterprise Linux 5 as it does not provide support for the libxl toolstack.

This issue does not affect Red Hat Enterprise Linux 6 and Red Hat Enterprise MRG 2.

Comment 2 Vincent Danen 2013-10-10 15:40:19 UTC
External References:

http://xenbits.xen.org/xsa/advisory-70.html

Comment 3 Vincent Danen 2013-10-10 15:41:58 UTC
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1017843]


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