Re: Patch "smb3: when mounting with multichannel include it in requested capabilities" has been added to the 5.4-stable tree

From: Greg KH
Date: Mon May 10 2021 - 04:04:16 EST


On Mon, May 10, 2021 at 09:56:04AM +0200, gregkh@xxxxxxxxxxxxxxxxxxx wrote:
>
> This is a note to let you know that I've just added the patch titled
>
> smb3: when mounting with multichannel include it in requested capabilities
>
> to the 5.4-stable tree which can be found at:
> http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
>
> The filename of the patch is:
> smb3-when-mounting-with-multichannel-include-it-in-requested-capabilities.patch
> and it can be found in the queue-5.4 subdirectory.
>
> If you, or anyone else, feels it should not be added to the stable tree,
> please let <stable@xxxxxxxxxxxxxxx> know about it.
>
>
> >From 679971e7213174efb56abc8fab1299d0a88db0e8 Mon Sep 17 00:00:00 2001
> From: Steve French <stfrench@xxxxxxxxxxxxx>
> Date: Fri, 7 May 2021 18:24:11 -0500
> Subject: smb3: when mounting with multichannel include it in requested capabilities
>
> From: Steve French <stfrench@xxxxxxxxxxxxx>
>
> commit 679971e7213174efb56abc8fab1299d0a88db0e8 upstream.
>
> In the SMB3/SMB3.1.1 negotiate protocol request, we are supposed to
> advertise CAP_MULTICHANNEL capability when establishing multiple
> channels has been requested by the user doing the mount. See MS-SMB2
> sections 2.2.3 and 3.2.5.2
>
> Without setting it there is some risk that multichannel could fail
> if the server interpreted the field strictly.
>
> Reviewed-By: Tom Talpey <tom@xxxxxxxxxx>
> Reviewed-by: Shyam Prasad N <sprasad@xxxxxxxxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx> # v5.8+
> Signed-off-by: Steve French <stfrench@xxxxxxxxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

Oops, nope, dropped from 5.4.y, sorry for the noise.

greg k-h