Bug 717204 - CVE-2011-2511 libvirt: integer overflow in VirDomainGetVcpus [fedora-all]
Summary: CVE-2011-2511 libvirt: integer overflow in VirDomainGetVcpus [fedora-all]
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 14
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: CVE-2011-2511
TreeView+ depends on / blocked
Reported: 2011-06-28 11:27 UTC by Petr Matousek
Modified: 2011-07-22 19:33 UTC (History)
10 users (show)

Fixed In Version: libvirt-0.8.8-7.fc15
Doc Type: Release Note
Doc Text:
Clone Of:
Last Closed: 2011-07-12 04:59:46 UTC
Type: ---

Attachments (Terms of Use)

Description Petr Matousek 2011-06-28 11:27:07 UTC
This is an automatically created tracking bug!  It was created to ensure
that one or more security vulnerabilities are fixed in affected Fedora

For comments that are specific to the vulnerability please use bugs filed
against "Security Response" product referenced in the "Blocks" field.

For more information see:

When creating a Bodhi update request, please include the bug IDs of the
respective parent bugs filed against the "Security Response" product.
Please mention CVE ids in the RPM changelog when available.

Bodhi update submission link:

Please note: this issue affects multiple supported versions of Fedora.
Only one tracking bug has been filed; please only close it when all
affected versions are fixed.

[bug automatically created by: add-tracking-bugs]

Comment 1 Eric Blake 2011-06-28 13:58:36 UTC
Fixed by this upstream patch:

commit 774b21c163845170c9ffa873f5720d318812eaf6
Author: Eric Blake <eblake@redhat.com>
Date:   Fri Jun 24 12:16:05 2011 -0600

    remote: protect against integer overflow
    Integer overflow and remote code are never a nice mix.
    This has existed since commit 56cd414.
    * src/libvirt.c (virDomainGetVcpus): Reject overflow up front.
    * src/remote/remote_driver.c (remoteDomainGetVcpus): Avoid overflow
    on sending rpc.
    * daemon/remote.c (remoteDispatchDomainGetVcpus): Avoid overflow on
    receiving rpc.

F14 and F15 can instead use this backport, to avoid having to update gnulib:

Rawhide will pick up the fix by rebasing to 0.9.3.

Comment 2 Fedora Update System 2011-07-06 15:57:12 UTC
libvirt-0.8.8-7.fc15 has been submitted as an update for Fedora 15.

Comment 3 Fedora Update System 2011-07-06 16:00:18 UTC
libvirt-0.8.3-10.fc14 has been submitted as an update for Fedora 14.

Comment 4 Fedora Update System 2011-07-06 21:31:39 UTC
Package libvirt-0.8.8-7.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libvirt-0.8.8-7.fc15'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2011-07-12 04:59:28 UTC
libvirt-0.8.8-7.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2011-07-22 19:33:57 UTC
libvirt-0.8.3-10.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

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