[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190509.093248.252316658138048007.davem@davemloft.net>
Date: Thu, 09 May 2019 09:32:48 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: liuhangbin@...il.com
Cc: netdev@...r.kernel.org, richardcochran@...il.com,
mlichvar@...hat.com, jbenc@...hat.com, mkubecek@...e.cz,
stefan.sorensen@...ctralink.com
Subject: Re: [PATCH net] vlan: disable SIOCSHWTSTAMP in container
From: Hangbin Liu <liuhangbin@...il.com>
Date: Thu, 9 May 2019 14:55:07 +0800
> 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>
Applied and queued up for -stable.
Powered by blists - more mailing lists