[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <41Z4h573nxz9s7c@ozlabs.org>
Date: Tue, 24 Jul 2018 01:11:17 +1000 (AEST)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Christophe Leroy <christophe.leroy@....fr>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: powerpc/8xx: fix handling of early NULL pointer dereference
On Fri, 2018-07-13 at 13:10:47 UTC, Christophe Leroy wrote:
> NULL pointers are pointers to user memory space. So user pagetable
> has to be set in order to avoid random behaviour in case of NULL
> pointer dereference, otherwise we may encounter random memory
> access hence Machine Check Exception from TLB Miss handlers.
>
> Set user pagetable as early as possible in order to properly
> catch early kernel NULL pointer dereference.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@....fr>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/8c8c10b90d88bfaad41ea34df17bf6
cheers
Powered by blists - more mailing lists