ACK: [SRU][E/D/B/X][PATCH] CIFS: Fix NULL-pointer dereference in smb2_push_mandatory_locks
Connor Kuehl
connor.kuehl at canonical.com
Fri Dec 20 18:47:56 UTC 2019
On 12/18/19 11:03 PM, Juerg Haefliger wrote:
> From: Pavel Shilovsky <pshilov at microsoft.com>
>
> BugLink: https://bugs.launchpad.net/bugs/1856949
>
> Fix this by reordering initialization steps of the cifsFileInfo
> structure: initialize all the fields first and then add the new
> byte-range lock list to the inode's lock list.
>
> Cc: Stable <stable at vger.kernel.org>
> Signed-off-by: Pavel Shilovsky <pshilov at microsoft.com>
> Reviewed-by: Aurelien Aptel <aaptel at suse.com>
> Signed-off-by: Steve French <stfrench at microsoft.com>
> Signed-off-by: Juerg Haefliger <juergh at canonical.com>
Acked-by: Connor Kuehl <connor.kuehl at canonical.com>
More information about the kernel-team
mailing list