[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190509135231.ivchey4lwpk6emte@localhost>
Date: Thu, 9 May 2019 06:52:31 -0700
From: Richard Cochran <richardcochran@...il.com>
To: Hangbin Liu <liuhangbin@...il.com>
Cc: netdev@...r.kernel.org, Miroslav Lichvar <mlichvar@...hat.com>,
Jiri Benc <jbenc@...hat.com>,
Michal Kubecek <mkubecek@...e.cz>,
David Miller <davem@...emloft.net>,
stefan.sorensen@...ctralink.com
Subject: Re: [PATCH net] vlan: disable SIOCSHWTSTAMP in container
On Thu, May 09, 2019 at 02:55:07PM +0800, Hangbin Liu wrote:
> With NET_ADMIN enabled in container, a normal user could be mapped to
> root and is able to change the real device's rx filter via ioctl on
> vlan, which would affect the other ptp process on host. Fix it by
> disabling SIOCSHWTSTAMP in container.
>
> Fixes: a6111d3c93d0 ("vlan: Pass SIOC[SG]HWTSTAMP ioctls to real device")
> Signed-off-by: Hangbin Liu <liuhangbin@...il.com>
Acked-by: Richard Cochran <richardcochran@...il.com>
Powered by blists - more mailing lists