RHEL8: cifs share hangs after reconnect with processes in D-state - deadlock between cifs_mark_open_files_invalid and open_shroot

Solution Verified - Updated -


A cifs share hangs with processes stuck in D-state after a network or SMB server disruption that causes the cifs client to reconnect.
Note that many conditions can cause a cifs share to hang. For specific signature of this problem, please see Diagnostic Steps.


  • Red Hat Enterprise Linux 8
    • seen on 4.18.0-147.el8
  • cifs
  • some network or SMB server event that causes cifs client to reconnect

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In