linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cifs mount regression in 4.8 and 4.4 stable
@ 2016-09-22 15:09 Seth Forshee
  2016-09-22 15:15 ` Greg Kroah-Hartman
  2016-09-22 15:17 ` Sachin Prabhu
  0 siblings, 2 replies; 9+ messages in thread
From: Seth Forshee @ 2016-09-22 15:09 UTC (permalink / raw)
  To: Steve French, Aurelien Aptel
  Cc: Sachin Prabhu, Greg Kroah-Hartman, linux-cifs, linux-kernel, stable

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cifs mount regression in 4.8 and 4.4 stable
  2016-09-22 15:09 cifs mount regression in 4.8 and 4.4 stable Seth Forshee
@ 2016-09-22 15:15 ` Greg Kroah-Hartman
  2016-09-22 15:17 ` Sachin Prabhu
  1 sibling, 0 replies; 9+ messages in thread
From: Greg Kroah-Hartman @ 2016-09-22 15:15 UTC (permalink / raw)
  To: Seth Forshee
  Cc: Steve French, Aurelien Aptel, Sachin Prabhu, linux-cifs,
	linux-kernel, stable

On Thu, Sep 22, 2016 at 10:09:18AM -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

Thanks, I'll wait for the fix to land in Linus's tree before doing
anything in the stable trees.

greg k-h

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cifs mount regression in 4.8 and 4.4 stable
  2016-09-22 15:09 cifs mount regression in 4.8 and 4.4 stable Seth Forshee
  2016-09-22 15:15 ` Greg Kroah-Hartman
@ 2016-09-22 15:17 ` Sachin Prabhu
  2016-09-22 15:27   ` Seth Forshee
  1 sibling, 1 reply; 9+ messages in thread
From: Sachin Prabhu @ 2016-09-22 15:17 UTC (permalink / raw)
  To: Seth Forshee, Steve French, Aurelien Aptel
  Cc: Greg Kroah-Hartman, linux-cifs, linux-kernel, stable

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

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

b) mounting of the same share with different paths breaks. Fixed by
upstream commit	c1d8b24d18192764fe82067ec6aa8d4c3bf094e0

c) memory leaks in mounting fixed by upstream 	4214ebf4654798309
364d0c678b799e402f38288

Can you please share any other reports not mentioned above?

Sachin Prabhu

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cifs mount regression in 4.8 and 4.4 stable
  2016-09-22 15:17 ` Sachin Prabhu
@ 2016-09-22 15:27   ` Seth Forshee
  2016-09-23 12:01     ` Seth Forshee
  0 siblings, 1 reply; 9+ messages in thread
From: Seth Forshee @ 2016-09-22 15:27 UTC (permalink / raw)
  To: Sachin Prabhu
  Cc: Steve French, Aurelien Aptel, Greg Kroah-Hartman, linux-cifs,
	linux-kernel, stable

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cifs mount regression in 4.8 and 4.4 stable
  2016-09-22 15:27   ` Seth Forshee
@ 2016-09-23 12:01     ` Seth Forshee
  2016-11-17  9:47       ` Greg Kroah-Hartman
  0 siblings, 1 reply; 9+ messages in thread
From: Seth Forshee @ 2016-09-23 12:01 UTC (permalink / raw)
  To: Sachin Prabhu
  Cc: Steve French, Aurelien Aptel, Greg Kroah-Hartman, linux-cifs,
	linux-kernel, stable

On Thu, Sep 22, 2016 at 10:27:56AM -0500, Seth Forshee wrote:
> 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.

Looks like this is is the fix we need. Thanks for your help.

Seth

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cifs mount regression in 4.8 and 4.4 stable
  2016-09-23 12:01     ` Seth Forshee
@ 2016-11-17  9:47       ` Greg Kroah-Hartman
  2016-11-17 10:11         ` Sachin Prabhu
  2016-11-17 10:17         ` Aurélien Aptel
  0 siblings, 2 replies; 9+ messages in thread
From: Greg Kroah-Hartman @ 2016-11-17  9:47 UTC (permalink / raw)
  To: Seth Forshee
  Cc: Sachin Prabhu, Steve French, Aurelien Aptel, linux-cifs,
	linux-kernel, stable

On Fri, Sep 23, 2016 at 07:01:45AM -0500, Seth Forshee wrote:
> On Thu, Sep 22, 2016 at 10:27:56AM -0500, Seth Forshee wrote:
> > 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.
> 
> Looks like this is is the fix we need. Thanks for your help.

What ever happened with this?  Did the patch end up in Linus's tree?  If
so, what was the git commit id?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cifs mount regression in 4.8 and 4.4 stable
  2016-11-17  9:47       ` Greg Kroah-Hartman
