WSL2-Linux-Kernel/fs/cifs
Shirish Pargaonkar ffb179cfbc cifs: For SMB2 security informaion query, check for minimum sized security descriptor instead of sizeof FileAllInformation class
commit ee25c6dd7b upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-26 08:06:31 +08:00
..
Kconfig CIFS: add sha512 secmech 2018-04-24 09:36:27 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
asn1.c
cache.c fscache: remove unused ->now_uncached callback 2017-09-06 17:27:26 -07:00
cifs_debug.c [SMB3] Update session and share information displayed for debugging SMB2/SMB3 2017-09-20 16:46:49 -05:00
cifs_debug.h
cifs_dfs_ref.c
cifs_fs_sb.h
cifs_ioctl.h
cifs_spnego.c
cifs_spnego.h
cifs_unicode.c [SMB3] Remove ifdef since SMB3 (and later) now STRONGLY preferred 2017-07-08 18:57:07 -05:00
cifs_unicode.h [SMB3] Remove ifdef since SMB3 (and later) now STRONGLY preferred 2017-07-08 18:57:07 -05:00
cifs_uniupr.h
cifsacl.c
cifsacl.h cifs: For SMB2 security informaion query, check for minimum sized security descriptor instead of sizeof FileAllInformation class 2018-06-26 08:06:31 +08:00
cifsencrypt.c CIFS: fix sha512 check in cifs_crypto_secmech_release 2018-04-24 09:36:27 +02:00
cifsfs.c smb3: directory sync should not return an error 2018-05-16 10:10:30 +02:00
cifsfs.h Update version of cifs module 2017-09-17 23:10:48 -05:00
cifsglob.h CIFS: add sha512 secmech 2018-04-24 09:36:27 +02:00
cifspdu.h
cifsproto.h CIFS: refactor crypto shash/sdesc allocation&free 2018-04-24 09:36:27 +02:00
cifssmb.c cifs: silence compiler warnings showing up with gcc-8.0.0 2018-04-26 11:02:18 +02:00
connect.c CIFS: zero sensitive data when freeing 2018-02-16 20:22:43 +01:00
dir.c cifs: do not allow creating sockets except with SMB1 posix exensions 2018-04-26 11:02:01 +02:00
dns_resolve.c
dns_resolve.h
export.c
file.c cifs: Fix missing put_xid in cifs_file_strict_mmap 2018-02-16 20:22:43 +01:00
fscache.c
fscache.h
inode.c smb3: Fix root directory when server returns inode number of zero 2018-04-24 09:36:26 +02:00
ioctl.c [SMB3] Remove ifdef since SMB3 (and later) now STRONGLY preferred 2017-07-08 18:57:07 -05:00
link.c CIFS: refactor crypto shash/sdesc allocation&free 2018-04-24 09:36:27 +02:00
misc.c CIFS: refactor crypto shash/sdesc allocation&free 2018-04-24 09:36:27 +02:00
netmisc.c
nterr.c
nterr.h
ntlmssp.h
readdir.c
rfc1002pdu.h
sess.c
smb1ops.c CIFS: Improve readdir verbosity 2017-06-20 19:13:47 -05:00
smb2file.c
smb2glob.h
smb2inode.c
smb2maperror.c cifs: handle large EA requests more gracefully in smb2+ 2017-10-18 11:52:39 -05:00
smb2misc.c
smb2ops.c CIFS: 511c54a2f6 adds a check for session expiry 2018-06-26 08:06:31 +08:00
smb2pdu.c cifs: For SMB2 security informaion query, check for minimum sized security descriptor instead of sizeof FileAllInformation class 2018-06-26 08:06:31 +08:00
smb2pdu.h CIFS: SMBD: Fix the definition for SMB2_CHANNEL_RDMA_V1_INVALIDATE 2017-10-18 11:52:39 -05:00
smb2proto.h CIFS: add sha512 secmech 2018-04-24 09:36:27 +02:00
smb2status.h
smb2transport.c CIFS: add sha512 secmech 2018-04-24 09:36:27 +02:00
smbencrypt.c CIFS: refactor crypto shash/sdesc allocation&free 2018-04-24 09:36:27 +02:00
smberr.h
smbfsctl.h
transport.c cifs: Do not modify mid entry after submitting I/O in cifs_call_async 2017-07-05 19:58:08 -05:00
winucase.c
xattr.c cifs: Add support for writing attributes on SMB2+ 2017-09-04 14:03:45 -05:00