]> git.baikalelectronics.ru Git - kernel.git/commit
SMB311: Improve checking of negotiate security contexts
authorSteve French <smfrench@gmail.com>
Mon, 9 Apr 2018 15:47:14 +0000 (10:47 -0500)
committerSteve French <smfrench@gmail.com>
Thu, 12 Apr 2018 21:54:06 +0000 (16:54 -0500)
commit630ae2f16e82c871b6833ee49256ea26d53de6e3
tree350de14c3b16b0657664b18e4c045a96a4f574c6
parent49b8c6d41f5eeab7b56858acdc67a1e9b3941718
SMB311: Improve checking of negotiate security contexts

SMB3.11 crypto and hash contexts were not being checked strictly enough.
Add parsing and validity checking for the security contexts in the SMB3.11
negotiate response.

Signed-off-by: Steve French <smfrench@gmail.com>
CC: Stable <stable@vger.kernel.org>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
fs/cifs/cifsglob.h
fs/cifs/smb2pdu.c
fs/cifs/smb2pdu.h