Bug 996241 - (CVE-2013-4239) CVE-2013-4239 libvirt: memory corruption in xenDaemonListDefinedDomains function
CVE-2013-4239 libvirt: memory corruption in xenDaemonListDefinedDomains function
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 996243 996244
Blocks: 996246
  Show dependency treegraph
Reported: 2013-08-12 14:16 EDT by Petr Matousek
Modified: 2015-10-15 16:43 EDT (History)
12 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-08-12 14:22:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Petr Matousek 2013-08-12 14:16:04 EDT
Commit 632180d1 introduced memory corruption in xenDaemonListDefinedDomains() by starting to populate the names array at index -1, causing all sorts of havoc in libvirtd such as aborts like the following

*** Error in `/usr/sbin/libvirtd': double free or corruption (out): 0x00007fffe00ccf20 ***

The xenDaemonListDefinedDomains() function is reached by the virConnectListDefinedDomains() public API, which can be used on read-only connections.

Introduced in:
libvirt v1.1.1

Introduced by:

Fixed by:
Comment 2 Petr Matousek 2013-08-12 14:21:33 EDT
Created libvirt tracking bugs for this issue:

Affects: fedora-all [bug 996244]
Comment 3 Petr Matousek 2013-08-12 14:22:01 EDT

Not vulnerable.

This issue did not affect the versions of libvirt package as shipped with Red Hat Enterprise Linux 5 and 6.
Comment 4 Vincent Danen 2013-08-12 20:18:10 EDT
This was assigned CVE-2013-4239:


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