Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 693524

Summary: multipath may segfault if a failed path comes online after another path fails to remove correctly
Product: Red Hat Enterprise Linux 6 Reporter: Ben Marzinski <bmarzins>
Component: device-mapper-multipathAssignee: Ben Marzinski <bmarzins>
Status: CLOSED DUPLICATE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0CC: agk, bmarzins, ddettke, dwysocha, heinzm, mbroz, prajnoha, prockai, zkabelac
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-16 03:58:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ben Marzinski 2011-04-04 21:14:25 UTC
Description of problem:
If a multipath device is set to group_by_prio, and a path comes online after a multipath device tries to remove a device but fails to reload the device table,
multipathd can segfault.

How reproducible:
No idea.  It can happen in RHEL5, although I don't know how to reliably recreate it.  The faulty code exists in RHEL6 as well, so it should be reproducible there
as well

Steps to Reproduce:
1. setup a group_by_prio multipath device
2. fail a path
3. remove a different path, but keep device-mapper from allowing the table to get reloaded. Not sure how to reliably do this.
3. restore the failed path.
  
Actual results:
multipathd will segfault

Expected results:
multipathd should restore the path.

Additional info:

Comment 1 RHEL Program Management 2011-04-04 21:23:13 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 2 Ben Marzinski 2011-04-15 18:22:23 UTC
*** Bug 695920 has been marked as a duplicate of this bug. ***

Comment 3 Ben Marzinski 2011-04-16 03:58:25 UTC

*** This bug has been marked as a duplicate of bug 696157 ***