Currently in some error code paths in the DH reconnect code we leave stale sharemode entries around that can lead to all sorts of havoc.
Note, one way I've seen this happen is with a custom private VFS module stack that causes incorrect stat info in the cookie compared to the result from SMB_VFS_FSTAT() in the reconnect function. Have patch, need bugnumber.