From: Ursula Braun Date: Wed, 6 Nov 2013 08:04:52 +0000 (+0100) Subject: qeth: avoid buffer overflow in snmp ioctl X-Git-Tag: v3.2.54~149 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3e38398c95c83c06c1b8028e406f3aca23ec43d;p=pandora-kernel.git qeth: avoid buffer overflow in snmp ioctl commit 6fb392b1a63ae36c31f62bc3fc8630b49d602b62 upstream. Check user-defined length in snmp ioctl request and allow request only if it fits into a qeth command buffer. Signed-off-by: Ursula Braun Signed-off-by: Frank Blaschka Reviewed-by: Heiko Carstens Reported-by: Nico Golde Reported-by: Fabian Yamaguchi Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed