From: Andrew Lutomirski Date: Thu, 17 Apr 2014 04:41:34 +0000 (-0700) Subject: net: Fix ns_capable check in sock_diag_put_filterinfo X-Git-Tag: omap-for-v3.16/fixes-against-rc1~214^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78541c1dc60b65ecfce5a6a096fc260219d6784e;p=pandora-kernel.git net: Fix ns_capable check in sock_diag_put_filterinfo The caller needs capabilities on the namespace being queried, not on their own namespace. This is a security bug, although it likely has only a minor impact. Cc: stable@vger.kernel.org Signed-off-by: Andy Lutomirski Acked-by: Nicolas Dichtel Signed-off-by: David S. Miller --- Reading git-diff-tree failed