Skip to contentSkip to conversation

cifs mount regression in 4.8 and 4.4 stable

DISCUSSION Seth Forshee 4 participants 9 messages Sep 22, 2016 – Nov 17, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 4 lines · Seth Forshee

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:

Quoted 8 lines

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

#2 lore raw
In reply to Seth Forshee
Quoted 7 lines · Seth Forshee

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

Quoted 7 lines

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

#3 lore raw
Quoted 14 lines · Sachin Prabhu
Quoted 13 lines · Seth Forshee

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

Quoted 6 lines
Quoted 1 line

[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.

Quoted 4 lines

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

#4 lore raw
Quoted 30 lines · Seth Forshee
Quoted 14 lines · Sachin Prabhu
Quoted 13 lines · Seth Forshee

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

Quoted 6 lines
Quoted 1 line

[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.

Quoted 4 lines

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

Quoted 5 lines

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

#5 lore raw
Quoted 31 lines · Seth Forshee
Quoted 30 lines · Seth Forshee
Quoted 14 lines · Sachin Prabhu
Quoted 13 lines · Seth Forshee

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

Quoted 6 lines
Quoted 1 line

[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.

Quoted 4 lines

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

Quoted 7 lines
Quoted 5 lines

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

#6 lore raw
Quoted 52 lines · Greg Kroah-Hartman
Quoted 51 lines · Seth Forshee
Quoted 48 lines · Seth Forshee
Quoted 20 lines · Sachin Prabhu
Quoted 18 lines · Seth Forshee

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

Quoted 7 lines
Quoted 1 line

[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.

Quoted 7 lines

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.

Quoted 7 lines
Quoted 1 line

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

Quoted 8 lines

thanks,

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

#7 lore raw
Quoted 61 lines · Sachin Prabhu
Quoted 52 lines · Greg Kroah-Hartman
Quoted 51 lines · Seth Forshee
Quoted 48 lines · Seth Forshee
Quoted 20 lines · Sachin Prabhu
Quoted 18 lines · Seth Forshee

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

Quoted 7 lines
Quoted 1 line

[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.

Quoted 7 lines

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.

Quoted 7 lines
Quoted 1 line

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?

Quoted 8 lines

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

#8 lore raw
In reply to Greg Kroah-Hartman

Hi Greg,

Quoted 2 lines · Greg Kroah-Hartman

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,

Signature · 4 lines
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)