From: Thomas Graf Date: Wed, 26 Nov 2014 12:42:17 +0000 (+0100) Subject: net: Validate IFLA_BRIDGE_MODE attribute length X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~65^2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7c1a314112785c319b2ba2dc8e73497714e42a1;p=pandora-kernel.git net: Validate IFLA_BRIDGE_MODE attribute length Payload is currently accessed blindly and may exceed valid message boundaries. Fixes: a77dcb8c8 ("be2net: set and query VEB/VEPA mode of the PF interface") Fixes: 815cccbf1 ("ixgbe: add setlink, getlink support to ixgbe and ixgbevf") Cc: Ajit Khaparde Cc: John Fastabend Signed-off-by: Thomas Graf Acked-by: Jeff Kirsher Acked-by: John Fastabend Signed-off-by: David S. Miller --- Reading git-diff-tree failed