summaryrefslogtreecommitdiff
path: root/fs/cifs/smb2inode.c
diff options
context:
space:
mode:
authorMurphy Zhou <jencce.kernel@gmail.com>2019-09-21 14:26:00 +0300
committerSteve French <stfrench@microsoft.com>2019-09-24 07:28:59 +0300
commit63d37fb4ce5ae7bf1e58f906d1bf25f036fe79b2 (patch)
tree6b113252bb7d07752f61e8983e72fca1649d71aa /fs/cifs/smb2inode.c
parent8559ad8e89185ca55d8c9ef1e0b20f58578a4055 (diff)
downloadlinux-63d37fb4ce5ae7bf1e58f906d1bf25f036fe79b2.tar.xz
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