[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190509.093238.2091917195965818479.davem@davemloft.net>
Date: Thu, 09 May 2019 09:32:38 -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
Subject: Re: [PATCH net] macvlan: disable SIOCSHWTSTAMP in container
From: Hangbin Liu <liuhangbin@...il.com>
Date: Thu, 9 May 2019 14:54:08 +0800
> Miroslav pointed that 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 macvlan, which would affect the other ptp process on
> host. Fix it by disabling SIOCSHWTSTAMP in container.
>
> Fixes: 254c0a2bfedb ("macvlan: pass get_ts_info and SIOC[SG]HWTSTAMP ioctl to real device")
> Signed-off-by: Hangbin Liu <liuhangbin@...il.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists