Re: [PATCH 0/2] ARM: fix PXN process with LPAE feature
From: Kefeng Wang <hidden>
Date: 2021-06-01 13:29:33
Also in:
lkml
From: Kefeng Wang <hidden>
Date: 2021-06-01 13:29:33
Also in:
lkml
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(-)
_______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel