Bug 1457288
Summary: | SIGABRT of mulitpathd caused by double free of 'show maps json' | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Gris Ge <fge> |
Component: | device-mapper-multipath | Assignee: | Ben Marzinski <bmarzins> |
Status: | CLOSED ERRATA | QA Contact: | Lin Li <lilin> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.4 | CC: | agk, bmarzins, heinzm, lilin, msnitzer, prajnoha |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | device-mapper-multipath-0.4.9-112.el7 | Doc Type: | Bug Fix |
Doc Text: |
Cause: Mutipathd wasn't allocating any space for a reply if "multipathd show maps json" was called and there were no multipath devices.
Consequence: Multipathd was crashing when "multipathd show maps json" was called and there were no multipath devices.
Fix: Multipathd now allocates space for a reply when there are no devices
Result: Multipathd no longer crashes when "multipathd show maps json" is called and there are no multipath devices.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-10 16:10:28 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: | 1469559 |
Description
Gris Ge
2017-05-31 13:06:33 UTC
This actually happens if you run # multipathd show maps json When there are no multipath devices. I have a fix, but I'm not sure that this is worthy of an exception. The fix is simple, but the workaround is to not do this when there are no multipath devices. Multipath now correctly handles the case where there are no multipath maps when # multipathd show maps json is run 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/RHEA-2018:0884 |