From: Dan Carpenter Date: Wed, 22 Oct 2014 14:23:07 +0000 (+0300) Subject: staging: lustre: validate size in ll_setxattr() X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~706 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87ebccf97f54fe20c0a8a86e21164473cc7d57e1;p=pandora-kernel.git staging: lustre: validate size in ll_setxattr() If size is smaller than the lov_user_md struct then we are reading beyond the end of the buffer. I guess this is an information leak or it could cause an Oops if the memory is not mapped. Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed