Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 689699 - Deadlock between device driver attachment and device removal with a USB device [rhel-5.6.z]
Deadlock between device driver attachment and device removal with a USB devic...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel (Show other bugs)
5.5
All Linux
urgent Severity urgent
: rc
: ---
Assigned To: Phillip Lougher
Red Hat Kernel QE team
: ZStream
Depends On: 637930
Blocks: 568128
  Show dependency treegraph
 
Reported: 2011-03-22 04:02 EDT by RHEL Product and Program Management
Modified: 2011-06-02 09:24 EDT (History)
11 users (show)

See Also:
Fixed In Version: kernel-2.6.18-238.10.1.el5
Doc Type: Bug Fix
Doc Text:
Under certain circumstances, a deadlock could occur between the khubd process of the USB stack and the modprobe of the usb-storage module. This was because the khubd process, when attempting to delete a usb device, waited for the reference count of knode_bus to be of value 0. However, modprobe, when loading the usb-storage module, scans all USB devices and increments the reference count, preventing the khubd process to continue. With this update, the underlying source code has been modified to address this issue, and a deadlock no longer occurs in the aforementioned case.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-05-31 10:07:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0833 normal SHIPPED_LIVE Important: kernel security and bug fix update 2011-05-31 10:05:42 EDT

  None (edit)
Description RHEL Product and Program Management 2011-03-22 04:02:53 EDT
This bug has been copied from bug #637930 and has been proposed
to be backported to 5.6 z-stream (EUS).
Comment 3 Phillip Lougher 2011-04-15 11:04:57 EDT
in kernel-2.6.18-238.10.1.el5

linux-2.6-misc-pm-add-comment-explaining-is_registered-kabi-work-around.patch
linux-2.6-base-fix-potential-deadlock-in-driver-core.patch
Comment 6 errata-xmlrpc 2011-05-31 10:07:14 EDT
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 therefore 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.

http://rhn.redhat.com/errata/RHSA-2011-0833.html
Comment 7 Martin Prpič 2011-06-02 09:24:01 EDT
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Under certain circumstances, a deadlock could occur between the khubd process of the USB stack and the modprobe of the usb-storage module. This was because the khubd process, when attempting to delete a usb device, waited for the reference count of knode_bus to be of value 0. However, modprobe, when loading the usb-storage module, scans all USB devices and increments the reference count, preventing the khubd process to continue. With this update, the underlying source code has been modified to address this issue, and a deadlock no longer occurs in the aforementioned case.

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