[PATCH] efi/arm*: Only register page tables when they exist

Ard Biesheuvel ard.biesheuvel at linaro.org
Wed Jan 17 04:01:01 PST 2018


On 17 January 2018 at 10:19, Will Deacon <will.deacon at arm.com> wrote:
> On Tue, Jan 16, 2018 at 02:08:32PM +0000, Mark Rutland wrote:
>> Currently the arm/arm64 runtime code registers the runtime servies
>> pagetables with ptdump regardless of whether runtime services page
>> tables have been created.
>>
>> As efi_mm.pgd is NULL in these cases, attempting to dump the efi page
>> tables results in a NULL pointer dereference in the ptdump code:
>
> Acked-by: Will Deacon <will.deacon at arm.com>
>
> Ard -- please can you pick this one up?
>

I'll see if I can manage applying it.

-- 
Ard.



More information about the linux-arm-kernel mailing list