Re: [ovs-discuss] [ovs-dev] [PATCH] datapath: fix crash when ipv6 fragment pkt recalculate L4 checksum

2021-12-09 Thread Tonghao Zhang
On Fri, Dec 10, 2021 at 10:59 AM zhounan (E) via discuss wrote: > > From: Zhou Nan > > When we set ipv6 addr, we need to recalculate checksum of L4 header. > In our testcase, after send ipv6 fragment package, KASAN detect "use after > free" when calling function update_ipv6_checksum, and crash o

[ovs-discuss] [ovs-dev] [PATCH] datapath: fix crash when ipv6 fragment pkt recalculate L4 checksum

2021-12-09 Thread zhounan (E) via discuss
From: Zhou Nan When we set ipv6 addr, we need to recalculate checksum of L4 header. In our testcase, after send ipv6 fragment package, KASAN detect "use after free" when calling function update_ipv6_checksum, and crash occurred after a while. If ipv6 package is fragment, and it is not first seg

Re: [ovs-discuss] [ovs-dev] [PATCH] datapath: fix crash when ipv6 fragment pkt recalculate L4 checksum

2021-12-06 Thread Gregory Rose
On 11/30/2021 10:16 PM, zhounan (E) via dev wrote: From: Zhou Nan When we set ipv6 addr, we need to recalculate checksum of L4 header. In our testcase, after send ipv6 fragment package, KASAN detect "use after free" when calling function update_ipv6_checksum, and crash occurred after a whil

[ovs-discuss] [ovs-dev] [PATCH] datapath: fix crash when ipv6 fragment pkt recalculate L4 checksum

2021-12-01 Thread zhounan (E) via discuss
From: Zhou Nan When we set ipv6 addr, we need to recalculate checksum of L4 header. In our testcase, after send ipv6 fragment package, KASAN detect "use after free" when calling function update_ipv6_checksum, and crash occurred after a while. If ipv6 package is fragment, and it is not first seg