summaryrefslogtreecommitdiff
path: root/drivers/net/tap.c
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@openvz.org>2017-10-25 20:16:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-18 13:30:37 +0300
commit6d71d310fc798dd6dc605b241ec69afff691db13 (patch)
treee00bfe44fc5b69b14ecc216f854ca42c067fdd6e /drivers/net/tap.c
parent8ae86594f23b5e42960cf43110fbec9805aa6302 (diff)
downloadlinux-6d71d310fc798dd6dc605b241ec69afff691db13.tar.xz
net/unix: don't show information about sockets from other namespaces
[ Upstream commit 0f5da659d8f1810f44de14acf2c80cd6499623a0 ] socket_diag shows information only about sockets from a namespace where a diag socket lives. But if we request information about one unix socket, the kernel don't check that its netns is matched with a diag socket namespace, so any user can get information about any unix socket in a system. This looks like a bug. v2: add a Fixes tag Fixes: 51d7cccf0723 ("net: make sock diag per-namespace") Signed-off-by: Andrei Vagin <avagin@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/tap.c')
0 files changed, 0 insertions, 0 deletions