Re: cifs mount regression in 4.8 and 4.4 stable

From: Seth Forshee
Date: Thu Sep 22 2016 - 11:28:03 EST


On Thu, Sep 22, 2016 at 04:17:09PM +0100, Sachin Prabhu wrote:
> On Thu, 2016-09-22 at 10:09 -0500, Seth Forshee wrote:
> > We've received reports from users of a cifs mount regression in our
> > 4.4-based kernel, e.g. [1]. It is fixed by reverting the follwing
> > commit
> > from 4.8 which was applied to 4.4 stable:
> >
> > Âa6b5058 fs/cifs: make share unaccessible at root level mountable
> >
> > Testing against 4.8-rc7 shows that the problem is present there as
> > well.
> >
> > Thanks,
> > Seth
> >
> > [1] http://bugs.launchpad.net/bugs/1626112
>
> Hello Seth,Â
>
> We have identified some regressions introduced by the mentioned patch
> These include

I saw those, but none of the ones already in Linus's tree fix the
problem.

> a) mounting of DFS shares breaks. The fix is included in Steve's tree
> at
> https://git.samba.org/?p=sfrench/cifs-2.6.git;a=commit;h=de5233745cd59c
> f5853d963ad216067788a87594

However this one isn't in Linus's tree yet.

I'm not certain what circumstances cause the failure, but based on what
I see in dmesg it looks likely that this one is the fix. I'll get some
testing with this applied.

Since the broken patch was applied to stable kernels, all of these
kernels need to receive those fixes as well.

Thanks,
Seth