zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.49k stars 6.42k forks source link

LLEXT - security aspects #76700

Open ceolin opened 1 month ago

ceolin commented 1 month ago

LLEXT has emerged as a popular and powerful feature, enabling greater flexibility and modularity in embedded systems. This functionality allows the dynamic loading and unloading of code at runtime, without the need to reboot the system or recompile the entire kernel.

While it offers significant advantages in flexibility and modularity, it also introduces several security implications that must be carefully managed.

ceolin commented 1 month ago

Some of these items are in the roadmap https://github.com/zephyrproject-rtos/zephyr/issues/71584

teburd commented 1 month ago

Relevant to this discussion are initializer functions seemingly from C++, see #76724

marc-hb commented 1 month ago

We asked some of these questions in the context of SOF but it wasn't the priority: