Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1172569 - (CVE-2014-8131) CVE-2014-8131 libvirt: deadlock and segfault in qemuConnectGetAllDomainStats
CVE-2014-8131 libvirt: deadlock and segfault in qemuConnectGetAllDomainStats
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20141205,reported=2...
: Security
Depends On: 1172570 1172571
Blocks: 1172575
  Show dependency treegraph
 
Reported: 2014-12-10 06:39 EST by Petr Matousek
Modified: 2015-02-14 22:06 EST (History)
23 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-12-10 06:40:08 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Petr Matousek 2014-12-10 06:39:34 EST
When user doesn't have read access on one of the domains he requested,
the for loop in qemuConnectGetAllDomainStats() could exit abruptly or
continue and override pointer which pointed to locked object.

With certain configuration, this can either cause a deadlock (it leaves a
domain locked) or a segmentation fault when domain object has its reference
counter decremented when it was not incremented.

With certain configuration, a remote attacker able to establish a read-only
connection to libvirtd could use this flaw to caus denial of service condition
or crash libvirtd.

Introduced by:

http://libvirt.org/git/?p=libvirt.git;a=commit;h=d1bde8ed
http://libvirt.org/git/?p=libvirt.git;a=commit;h=1f4831ee

Upstream patches:
https://www.redhat.com/archives/libvir-list/2014-December/msg00551.html
https://www.redhat.com/archives/libvir-list/2014-December/msg00600.html
Comment 1 Petr Matousek 2014-12-10 06:40:08 EST
Statement:

Not vulnerable.

This issue does not affect the versions of libvirt packages as shipped with
Red Hat Enterprise Linux 5, 6 and 7.
Comment 3 Petr Matousek 2014-12-10 06:40:57 EST
Created libvirt tracking bugs for this issue:

Affects: fedora-all [bug 1172571]
Comment 4 Petr Matousek 2015-01-05 05:00:33 EST
Upstream advisory:

http://security.libvirt.org/2014/0008.html
Comment 5 Fedora Update System 2015-02-14 22:06:51 EST
libvirt-1.2.9.2-1.fc21 has been pushed to the Fedora 21 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.