[PATCH 0/2] um: improve UML page fault handling

Petr Tesarik petrtesarik at huaweicloud.com
Fri Dec 15 04:14:29 PST 2023


From: Petr Tesarik <petr.tesarik1 at huawei-partners.com>

Improve UML handling of segmentation faults in kernel mode. Although
such page faults are generally caused by a kernel bug, it is annoying
if they cause an infinite loop, or panic the kernel. More importantly,
a robust implementation allows to write KUnit tests for various guard
pages, preventing potential kernel self-protection regressions.

Petr Tesarik (2):
  um: do not panic on kernel mode faults
  um: oops on accessing an non-present page in the vmalloc area

 arch/um/kernel/trap.c | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

-- 
2.34.1




More information about the linux-um mailing list