]> 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)
commit47b6fdd928ca7bb0ad2851b486d9d76d744faaa6
tree350de14c3b16b0657664b18e4c045a96a4f574c6
parent9c2dc270b2b08fdbe2d8e67b51322061e1e7cbca
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