diff options
author | Murphy Zhou <jencce.kernel@gmail.com> | 2019-09-21 13:26:00 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-09-24 06:28:59 +0200 |
commit | 63d37fb4ce5ae7bf1e58f906d1bf25f036fe79b2 (patch) | |
tree | 6b113252bb7d07752f61e8983e72fca1649d71aa /fs/cifs/smb2inode.c | |
parent | fs/cifs/sess.c: Remove set but not used variable 'capabilities' (diff) | |
download | linux-63d37fb4ce5ae7bf1e58f906d1bf25f036fe79b2.tar.xz linux-63d37fb4ce5ae7bf1e58f906d1bf25f036fe79b2.zip |
CIFS: fix max ea value size
It should not be larger then the slab max buf size. If user
specifies a larger size, it passes this check and goes
straightly to SMB2_set_info_init performing an insecure memcpy.
Signed-off-by: Murphy Zhou <jencce.kernel@gmail.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
CC: Stable <stable@vger.kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2inode.c')
0 files changed, 0 insertions, 0 deletions