r/embeddedlinux • u/tenoun • Apr 22 '26
project Android Verified Boot for embedded Linux
I built a toolkit that brings AVB (Android Verified Boot) to Embedded Linux.
Current practice: the root hash sits inside an initramfs that's only verified at an earlier stage. Once in RAM there's a multi-second TOCTOU window before the verity/dmsetup stage fires. JTAG, voltage glitch, DMA outside the IOMMU: overwrite the hash and the kernel is happy with it. No crypto broken but device pwned!
avb-utils brings AVB dm-verity-style to embedded Linux shipped on billions of Android devices, with host signing, target verification tools and PQC ML-DSA support.
View all comments
Show parent comment
2
u/tenoun Apr 23 '26
Exactly what do you describe is the vulnerability: you verify during bootloader and use it many seconds later on, it's called TOCTOU and there are way to bypass secure chain