smb: client: fix potential OOB in cifs_dump_detail()
commit b50492b0 upstream. Validate SMB message with ->check_message() before calling ->calc_smb_size(). Signed-off-by:Paulo Alcantara (SUSE) <pc@manguebit.com> Cc: stable@vger.kernel.org Signed-off-by:
Steve French <stfrench@microsoft.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment