[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8ebe7877-93d3-dfd0-8ea3-2a4815b4f154@arm.com>
Date: Mon, 14 Oct 2019 18:58:09 +0100
From: James Morse <james.morse@....com>
To: Pavel Tatashin <pasha.tatashin@...een.com>
Cc: jmorris@...ei.org, sashal@...nel.org, linux-kernel@...r.kernel.org,
catalin.marinas@....com, will@...nel.org, steve.capper@....com,
linux-arm-kernel@...ts.infradead.org, marc.zyngier@....com,
vladimir.murzin@....com, mark.rutland@....com, tglx@...utronix.de
Subject: Re: [PATCH] arm64: hibernate: check pgd table allocation
Hi Pavel,
On 14/10/2019 15:48, Pavel Tatashin wrote:
> There is a bug in create_safe_exec_page(), when page table is allocated
> it is not checked that table is allocated successfully:
>
> But it is dereferenced in: pgd_none(READ_ONCE(*pgdp)). Check that
> allocation was successful.
>
> Fixes: 82869ac57b5d ("arm64: kernel: Add support for hibernate/suspend-to-disk")
>
> Signed-off-by: Pavel Tatashin <pasha.tatashin@...een.com>
> ---
Reviewed-by: James Morse <james.morse@....com>
Thanks,
James
Powered by blists - more mailing lists