Bug 360571 - kernel dm: bd_mount_sem counter corruption
Summary: kernel dm: bd_mount_sem counter corruption
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Milan Broz
QA Contact: Martin Jenner
Depends On:
TreeView+ depends on / blocked
Reported: 2007-10-31 17:13 UTC by Milan Broz
Modified: 2013-03-01 04:05 UTC (History)
3 users (show)

Clone Of:
Last Closed: 2008-05-21 15:00:00 UTC

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0314 normal SHIPPED_LIVE Updated kernel packages for Red Hat Enterprise Linux 5.2 2008-05-20 18:43:34 UTC

Description Milan Broz 2007-10-31 17:13:18 UTC
There is bd_mount_sem counter corruption bug in device-mapper,
thaw_bdev() should be called only when freeze_bdev() was called for the

Otherwise, thaw_bdev() will up bd_mount_sem and corrupt the semaphore counter.

see upstream commit of fix:

Comment 1 RHEL Product and Program Management 2007-10-31 17:16:03 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

Comment 3 Don Zickus 2007-12-17 19:37:19 UTC
in 2.6.18-61.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5

Comment 6 errata-xmlrpc 2008-05-21 15:00:00 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.