]> www.infradead.org Git - users/jedix/linux-maple.git/commit
CIFS: Enable encryption during session setup phase
authorPavel Shilovsky <pshilov@microsoft.com>
Tue, 8 Nov 2016 02:20:50 +0000 (18:20 -0800)
committerBrian Maly <brian.maly@oracle.com>
Wed, 27 Mar 2019 18:57:14 +0000 (14:57 -0400)
commitfb80d51a920d89bfbc7db673978049dac37140d8
tree58163e99a7580d8700f53ef9980462036293b05e
parent59e53618868ba3a7518ab2c07860c9256daebcdc
CIFS: Enable encryption during session setup phase

In order to allow encryption on SMB connection we need to exchange
a session key and generate encryption and decryption keys.

Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
(cherry picked from commit cabfb3680f78981d26c078a26e5c748531257ebb)

Orabug: 29338239
CVE: CVE-2018-1066

Signed-off-by: John Donnelly <John.P.Donnelly@oracle.com>
Reviewed-by: Allen Pais <allen.pais@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Conflicts:
fs/cifs/smb2pdu.c

Signed-off-by: Brian Maly <brian.maly@oracle.com>
fs/cifs/sess.c
fs/cifs/smb2pdu.c