[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1508938636.30291.115.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Wed, 25 Oct 2017 06:37:16 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Andrei Vagin <avagin@...nvz.org>
Cc: "David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH] net/unix: don't show information about sockets from
other namespaces
On Wed, 2017-10-25 at 00:17 -0700, Andrei Vagin wrote:
> 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.
Then if this a bug please provide a Fixes: tag
This way, we can know exact cutoff for backports.
I suspect that would be
Fixes: 51d7cccf0723 ("net: make sock diag per-namespace")
Thanks.
Powered by blists - more mailing lists