Bug 1790725
Summary: | Libvirtd SIGSEGV on the condition that look up by target path '' when there is active pool without target path | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Han Han <hhan> |
Component: | libvirt | Assignee: | Cole Robinson <crobinso> |
Status: | CLOSED ERRATA | QA Contact: | gaojianan <jgao> |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | 8.2 | CC: | berrange, crobinso, dyuan, jdenemar, jgao, jsuchane, lmen, psampaio, xuzhang, yafu |
Target Milestone: | rc | Keywords: | Security |
Target Release: | 8.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-6.0.0-1.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-05-05 09:55:17 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1816650 |
Description
Han Han
2020-01-14 02:37:29 UTC
Step2 should be a locale connection: conn=libvirt.openReadOnly('qemu+ssh:///system') Hi Cole, Since it can cause libvirtd segment fault by readonly connection, do we need to request a CVE and clone it to z stream versions of RHEL7 and RHEL8? Verified on : libvirt-6.0.0-2.virtcov.el8.x86_64 Step: 1.Create different kinds of pool without target element: iscsi-direct pool: <pool type="iscsi-direct"> <name>virtimages</name> <source> <host name="10.66.85.243"/> <device path="iqn.2020-01.com.virttest:blockdev-pool.target6"/> <initiator> <iqn name="iqn.2013-06.com.example:iscsi-initiator"/> </initiator> </source> </pool> gluster pool: <pool type='gluster'> <name>mygluster</name> <uuid>65fcba04-5b13-bd93-cff3-52ce48e11ad8</uuid> <capacity unit='bytes'>0</capacity> <allocation unit='bytes'>0</allocation> <available unit='bytes'>0</available> <source> <host name='$ip'/> <dir path='/'/> <name>jgao-vol2</name> </source> </pool> 2.Try lookup storage pool with target path '' by readonly connection: #!/usr/bin/python3 import libvirt conn=libvirt.openReadOnly('qemu+ssh:///system') conn.storagePoolLookupByTargetPath('') ret = conn.storagePoolLookupByTargetPath('') print(ret) No SIGSEGV found,work as expected Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2017 |