Re: [Patch net] xt_cgroup: initialize info->priv in cgroup_mt_check_v1()

2018-02-02 Thread Pablo Neira Ayuso
On Wed, Jan 31, 2018 at 03:02:47PM -0800, Cong Wang wrote: > xt_cgroup_info_v1->priv is an internal pointer only used for kernel, > we should not trust what user-space provides. Applied, thanks Cong.

[Patch net] xt_cgroup: initialize info->priv in cgroup_mt_check_v1()

2018-01-31 Thread Cong Wang
xt_cgroup_info_v1->priv is an internal pointer only used for kernel, we should not trust what user-space provides. Reported-by: Fixes: c38c4597e4bf ("netfilter: implement xt_cgroup cgroup2 path match") Cc: Pablo Neira Ayuso