diff options
author | Andrew Lutomirski <luto@amacapital.net> | 2014-04-16 21:41:34 -0700 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-05-29 11:49:17 +0200 |
commit | 6bebcc8d95669e32c9ac6e836e985ae50392ae23 (patch) | |
tree | 8979a19a4ad30347aa28a1827152815ddfb029e0 /include/rxrpc | |
parent | 88830f227a1f96e44d82ddfcb0cc81d517ec6dd8 (diff) |
net: Fix ns_capable check in sock_diag_put_filterinfo
[ Upstream commit 78541c1dc60b65ecfce5a6a096fc260219d6784e ]
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 <luto@amacapital.net>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'include/rxrpc')
0 files changed, 0 insertions, 0 deletions