This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
FreeRTOS-Kernel/include
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>
2022-09-17 00:03:08 +05:30
..
atomic.h Normalize files with mixed line endings (introduced in commit 3a413d1) 2021-06-01 17:55:18 -07:00
croutine.h Replace <pre> with @code - remaining files (#388) 2021-09-07 12:03:12 -07:00
deprecated_definitions.h Normalize files with mixed line endings (introduced in commit 3a413d1) 2021-06-01 17:55:18 -07:00
event_groups.h Add support for MISRA rule 20.7 (#546) 2022-08-19 15:51:57 +05:30
FreeRTOS.h Add support for MISRA rule 20.7 (#546) 2022-08-19 15:51:57 +05:30
list.h Add configUSE_MINI_LIST_ITEM configuration option to enable the MiniListItem_t type. (#433) 2022-01-19 13:12:57 -08:00
message_buffer.h Add support for MISRA rule 20.7 (#546) 2022-08-19 15:51:57 +05:30
mpu_prototypes.h Add callback overrides for stream buffer and message buffers (#437) 2022-06-20 17:48:34 -07:00
mpu_wrappers.h Remove local stack variable form MPU wrappers 2022-09-17 00:03:08 +05:30
portable.h Declare vApplicationMallocFailedHook function in task.h instead in each C heap file (#483) 2022-04-13 10:44:14 -07:00
projdefs.h Normalize files with mixed line endings (introduced in commit 3a413d1) 2021-06-01 17:55:18 -07:00
queue.h Add support for MISRA rule 20.7 (#546) 2022-08-19 15:51:57 +05:30
semphr.h Add support for MISRA rule 20.7 (#546) 2022-08-19 15:51:57 +05:30
stack_macros.h Run uncrustify with github workflows (#369) 2021-07-28 17:53:10 -07:00
StackMacros.h Fix warning message error. (#443) 2022-01-21 10:10:22 -08:00
stdint.readme Normalize files with mixed line endings (introduced in commit 3a413d1) 2021-06-01 17:55:18 -07:00
stream_buffer.h Add support for MISRA rule 20.7 (#546) 2022-08-19 15:51:57 +05:30
task.h Update of three badly terminated macro definitions (#555) 2022-09-08 10:33:41 -07:00
timers.h Clean some spell check words. (#439) 2022-01-07 10:45:58 -08:00