[PATCH master] efi: loader: avoid NULL image file paths

Sascha Hauer s.hauer at pengutronix.de
Mon Jun 15 06:46:47 PDT 2026


On Mon, 15 Jun 2026 15:37:37 +0200, Ahmad Fatoum wrote:
> Booting an EFI application directly from a raw block device creates
> a device path without a file path node. efi_dp_split_file_path()
> propagated this as a NULL file path, which was then exposed through
> the Loaded Image Protocol.
> 
> The EDK2 shell dereferences LoadedImage->FilePath while looking
> for startup.nsh and crashed barebox after the countdown.
> 
> [...]

Applied, thanks!

[1/1] efi: loader: avoid NULL image file paths
      https://git.pengutronix.de/cgit/barebox/commit/?id=b9e581c97389 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list