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 2126714

Summary: Multipath segfault after running newest patched version
Product: Red Hat Enterprise Linux 8 Reporter: ggrimaux
Component: device-mapper-multipathAssignee: Ben Marzinski <bmarzins>
Status: CLOSED ERRATA QA Contact: Lin Li <lilin>
Severity: high Docs Contact:
Priority: high    
Version: 8.2CC: agk, bmarzins, cwei, fboboc, gconsalv, heinzm, jmagrini, ltamagno, msnitzer, prajnoha, zkabelac
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: device-mapper-multipath-0.8.4-34.el8 Doc Type: Bug Fix
Doc Text:
Cause: When paths were removed, multipathd could free the array of matching device config entries for a multipath device, while the device still pointed to it Consequence: multipathd could occasionally crash after path removal Fix: multipathd now makes sure that the device config list no longer points to freed memory. Result: multipathd not longer crashes after path removal
Story Points: ---
Clone Of:
: 2161393 2161394 2161395 2161396 (view as bug list) Environment:
Last Closed: 2023-05-16 08:44:49 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: 2161393, 2161394, 2161395, 2161396    

Description ggrimaux 2022-09-14 10:12:45 UTC
Description of problem:
Client recently updated their RHEL8.2 with this version of multipathd:
https://bugzilla.redhat.com/show_bug.cgi?id=1946940
https://bugzilla.redhat.com/show_bug.cgi?id=2101534

Its installed on many nodes and it just crashed with this:
Sep 13 15:06:25 compute kernel: multipathd[585455]: segfault at 4449 ip 00007fb44d96ea2e sp 00007fb44dd247b8 error 4 in libmultipath.so.0[7fb44d92d000+5c000]
Sep 13 15:06:25 compute kernel: Code: 66 90 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 85 ff 74 06 31 c0 66 89 47 14 c3 f3 0f 1e fa 48 85 f6 74 17 48 85 d2 74 05 <80> 3a 00 75 15 48 c7 06 00 00 00 00 c3 0f 1f 44 00 00 c3 0f 1f 80
Sep 13 15:06:25 compute systemd[1]: multipathd.service: Main process exited, code=killed, status=11/SEGV
Sep 13 15:06:25 compute systemd[1]: multipathd.service: Failed with result 'signal'.

We need your help to see if its related to this new patch/version or its a new issue entirely

Thank you.

Version-Release number of selected component (if applicable):
RHEL8.2
device-mapper-multipath-0.8.3-3.el8_2.5.x86_64              Tue Sep  6 09:35:35 2022
device-mapper-multipath-libs-0.8.3-3.el8_2.5.x86_64         Tue Sep  6 09:35:34 2022


How reproducible:
Happened once so far

Steps to Reproduce:
1. N/A
2.
3.

Actual results:
multipathd crashed

Expected results:
multipathd doesn't crash

Additional info:
We have sosreport from the node where the crash happened

Comment 2 Ben Marzinski 2022-09-14 15:59:22 UTC
You don't happen to have the coredump, do you? This will be much easier to debug if I can see the state it was in when it crashed.

Comment 3 Ben Marzinski 2022-09-14 17:09:23 UTC
It might also be useful to have the device-mapper-multipath-debuginfo package installed.

Comment 29 errata-xmlrpc 2023-05-16 08:44:49 UTC
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 (Moderate: device-mapper-multipath security and bug fix update), 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/RHSA-2023:2948