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:

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 ***