diff options
author | Shirish Pargaonkar <shirishpargaonkar@gmail.com> | 2018-06-04 13:46:22 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-06-05 02:19:24 +0200 |
commit | ee25c6dd7b05113783ce1f4fab6b30fc00d29b8d (patch) | |
tree | 0d9f36330c53ae05ffdd630819e298719dcfbbcb /crypto/cts.c | |
parent | CIFS: Fix signing for SMB2/3 (diff) | |
download | linux-ee25c6dd7b05113783ce1f4fab6b30fc00d29b8d.tar.xz linux-ee25c6dd7b05113783ce1f4fab6b30fc00d29b8d.zip |
cifs: For SMB2 security informaion query, check for minimum sized security descriptor instead of sizeof FileAllInformation class
Validate_buf () function checks for an expected minimum sized response
passed to query_info() function.
For security information, the size of a security descriptor can be
smaller (one subauthority, no ACEs) than the size of the structure
that defines FileInfoClass of FileAllInformation.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=199725
Cc: <stable@vger.kernel.org>
Signed-off-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Reviewed-by: Noah Morrison <noah.morrison@rubrik.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'crypto/cts.c')
0 files changed, 0 insertions, 0 deletions