@ 2016-11-17 10:11         ` Sachin Prabhu
  2016-11-17 10:31           ` Greg Kroah-Hartman
  2016-11-17 10:17         ` Aurélien Aptel
  1 sibling, 1 reply; 9+ messages in thread
From: Sachin Prabhu @ 2016-11-17 10:11 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Seth Forshee
  Cc: Steve French, Aurelien Aptel, linux-cifs, linux-kernel, stable

On Thu, 2016-11-17 at 10:47 +0100, Greg Kroah-Hartman wrote:
> On Fri, Sep 23, 2016 at 07:01:45AM -0500, Seth Forshee wrote:
> > 
> > On Thu, Sep 22, 2016 at 10:27:56AM -0500, Seth Forshee wrote:
> > > 
> > > 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=de5233
> > > > 745cd59c
> > > > 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.
> > 
> > Looks like this is is the fix we need. Thanks for your help.
> 
> What ever happened with this?  Did the patch end up in Linus's
> tree?  If
> so, what 
> was the git commit id?
> 

Hello Greg,

The upstream commit is
Fix regression which breaks DFS mounting
d171356ff11ab1825e456dfb979755e01b3c54a1

This was marked for stable and should have been sent for inclusion in
the stable trees.

Thanks

Sachin Prabhu

> thanks,
> 
> greg k-h
> --
> To unsubscribe from this list: send the line "unsubscribe linux-cifs" 
> in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cifs mount regression in 4.8 and 4.4 stable
  2016-11-17  9:47       ` Greg Kroah-Hartman
  2016-11-17 10:11         ` Sachin Prabhu
@ 2016-11-17 10:17         ` Aurélien Aptel
  1 sibling, 0 replies; 9+ messages in thread
From: Aurélien Aptel @ 2016-11-17 10:17 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Seth Forshee
  Cc: Sachin Prabhu, Steve French, linux-cifs, linux-kernel, stable

Hi Greg,

Greg Kroah-Hartman <gregkh@linuxfoundation.org> writes:
> What ever happened with this?  Did the patch end up in Linus's tree?  If
> so, what was the git commit id?

It did, commit is
d171356ff11ab1825e456dfb979755e01b3c54a1

Cheers,

-- 
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97  8C99 03C8 A49B 521B D5D3
SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cifs mount regression in 4.8 and 4.4 stable
  2016-11-17 10:11         ` Sachin Prabhu
@ 2016-11-17 10:31           ` Greg Kroah-Hartman
  0 siblings, 0 replies; 9+ messages in thread
From: Greg Kroah-Hartman @ 2016-11-17 10:31 UTC (permalink / raw)
  To: Sachin Prabhu
  Cc: Seth Forshee, Steve French, Aurelien Aptel, linux-cifs,
	linux-kernel, stable

On Thu, Nov 17, 2016 at 03:41:44PM +0530, Sachin Prabhu wrote:
> On Thu, 2016-11-17 at 10:47 +0100, Greg Kroah-Hartman wrote:
> > On Fri, Sep 23, 2016 at 07:01:45AM -0500, Seth Forshee wrote:
> > > 
> > > On Thu, Sep 22, 2016 at 10:27:56AM -0500, Seth Forshee wrote:
> > > > 
> > > > 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=de5233
> > > > > 745cd59c
> > > > > 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.
> > > 
> > > Looks like this is is the fix we need. Thanks for your help.
> > 
> > What ever happened with this?  Did the patch end up in Linus's
> > tree?  If
> > so, what 
> > was the git commit id?
> > 
> 
> Hello Greg,
> 
> The upstream commit is
> Fix regression which breaks DFS mounting
> d171356ff11ab1825e456dfb979755e01b3c54a1
> 
> This was marked for stable and should have been sent for inclusion in
> the stable trees.

Ah, good, thanks for this, yes, it's already in the released kernels.

greg k-h

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-11-17 10:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-22 15:09 cifs mount regression in 4.8 and 4.4 stable Seth Forshee
2016-09-22 15:15 ` Greg Kroah-Hartman
2016-09-22 15:17 ` Sachin Prabhu
2016-09-22 15:27   ` Seth Forshee
2016-09-23 12:01     ` Seth Forshee
2016-11-17  9:47       ` Greg Kroah-Hartman
2016-11-17 10:11         ` Sachin Prabhu
2016-11-17 10:31           ` Greg Kroah-Hartman
2016-11-17 10:17         ` Aurélien Aptel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).