Re: [PATCH v4.14.x] net: erspan: fix use-after-free

2019-05-29 Thread William Tu
On Tue, May 28, 2019 at 5:56 PM Greg KH wrote: > > On Tue, May 28, 2019 at 05:14:21PM -0700, Christoph Paasch wrote: > > On 28/05/19 - 17:07:44, Greg KH wrote: > > > On Tue, May 28, 2019 at 05:01:13PM -0700, Christoph Paasch wrote: > > > > When building the erspan header for either v1 or v2, the e

Re: [PATCH v4.14.x] net: erspan: fix use-after-free

2019-05-28 Thread Greg KH
On Tue, May 28, 2019 at 05:14:21PM -0700, Christoph Paasch wrote: > On 28/05/19 - 17:07:44, Greg KH wrote: > > On Tue, May 28, 2019 at 05:01:13PM -0700, Christoph Paasch wrote: > > > When building the erspan header for either v1 or v2, the eth_hdr() > > > does not point to the right inner packet's

Re: [PATCH v4.14.x] net: erspan: fix use-after-free

2019-05-28 Thread Christoph Paasch
On 28/05/19 - 17:07:44, Greg KH wrote: > On Tue, May 28, 2019 at 05:01:13PM -0700, Christoph Paasch wrote: > > When building the erspan header for either v1 or v2, the eth_hdr() > > does not point to the right inner packet's eth_hdr, > > causing kasan report use-after-free and slab-out-of-bouds rea

Re: [PATCH v4.14.x] net: erspan: fix use-after-free

2019-05-28 Thread Greg KH
On Tue, May 28, 2019 at 05:01:13PM -0700, Christoph Paasch wrote: > When building the erspan header for either v1 or v2, the eth_hdr() > does not point to the right inner packet's eth_hdr, > causing kasan report use-after-free and slab-out-of-bouds read. > > The patch fixes the following syzkaller