[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <09d3b1ac-01ab-ba8b-014a-8db8c58bfc45@huawei.com>
Date: Tue, 1 Jun 2021 21:29:25 +0800
From: Kefeng Wang <wangkefeng.wang@...wei.com>
To: Russell King <linux@...linux.org.uk>,
<linux-arm-kernel@...ts.infradead.org>
CC: Catalin Marinas <catalin.marinas@....com>,
<linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Jungseung Lee <js07.lee@...il.com>
Subject: Re: [PATCH 0/2] ARM: fix PXN process with LPAE feature
On 2021/5/29 11:41, Kefeng Wang wrote:
> refactor and cleanup [__do|do]_page_fault, then fix the pxn process
> when lpae feature enabled.
Additional information:
when user code execution with privilege mode, it will lead infinite loop
in the page fault handler if ARM_LPAE enabled, the issue could be
reproduced with "echo EXEC_USERSPACE >
/sys/kernel/debug/provoke-crash/DIRECT"
also I could add a die_kernel_fault() (like arm64 does) to report different
message in different scenes.
Any comments, thanks.
>
> Kefeng Wang (2):
> ARM: mm: Refactor __do_page_fault()
> ARM: mm: Fix PXN process when ARM_LPAE enabled
>
> arch/arm/mm/fault.c | 78 +++++++++++++++++----------------------------
> 1 file changed, 30 insertions(+), 48 deletions(-)
>
Powered by blists - more mailing lists