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

From: Ard Biesheuvel
Date: Wed Jan 17 2018 - 07:01:07 EST


On 17 January 2018 at 10:19, Will Deacon <will.deacon@xxxxxxx> 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@xxxxxxx>
>
> Ard -- please can you pick this one up?
>

I'll see if I can manage applying it.

--
Ard.