[PATCH 0/2] ARM: fix PXN process with LPAE feature
Kefeng Wang
wangkefeng.wang at huawei.com
Tue Jun 1 06:29:25 PDT 2021
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(-)
>
More information about the linux-arm-kernel
mailing list