Skip to content
Commit 63d37fb4 authored by Murphy Zhou's avatar Murphy Zhou Committed by Steve French
Browse files

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: default avatarMurphy Zhou <jencce.kernel@gmail.com>
Reviewed-by: default avatarAurelien Aptel <aaptel@suse.com>
CC: Stable <stable@vger.kernel.org>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 8559ad8e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment