You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
FreeRTOS-Kernel/portable/RVDS
Gaurav Aggarwal 79704b8213 Remove local stack variable form MPU wrappers
It was possible for a third party that had already independently gained
the ability to execute injected code to achieve further privilege
escalation by branching directly inside a FreeRTOS MPU API wrapper
function with a manually crafted stack frame. This commit removes the
local stack variable `xRunningPrivileged` so that a manually crafted
stack frame cannot be used for privilege escalation by branching
directly inside a FreeRTOS MPU API wrapper.

We thank Certibit Consulting, LLC, Huazhong University of Science and
Technology and the SecLab team at Northeastern University for reporting
this issue.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2 years ago
..
ARM7_LPC21xx Normalize files with mixed line endings (introduced in commit 3a413d1) 4 years ago
ARM_CA9 Normalize files with mixed line endings (introduced in commit 3a413d1) 4 years ago
ARM_CM0 Normalize files with mixed line endings (introduced in commit 3a413d1) 4 years ago
ARM_CM3 fix typo (#399) 3 years ago
ARM_CM4F fix typo (#399) 3 years ago
ARM_CM4_MPU Remove local stack variable form MPU wrappers 2 years ago
ARM_CM7 fix typo (#399) 3 years ago