[PATCH 1/2] efi: loader: in-place patch the runtime services on ExitBootServices
Sascha Hauer
s.hauer at pengutronix.de
Tue Oct 20 06:59:10 PDT 2026
On Sat, 17 Oct 2026 13:50:14 +0200, Ahmad Fatoum wrote:
> ExitBootServices() repoints systab->runtime at a separate table with the
> detached runtime services. If an EFI application caches RT, it may end
> up calling into the stale boot-time runtime services object.
>
> Fix this by keeping the systab->runtime pointer the same and do a
> "deep copy" by rewriting the object including its callbacks instead.
>
> [...]
Applied, thanks!
[1/2] efi: loader: in-place patch the runtime services on ExitBootServices
https://git.pengutronix.de/cgit/barebox/commit/?id=ccf7ea6dd236 (link may not be stable)
[2/2] efi: runtime: accept 1:1 mappings in SetVirtualAddressMap
https://git.pengutronix.de/cgit/barebox/commit/?id=fa86dd3e46ef (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list