summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorMurphy Zhou <jencce.kernel@gmail.com>2019-09-21 19:26:00 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-05 13:14:16 +0200
commitb90f653c964e53808ca94413f37846193682041c (patch)
tree508808888fb97dc997d56c24f9d3276f2ba2193e /security
parentbc3a3e7c695c56d1cbdc18fcf3d1d775e1ba1d60 (diff)
downloadlinux-stable-b90f653c964e53808ca94413f37846193682041c.tar.gz
linux-stable-b90f653c964e53808ca94413f37846193682041c.tar.bz2
linux-stable-b90f653c964e53808ca94413f37846193682041c.zip
CIFS: fix max ea value size
commit 63d37fb4ce5ae7bf1e58f906d1bf25f036fe79b2 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions