Bug 460914

Summary: Module reference count leak in multipath
Product: Red Hat Enterprise Linux 5 Reporter: Mikuláš Patočka <mpatocka>
Component: device-mapperAssignee: LVM and device-mapper development team <lvm-team>
Status: CLOSED DUPLICATE QA Contact: Cluster QE <mspqa-list>
Severity: low Docs Contact:
Priority: medium    
Version: 5.3CC: agk, christophe.varoqui, dwysocha, edamato, egoggin, heinzm, jbrassow, junichi.nomura, kueda, lmb, mbroz, prockai, tranlan
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-02 16:56:23 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:
Attachments:
Description Flags
Path for the problem none

Description Mikuláš Patočka 2008-09-02 16:31:43 UTC
Created attachment 315570 [details]
Path for the problem

When the user loads multipath with invalid arguments, there is memory leak and module reference count leak.

Try this:
dmsetup create --table '0 2 multipath 0 0 1 1 round-robin /dev/sdh' mpath0

After the command, the reference count on dm_round_robin is 1, although the module is unused, and it prevents further removal of the whole dm subsystem.

Comment 1 RHEL Program Management 2008-09-02 16:42:52 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 2 Mikuláš Patočka 2008-09-02 16:56:23 UTC

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