Repository navigation
Bootloaders linuxboot
Replaces UEFI DXE with a Linux kernel and userspace.
| Type | OS bootloader (type2) |
| Upstream | https://github.com/linuxboot/linuxboot |
| CVEs attributed | 0 |
| Vulnerability-fixing commits | 0 naming a CVE, 1 keyword-matched |
| CVEs with a linked fix | 0 |
Keeps vendor PEI for silicon init, then runs Linux as the boot environment.
Type 2: it is the OS-loading stage layered on vendor Type 1 firmware.
See Boot-Stages for the eight-stage model these phases map onto.
- vendor firmware PEI -- The platform's existing UEFI firmware runs SEC and PEI to bring up memory.
- DXE replacement -- Most of the DXE volume is removed and replaced with a Linux kernel and initramfs.
- Linux start -- The kernel boots with the drivers the platform needs.
- u-root policy -- The u-root userland runs as init and decides what to boot.
- kexec -- The target OS kernel is loaded and kexec'd.
LinuxBoot is a firmware surgery project: it keeps the vendor's SEC and PEI phases, because memory initialisation is board-specific and often blob-bound, and replaces what comes after with Linux. The consequence for communication is that the UEFI HOB and protocol machinery ends where DXE would have started; from then on the interfaces are the kernel's -- device tree or ACPI, sysfs, standard drivers. Tools in this repository do the splicing on the flash image itself.
The final handoff is a kexec performed by u-root. Because the runtime services a normal UEFI machine would leave behind are largely gone, the OS is booted more like an embedded system than a PC, which is the trade LinuxBoot makes for a much smaller closed-source surface.
Detected in its build configuration and source:
- aslr
- fortify
- rollback protection
- secure boot
- stack protector
See Security-Mechanisms for how these are detected and what a detection does and does not prove.
git -C oss-bootloaders submodule update --init type2/linuxboot
./scripts/analysis/run-tool.sh codeql linuxbootSee Tools for what each tool applies to.
Home · OS bootloader · Tools