ARM: z_arch_except() is too permissive in user mode #17591
Labels
area: ARC
ARC Architecture
area: Memory Protection
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
Steps to reproduce:
Pull #17589
And run tests/kernel/mem_protect/userspace
All cases need to succeed.
Right now, ARM will accept any reason code.
It should only accept kernel oops, or stack check fail. Other codes should be forced into an oops.
Impact: user mode is able to induce kernel panics, which indicate the entire system needs to be halted. user mode is also able to fake other exception types.
The text was updated successfully, but these errors were encountered: