LMB and UEFI memory management not integrated.

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Thu Nov 11 13:26:54 CET 2021


>>>
>>> __lmb_alloc_base() seems not be integrated with the UEFI sub-system. So UEFI
>>> might hand out memory marked as reserved in the LMB sub-system.
> 
> Heinrich, do you plan to work on this?

I am not sure if I will have enough capacity to work on the LMB/UEFI 
integration. But it is surely an issue to be solved.

Best regards

Heinrich

> 
> It would be great if we could finally solve this situation with the
> 2022.01 release.
> 
> Right now Unmatched is probably the only board that doesn't turn off
> the relocation, and thus some people hit the issues.
> 
> Looking at the git history, the LMB issue is fixed in v2022.01-rc1
> only right now. Minus UEFI part, which is/will be important for
> distributions.
> 
> david
> 
>>>
>>> I guess this is still a topic to be addressed.
>>
>> If UEFI can still end up getting U-Boot overwritten, yes, that needs to
>> be addressed.  Only slightly surprised one of the capture-the-flag or
>> similar events hasn't come to us yet with some CVEs related to that,
>> too.
>>
>> --
>> Tom


More information about the U-Boot mailing list