Fwd: [Bug 201869] New: CIFS: block on llistxattr for SMB1

Jeremy Allison jra at samba.org
Wed Dec 12 16:54:29 UTC 2018


On Wed, Dec 12, 2018 at 07:54:44AM +0100, Volker Lendecke wrote:
> On Tue, Dec 11, 2018 at 01:26:49PM -0800, Jeremy Allison via samba-technical wrote:
> > On Mon, Dec 10, 2018 at 10:19:39AM +0800, 冯小丽 wrote:
> > > Re-send the smb log again because send it to samba-technical@ failed.
> > 
> > As Steve already confirmed, smbd is blocking inside
> > a call into the client-mounted filesystem on cifsfs.
> > 
> > Cifsfs shouldn't block on system calls. This is a
> > cifsf client bug, not an smbd bug.
> 
> Is that cifsfs mounting from a NetApp? Like 10 years ago I found a bug
> in NetApp server replying to listxattr with 39 bytes of complete
> garbage. NetApp did not accept this as a defect because cifsfs is not
> on their list of supported clients. I ended up with a customer
> specific patch disabling listxattr completely. So if it's a NetApp,
> don't mount with cifsfs, go directly to NetApp with your supported
> clients.

No, this is a loopback mount where someone is using Samba
to re-export an SMB2 share mounted with cifsfs.

I repeat, syscalls shouldn't block :-).



More information about the samba-technical mailing list