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

2020-10-06 Thread Patrick Wildt
On Wed, Oct 07, 2020 at 12:45:17AM +0200, Heinrich Schuchardt wrote: > Am 7. Oktober 2020 00:30:51 MESZ schrieb Patrick Wildt : > >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.

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

2020-10-06 Thread Heinrich Schuchardt
Am 7. Oktober 2020 00:30:51 MESZ schrieb Patrick Wildt : >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,

[PATCH] efi_loader: fix use after free in receive path

2020-10-06 Thread Patrick Wildt
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 that provides the packet to an EFI application