Re: [PATCH v3 2/2] efi_loader: fix use after free in receive path

2020-11-20 Thread Patrick Wildt
On Fri, Nov 20, 2020 at 06:31:52PM -0500, Tom Rini wrote: > On Fri, Nov 20, 2020 at 11:56:27PM +0100, Patrick Wildt wrote: > > Am Wed, Oct 07, 2020 at 03:26:38PM +0200 schrieb Heinrich Schuchardt: > > > On 07.10.20 11:04, Patrick Wildt wrote: > > > > With DM enabled the ethernet code will receive a

Re: [PATCH v3 2/2] efi_loader: fix use after free in receive path

2020-11-20 Thread Tom Rini
On Fri, Nov 20, 2020 at 11:56:27PM +0100, Patrick Wildt wrote: > Am Wed, Oct 07, 2020 at 03:26:38PM +0200 schrieb Heinrich Schuchardt: > > On 07.10.20 11:04, Patrick Wildt wrote: > > > With DM enabled the ethernet code will receive a packet, call > > > the push method that's set by the EFI network

Re: [PATCH v3 2/2] efi_loader: fix use after free in receive path

2020-11-20 Thread Patrick Wildt
Am Wed, Oct 07, 2020 at 03:26:38PM +0200 schrieb Heinrich Schuchardt: > On 07.10.20 11:04, Patrick Wildt wrote: > > With DM enabled the ethernet code will receive a packet, call > > the push method that's set by the EFI network implementation > > and then free the packet. Unfortunately the push me

Re: [PATCH v3 2/2] efi_loader: fix use after free in receive path

2020-10-07 Thread Heinrich Schuchardt
On 07.10.20 11:04, Patrick Wildt wrote: > With DM enabled the ethernet code will receive a packet, call > the push method that's set by the EFI network implementation > and then free the packet. Unfortunately the push methods only > sets a flag that the packet needs to be handled, but the code > t