linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] efi/arm*: Only register page tables when they exist
       [not found] <20180116140832.26731-1-mark.rutland@arm.com>
@ 2018-01-17 10:19 ` Will Deacon
  2018-01-17 12:01   ` Ard Biesheuvel
  0 siblings, 1 reply; 3+ messages in thread
From: Will Deacon @ 2018-01-17 10:19 UTC (permalink / raw)
  To: linux-arm-kernel

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@arm.com>

Ard -- please can you pick this one up?

Cheers,

Will

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] efi/arm*: Only register page tables when they exist
  2018-01-17 10:19 ` [PATCH] efi/arm*: Only register page tables when they exist Will Deacon
@ 2018-01-17 12:01   ` Ard Biesheuvel
  2018-01-23 18:50     ` Ard Biesheuvel
  0 siblings, 1 reply; 3+ messages in thread
From: Ard Biesheuvel @ 2018-01-17 12:01 UTC (permalink / raw)
  To: linux-arm-kernel

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

I'll see if I can manage applying it.

-- 
Ard.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] efi/arm*: Only register page tables when they exist
  2018-01-17 12:01   ` Ard Biesheuvel
@ 2018-01-23 18:50     ` Ard Biesheuvel
  0 siblings, 0 replies; 3+ messages in thread
From: Ard Biesheuvel @ 2018-01-23 18:50 UTC (permalink / raw)
  To: linux-arm-kernel

On 17 January 2018 at 12:01, Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote:
> On 17 January 2018 at 10:19, Will Deacon <will.deacon@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@arm.com>
>>
>> Ard -- please can you pick this one up?
>>
>
> I'll see if I can manage applying it.
>

Applied for -next, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-23 18:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20180116140832.26731-1-mark.rutland@arm.com>
2018-01-17 10:19 ` [PATCH] efi/arm*: Only register page tables when they exist Will Deacon
2018-01-17 12:01   ` Ard Biesheuvel
2018-01-23 18:50     ` Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).