[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171026.100648.1957689192376657185.davem@davemloft.net>
Date: Thu, 26 Oct 2017 10:06:48 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: avagin@...nvz.org
Cc: eric.dumazet@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH v2] net/unix: don't show information about sockets from
other namespaces
From: Andrei Vagin <avagin@...nvz.org>
Date: Wed, 25 Oct 2017 10:16:42 -0700
> 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@...nvz.org>
Applied and queued up for -stable, thanks!
Powered by blists - more mailing lists