Re: [PATCH net] openvswitch: fix potential out of bound access in parse_ct

2017-07-24 Thread David Miller
From: Liping Zhang Date: Sun, 23 Jul 2017 17:52:23 +0800 > From: Liping Zhang > > Before the 'type' is validated, we shouldn't use it to fetch the > ovs_ct_attr_lens's minlen and maxlen, else, out of bound access > may happen. > > Fixes: 7f8a436eaa2c ("openvswitch: Add conntrack action") > Sig

Re: [PATCH net] openvswitch: fix potential out of bound access in parse_ct

2017-07-23 Thread Pravin Shelar
On Sun, Jul 23, 2017 at 2:52 AM, Liping Zhang wrote: > From: Liping Zhang > > Before the 'type' is validated, we shouldn't use it to fetch the > ovs_ct_attr_lens's minlen and maxlen, else, out of bound access > may happen. > > Fixes: 7f8a436eaa2c ("openvswitch: Add conntrack action") > Signed-off

[PATCH net] openvswitch: fix potential out of bound access in parse_ct

2017-07-23 Thread Liping Zhang
From: Liping Zhang Before the 'type' is validated, we shouldn't use it to fetch the ovs_ct_attr_lens's minlen and maxlen, else, out of bound access may happen. Fixes: 7f8a436eaa2c ("openvswitch: Add conntrack action") Signed-off-by: Liping Zhang --- net/openvswitch/conntrack.c | 7 +-- 1 f