Re: [ovs-dev] [PATCH] flow: fix sanity check for unexpected ip header length field

2023-10-16 Thread Simon Horman
On Wed, Mar 15, 2023 at 05:11:01PM +0800, Faicker Mo wrote: > Derivation cases of CVE-2020-35498: > 1. invalid ipv4 header total-length field > 2. invalid ipv6 header payload-length field > These may cause unwanted flow to send to datapath. > > > Signed-off-by: Faicker Mo Hi Faiker, This

Re: [ovs-dev] [PATCH] flow: fix sanity check for unexpected ip header length field

2023-03-28 Thread Faicker Mo
(no L3) will drop the valid L3 packet. So this fix does as the kernel datapath does. From: Flavio Leitner Date: 2023-03-27 23:26:27 To: Simon Horman Cc: Faicker Mo ,d...@openvswitch.org,Ilya Maximets Subject: Re: [ovs-dev] [PATCH] flow: fix sanity check for unexpected ip header length

Re: [ovs-dev] [PATCH] flow: fix sanity check for unexpected ip header length field

2023-03-27 Thread Flavio Leitner
On Mon, Mar 27, 2023 at 03:34:52PM +0200, Simon Horman wrote: > On Wed, Mar 15, 2023 at 05:11:01PM +0800, Faicker Mo wrote: > > Derivation cases of CVE-2020-35498: > > 1. invalid ipv4 header total-length field > > 2. invalid ipv6 header payload-length field > > These may cause unwanted flow to

Re: [ovs-dev] [PATCH] flow: fix sanity check for unexpected ip header length field

2023-03-27 Thread Simon Horman
On Wed, Mar 15, 2023 at 05:11:01PM +0800, Faicker Mo wrote: > Derivation cases of CVE-2020-35498: > 1. invalid ipv4 header total-length field > 2. invalid ipv6 header payload-length field > These may cause unwanted flow to send to datapath. > > > Signed-off-by: Faicker Mo I think the immediate

[ovs-dev] [PATCH] flow: fix sanity check for unexpected ip header length field

2023-03-15 Thread Faicker Mo
Derivation cases of CVE-2020-35498: 1. invalid ipv4 header total-length field 2. invalid ipv6 header payload-length field These may cause unwanted flow to send to datapath. Signed-off-by: Faicker Mo --- lib/flow.c | 11 +-- tests/classifier.at | 42