[PATCH 0/2] efi_loader: efi_net: Fix net_dp handling

Adriano Cordova adrianox at gmail.com
Fri Dec 6 13:27:12 CET 2024


Fixes commit e55a4acb54e8 ("efi_loader: net: set EFI bootdevice device path to HTTP
when loaded from wget") which generates an use after free, but first it is necessary
to expose efi_reinstall_protocol_interfaces in efi_loader.h, which is done in a
separated patch.

Adriano Cordova (2):
  efi_loader: Expose efi_reinstall_protocol_interface in efi_loader.h
  efi_loader: efi_net: let efi_net_set_dp properly update the device
    path

 include/efi_loader.h          |  5 ++++
 lib/efi_loader/efi_boottime.c |  2 +-
 lib/efi_loader/efi_net.c      | 53 +++++++++++++++++++++++++++++++----
 3 files changed, 53 insertions(+), 7 deletions(-)

-- 
2.43.0



More information about the U-Boot mailing list