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.93k stars 6.65k forks source link

LLEXT - security aspects #76700

Open ceolin opened 3 months ago

ceolin commented 3 months 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 3 months ago

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

teburd commented 3 months ago

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

marc-hb commented 3 months ago

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